Selfstudys Com File
Selfstudys Com File
Directions for questions 1 to 35: Select the correct alterna- (A) PQ + QR (B) PQR + QR
tive from the given choices.
(C) PR + QR (D) PQ + R
1. The following flip flop is
7. The max term expression of a four variable even
A S Q
function is
clk
(A) π M (0, 2, 4, 6, 8, 10, 12, 14)
B R Q (B) π M(1, 3, 5, 7, 9, 11, 13, 15)
(C) π M (0, 3, 5, 6, 9, 10, 12, 15)
(A) D flip flop when A = 0
(D) π M (1, 2, 4, 7, 8, 11, 13, 14)
(B) D flip flop when A = B
(C) T flip flop when A = 0 8. Find which of the following is not a minimum sum of
(D) T flip flop when A = B the products expression for f(w, x, y, z)
2. The flip flops used in this circuit are master slave JK = Σm(0, 3, 5, 7, 8, 9, 10, 12, 13) + d(1, 6, 11, 14)
flip flops. If the counter is initially at reset state after (A) wz + x y + wx + yz (B) wx + w y + x y + wz
how many clock pulses it gets reset?
(C) x y + wz + wz + yz (D) wz + x y + w y + wz
Jo Qo J1 Q1 9. The input clock frequency is 10kHz, then the
clk clk frequency of Y is (initially Q = 0)
1 Ko Qo K1 Q1 1 J Q Y
clk clk
K Q
(A) 2 (B) 3
(C) 4 (D) 1
3. (A) 5 kHz (B) 10 kHz
(C) 2.5 kHz (D) 0 Hz
S Q0 S Q1 S Q2 10. A Hexa Decimal Number X is converted to binary
initially, then all zero and one’s are interchanged with
R Q0 R Q1 R Q2
1’s and 0’s. Then it was incremented by 1 in binary,
finally the binary number was converted back to Hexa
clk Decimal again, this number is
(A) 15’s complement of X.
The above counter shown has initial state Q2 Q1 Q0 = (B) 16’s complement of X + 1.
111(7), then the next states are? (in decimal) (Q2 Q1 Q0) (C) 15’s complement of X + 1.
(A) 7621435 (B) 7352614 (D) 1’s complement of X.
(C) 7324165 (D) 7514236
11. The minimum decimal equivalent of the number
4. If a ≤ b, which of the following is true (21A)x is
(P) a1 + b = 1 (Q) a1≤b1 (A) 538 (B) 1032
(R) ab = 0
1
(C) 263 (D) 220
(A) P, Q (B) P, R
(C) Q, R (D) P, Q, R 12. If (3.5)base 6
+ (2.3)base 6
= (X)base 6
then the value
of X is
5. If a = (b + c) (b1 + c1), then the value of b is
(A) 5.8 (B) 10.2
(A) (a1 + c) (a + c1) (B) a1c + ac1
(C) 6.2 (D) 5.6
(C) a c + a c
1 1 1
(D) (a1 + c1)(a + c1)
13. A number in 4 bit two complement signed representa-
6. Calculate switching function realized by this network
tion is a3 a2 a1 a0. The same number, when stored using
in minimized SOP form.
8 bits will appear like.
P (A) 0000 a3 a2 a1 a0
Q
(B) a3 a3 a3 a3 a3 a2 a1 a0
f (C) a3a2a1a0a3a2a1a0
R (D) a3a3a3a3a3a2a1a0
Digital Circuits Test 2 | 3.187
(A) 3 (B) 4
(C) 5 (D) 6
18. A 5 × 32 Decoder can be constructed by using
S1: four 3 × 8 Decoders and one 2 × 4 Decoder (A) 1 bit counter
S2: five 2 × 4 Decoders (B) 1 bit memory element
S3: eight 2 × 4 Decoders, one 3 × 8 Decoder (C) 1 bit DRAM cell
S4: four 3 × 8 Decoders (D) 1 bit buffer
Consider all the decoders are having enable input. 23. How many number of 256 × 8 bit RAMs are required to
(A) S1, is true alone (B) S1, S3, S4 are true build 1kB × 16 RAM?
(C) S2, S3 are true (D) S1, S3 are true (A) 5 (B) 6
19. A digital to analog converter accepts 12 input bits, (C) 4 (D) 8
i.e., has a resolution of 12 bits, and provides an output 24. A 2048 × 8 bit memory element is interfaced with 8085
which is 12V maximum. microprocessor, if the address of first memory location
3.188 | Digital Circuits Test 2
33. The function f2(A, B, C) in POS form is 34. If the counter is initially at reset state, the total number
(A) B + A (B) A + C states are (i.e., modulus of counter is)
(A) 6 (B) 5
(C) B + C (D) A + C (C) 7 (D) 8
Statement for Linked Answer Question 34 and 35: 35. Initially ABC is 100 then next state of the counter
is?
C1 C B1 B A1 A (A) 100 (B) 101
(C) 111 (D) 110
TC TB TA
clk
C B
C1 B1 C B C B1 C1 A
Answer Keys
1. D 2. B 3. C 4. B 5. B 6. C 7. D 8. A 9. B 10. C
11. C 12. B 13. D 14. B 15. D 16. B 17. A 18. D 19. B 20. C
21. A 22. B 23. D 24. D 25. C 26. D 27. D 28. C 29. D 30. B
31. D 32. B 33. C 34. B 35. C
4. If a ≤ b then yz
wx 00 01 11 10
a b a1 + b ab1 00 1 X 1
0 0 1 0
01 1 1 X
0 1 1 0
1 1 1 0 11 1 1 X
When we are extending the number of bits, the sign by using one 3 × 8 Decoder.
of the number should not change, so all negative num- So valid statements are S1 and S3. Choice (D)
bers will be appended with 1’s and all positive numbers 19. The LSB (Least Significant Bit) would be no longer be
will be appended with 0’s. So the same MSB will be significant if ∆V is more than LSB value.
repeated for extra bits on left hand side. So here max output is = 12V.
Choice (D) Maximum input we can apply (12 bit) = 212 – 1
14. Given circuit is Demultiplexer 12
So resolution = 12 = 2.93 mV
Output equation are Y0 = I S 1 S 0 2 −1
Value of LSB = 2° × resolution = resolution = 2.93mV.
Y1 = I S 1 S0
Choice (B)
Y2 = I S1 S 0 20. The S2 S1 S0 are lower order bits, S5 S4 S3 are higher
Y3 = I S1 S0 order bits so the current due to bits S2 S1 S0 should be
one eighth of the current due to S5 S4 S3.
F(a, b) = Y 0 .Y 3 = Y0 + Y3 = 1.a b + 1.ab
1 1
The resistor r has been inserted to provide the attenu-
= a1 b1 + ab = (a1 + ab)(b1 + ab) ation.
By applying x + yz = (x + y)(x + z) Such attenuation, is possible when r = 4R. Choice (C)
= (a1 + b)(a + b1) Choice (B) 21. Given circuit is a DAC. (R – 2 R type)
15. If the output of the circuit is F then F(x, y, z) = Σ(1, 2, So the voltage at non inverting terminal is
4) + f d(6, 7) in the given range 000 to 101, only for V
V+ = Rn (S × 20 + S × 21 + S × 22 + S × 23)
inputs 001, 010, 100 output is 1 (min terms) 110, 111 2 0 1 2 3
= a1 + b1
Output of 2nd MUX Y2 = 1.a + 1.a1 = 1
Output of 3rd MUX F(a, b, c) = Y1.c + Y2.c1 it forms a 1 bit memory element.
= (a1 + b1)c + 1.c1 = a1 + b1 + c1 Choice (B) 1 bit buffer will have 1 input and 1 output
17. Given function has to be in SOP form, so it can Because of feedback connection it will work like basic
be implemented by AND-OR gates, same as memory element latch,
NAND-NAND gates This is the basic structure in SRAM cell, Dynamic
f(a, b, c, d, e) = (a + b1)c + cd1 + (d1 + e) RAM requires only 1 MOSFET for 1 bit storage, as the
= ac + b1 c + cd1 + d1 + e bit will be stored in gate capacitance. Choice (B)
a required memory
a c 23. No. of memory elements =
b Available memory
b1 b1
c = c 1kB × 16 1024 × 16
= = = 8 Choice (D)
d1 d 256 × 8 256 × 8
e e1
24. Address of last memory location – Address of first
= ac + b1 c + d1 + e Choice (A) Memory location
18. 5 × 32 Decoder has 32 outputs, we can built 32 outputs = (Number of address locations – 1)
By using four 3 × 8 Decoders, and again one of these Here given RAM number of address locations = 2048
four 3 × 8 Decoders can be selected by using a 2 × 4 (2048)10 = 0800H
Decoder 0800H – 1 = 07FFH
Similarly we can build 32 outputs by using eight 2 × 4 X – 0900H = 07FFH
Decoders, and one of these 8 Decoders can be selected X = 07FF + 0900H = 10FFH Choice (D)
3.192 | Digital Circuits Test 2
25. The given circuit is flash type ADC, and the Digital cir- 30. MVI A, 69H → A = 69H
cuit is priority Encoder. So when Y1(MSB) = 1, then CMA → complement Accumulator
output can be 11 or 10 so input X3 has to be present or Now A = 96H
if not X3, X2 has to be there Y1 = X3 + X 3 X2 = X3 + X2 MOV B, A → Copy A to B → B = 96 H
(Priority Encoder equation) Choice (C) STC – set carry CY = 1
CMC – complement carry CY = 0
26. Basic TTL gate is NAND gate, and TTL has wired RAR – rotate arithmetically right (Accumulator)
AND operation. 0 0
So given circuit is like 1 0 0 1 0 1 1 0→ 0100 1011
a RAR – rotate arithmetically right (Accumulator)
b 0 0
(ab)1.(cd)1 = (ab + cd)1
or (a1 + b1)(c1 + d1) 0 1 0 0 1 0 1 1→ 0 0 1 0 0 1 0 1
c XRA B – XOR B with Accumulator store in Accumula-
d tor
A=00100101
Choice (D)
B = 1 0 0 1 0 1 1 0 (XOR)
27. Noise Margin 10110011
∆1 = –0.76 – (–1.1) = 0.34V A = 10110011, CY = 0 (logical operation) Choice (B)
∆0 = –1.25 – (–1.58) = 0.33V
31. MVI A, Byte1 → A = Byte1, copy number to A.
Noise margin is min (∆0, ∆1) = 0.33V.
ORA A – make A + A = A, contents of Accumulator
I OH 3mA remain same but CY = 0, and other flags will change as
Fanout:- N1 = = = 28
I IH 107µA per number in Accumulator.
I OL 3.7mA JM output – Jump on minus to output port if S = 1 go
N0 = = = 27 to output.
I IL 137µA
XRA A – else XOR A with A, A ∑ A = 00H
Fanont = min (N1, N0) = 27 Choice (D) A = 00H
28. As the above programs ends at memory location OUT port → send the contents of Acc to output port
400DH, the address of next memory location is 400EH, HLT – stop.
which will be stored in Program Counter at the end of So if there is any negative number it will be the output
the program. or zero is the output. Choice (D)
L X I SP, 5000H → load SP = 5000H 32. Given is a 3 × 8 Decoder with two 2 × 4 Decoders, and
L X I H, 5050H → load HL = 5050H a NOT gate, LSB are connected to inputs of Decoder
SPHL → move HL to SP, so SP = 5050H (B1 B0 = BC), MSB (A) is connected to check which
PUSH H → SP decremented by 2 (SP – 2) decoder has to be selected by using enable input, When
PUSH B → SP decremented by 2 (SP – 4) A = 0, first Decoder will be selected, when A = 1, sec-
CALL 4050H → after call instruction, again returned ond decoder will be selected.
to next instruction, so no charge for SP. f1 is connected through NOR gate
POP H → increment SP by 2 (SP – 4 + 2) = SP – 2
HLT – stop =
So contents of stack pointer are 5050-2 = 504EH.
Choice (C)
outputs of Decoder (here active High outputs) are min
29. For the chip select to get enable CS = 0. terms, min terms connected to NOR gate.
Nand gate output = 0, when inputs are 1 and 1. f1 = πM(1, 3, 4, 5, 7) = Σm(0, 2, 6) because in second
So Exor operation of A2, A3 and A4, A5, A6, A7 should decoder A = 1, BC vary as per inputs applied so 4, 5, 6,
be 1. 7 are output of second decoder (min terms)
exor operation gives output 1, when input is having odd f1
number of 1’s BC
A 00 01 11 10
A7 A6 A5 A4 A3 A2 A1 A0
1 1 1 0 1 0 x x → E 8 – EB H 0 1 1
1 1 1 0 0 1 x x → E 4 – E7 H f1 = AC + BC
1 1
……………………………………………………..
0 0 0 1 0 1 x x → 14 – 17 H
Choice (B)
0 0 0 1 1 0 x x → 18 – 1B H
In this way many ranges we will get 33. f2 is connected to OR gate, so sum of min terms
as per options 44 – 47H Choice (D) f2 = Σm(0, 2, 3, 4, 6, 7) = πM(1, 5)
Digital Circuits Test 2 | 3.193
f2 BC Clk QA QB QC TA TB TC
A 00 01 11 10
0 0 0 0 0 0 1
0 0 1 0 0 1 1 1 0
2 1 1 1 1 0 1
1 0
3 0 1 0 1 0 0
4 1 1 0 1 1 0
(
f2 = B + C ) 5 0 0 0