GATE Computer ScienceHardGATE CS (PYQ pattern)
A latch is made of two cross-coupled NOR gates with active-high inputs S and R. The input pairs (S, R) are applied in order: (1,0), (0,0), (1,1), (0,1), (0,0), (1,1), (0,0), each held long enough to settle. Which statement is correct?
- A. Q = Q̄ at 2 of the 7 steps, and the final Q is 0
- B. Q = Q̄ at 2 of the 7 steps, and the final state is unpredictable
- C. Q = Q̄ at 1 of the 7 steps, and the final state is unpredictable
- D. Q = Q̄ at 2 of the 7 steps, and the final Q is 1
Correct answer: B. Q = Q̄ at 2 of the 7 steps, and the final state is unpredictable
Q: 1 (set), 1 (hold), then (1,1) forces Q = Q̄ = 0, (0,1) resets cleanly to Q = 0, (0,0) holds 0, (1,1) again forces Q = Q̄ = 0. The last step releases both inputs at once from the (1,1) state, so the two NOR gates race and the final state cannot be predicted. Q = Q̄ held at the two (1,1) steps.
More Digital Logic questions
- A clock is high during 0-10, 20-30, 40-50 and 60-70 ns and low otherwise. D starts at 0 with Q = 0, and D changes at 3 ns (→1), 8 (→0), 12…
- An 8-bit adder adds two operands a and b (no carry-in), each treated as an 8-bit two's complement number. Over all 2¹⁶ operand pairs, for…
- An 8-bit adder adds two 8-bit operands a and b with no carry-in, producing the carry-out C8 and the signed (two's complement) overflow…
- A 4-bit ALU computes A − B as A + B' + 1 and sets C (the adder's carry-out) and V (signed two's complement overflow). Over all 256 ordered…
- A 4-bit two's complement adder computes A + B + Cin. Over all 512 combinations of A, B (each −8 to 7) and Cin (0 or 1), for how many is…
- Over one complete cycle of 10 counts (back to the starting state), how many flip-flop toggles in total does (i) a synchronous 4-bit BCD…