Selfstudys Com File
Selfstudys Com File
Directions for questions 1 to 25: Select the correct alterna- If the counter starts from reset, the above configuration
tive from the given choices. works as
1. The ripple counter shown in figure works as a (A) Modulo – 2n twisted ring counter
(B) Modulo – n ring counter
(C) Modulo – 2n Johnson counter
(D) Modulo – 2n ring counter
J A J B J C 6. Consider the following circuit with initial state Qo= Q1
clk = 0. The D flipflops are positive edge triggered.
K A K B K C X
1 1 1 D Q D Q Y
preset preset
preset clk Q
X X
clk (A)
Y (B)
In this circuit, the race around condition (C)
(A) does not occur (D)
(B) occurs when clk = 0 7. Six JK Flip flops are cascaded to form the circuit shown
(C) occurs when clk = 0, A = 1 and X = Y = 1 in figure. Clock pulses at a frequency of 128 kHz are
(D) occurs when clk = 1, A = 1 applied as shown, The frequency (in kHz) of the wave
3. Three, modulo-4 counters are cascaded together then form at Q4 is ___________.
the resultant counter modulus is
(A) 3 × 4 (B) 34
(C) 4 × 4 × 4 (D) 3 + 4
1 T Q T Q 1 T Q 1 T Q 1 T Q
4. Which of the following flipflop configuration works as 1
1 T Q
T flip flop?
J Q clk
T
D Q (A) 32 kHz (B) 16 kHz
(A) Q
(B) T
K
clk Q (C) 8 kHz (D) 4 kHz
clk
8. The following truth table has to be realized with D flip
J Q
flop.
T D Q
(C) T (D) XY Qn+1
K Q
clk Q 00 Qn
clk 01 1
5. ‘n’ bit Binary UP counter is connected to n × 2n 10 0
Demultiplxer with input I = 1, as shown in the figure.
11 Qn
reset
Q0 S0 X Combin D Q
Q1 S1
ational
n × 2n
n bit logic
Demultiplexe output
Binary UP circuit
Y Q
clk Qn-1 Sn-1 I
1 clk clk
3.200 | Digital Circuits Test 4
E1 E2 E3 RD
11 11
00 00 O7 WR
MSB
C O W
A13 3 to 8
(A) 01 10 (B) 10 01 A12 Decoder O
A11 3 R/W memory
O0 A10 2048 × 8
00
10
A0
Data
(C) 01 11 (D) None of these lines
D7 D0
11. The following program is intended to clear mem- A R/W memory is interfaced with 8085 microprocessor
ory locations starting from memory address 0000H. as shown. What is the range of memory map connected
How many memory locations will be cleared? to O3 line.
(A = 01H) (A) 6800 – 6FFFH (B) 9000 – 98FFH
LXI H, 0010H (C) 9800 – 9FFFH (D) 2300 – 2FFFH
ORA A 15. If we use all output lines (O7 – O0) of the above decoder
loop: MVI M,00H circuit to select eight memory chips of the same size
DCX H (2048 × 8). What is the total range of the memory map?
JNZ loop (A) 8000 – BFFFH (B) 9000 – CFFFH
HLT (C) 7000 – AFFFH (D) 0800 – ABFFH
Digital Circuits Test 4 | 3.201
16. The following program get a data byte Byte 1 to 22. The waveforms of a counter are shown below, this is a
Accumulator, then the output at PORT address
1 2 3 4 5 6 7 8 9 10
01H is? clk
MVI A, Byte 1
ORA A Q
JM OUTPUT
OUT 01H Q
HLT Q
OUTPUT: CMA
ADI 01H
OUT 01H Q
HLT
(A) positive numbers except 00H, 01H
(B) negative numbers (A) synchronous BCD counter
(C) negative numbers except 00H, 01H (B) ripple counter
(D) positive numbers and negative numbers 2’s (C) ring counter
complement (D) twisted ring counter
17. Which one of the following is not true during the exe- 23. Symmetrical square wave of time period 200 µs can be
cution of an interrupt service routine, which does not obtained from square wave of time period of 20 µs by
contain any EI instruction? using a
(A) The µP can be interrupted by a non maskable (A) 4-bit binary counter
interrupt (B) divide by 5 counter
(B) The µP cannot be interrupted by any interrupt (C) BCD counter
(C) The µP cannot be interrupted by a maskable (D) divide by 5 counter followed by a divide by 2
interrupt counter
(D) All interrupts except the non maskable interrupt
are disable. 24. The outputs Q and Q of a master slave SR flipflop are
connected to its R and S inputs respectively. What hap-
18. Match with the semiconductor technology used for
pens to output Q when clock pulses are applied.
fabrication
(A) permanently 0
List-I List-II (B) permanently 1
P. dynamic RAM 1. bipolar technology (C) fixed 0 or 1
Q. static RAM 2. MOS technology (D) complementing with every clock pulse
R. EPROM 3. either bipolar or MOS technology 25. A 3 bit gray counter is used to control the output of the
multiplexer as shown in figure, the initial state of the
(A) P – 2, Q – 1, R – 2 (B) P – 1, Q – 2, R – 3 counter is 000. The output is pulled high, the output of
(C) P – 2, Q – 3, R – 2 (D) P – 2, Q – 1, R – 3 the circuit follows the sequence
19. The resolution of a D/A converter is approximately 0.4
A2
percent of its full scale range. It is 3 bit Gray
(A) an 8 bit converter (B) a 10 bit converter Counter A1 5V
(C) a 12 bit converter (D) a 16 bit converter A0
S0 S1 R
E
20. For a 12 bit A/D converter the range of input signal 4×1
is 0 to +10V. The voltage corresponding to 1 LSB will I0 0 MUX o/p
be Clk
I1 1
(A) 0 (B) 0.0012V I2 2
(C) 0.0024V (D) 0.833V 3
I3
21. A D/A converter has 5 V full scale output voltage and
an accuracy of + 0.2%, the maximum error for any out- (A) 1, I0, I1, 1, 1, I3, I2, 1, 1
put voltage will be (B) I0, 1, 1, I1, I3, 1, 1, I2, I0
(A) 5 mV (B) 10 mV (C) I0, 1, I1, 1, I2, 1, I3, 1, I0,
(C) 20 mV (D) 30 mV (D) 1, I0, 1, I1, I2, 1, I3, 1, I
3.202 | Digital Circuits Test 4
Answer Keys
1. D 2. D 3. C 4. D 5. D 6. A 7. D 8. A 9. C 10. B
11. D 12. C 13. B 14. C 15. A 16. D 17. B 18. C 19. A 20. C
21. B 22. D 23. D 24. D 25. B
When X = 0, C will return to state A = 01 So contents of flag register were made reset.
Choice (C) Choice (B)
10. Let us consider states as AB if initially state of the cir- 14. For the decoder to be enabled E2 = AM = 0, E3 = A15 = 1,
cuit is 00 (reset) E1 = IO/ M = D for memory operation
TA TB Address range is to select O3, A13 A12 A11 – 011
Clk AB
(A + B) (A + B)
1
A15 A14 A13 A12 A11 A10 A9 A8 A7 ......... A0
0 00 If initially at 00 state, 1 0 0 1 1 0 0 0 0…..0 → 9800H
0 1
1 01 after 3 Clk pulses it
1 1 1 0 0 1 1 1 1 1 1…..1 → 9FFFH
2 10 comes back to same
1 0
3 00 state 00. Choice (C)
If initial state is 11, it 15. Eight memory chips are used each of size 2048 × 8
0 11
1 1 goes to 00 state after
1 00 ⇒ 2k Bytes
clock pulse
So total size = 8 × 2k = 16k Bytes
11 Oo will be selected when A13 A12 A11 are 000 and 07 will
00
be selected when A13 A12 A11 are 111. The range can be
known by the first address of memory connected to O0
10 01 to last address of memory connected to 07