GATE Computer ScienceHardGATE CS (PYQ pattern)
A synchronous circuit has two D flip-flops with D1 = X ⊕ Q2 and D2 = Q1 ⊕ X, and output Z = Q1·Q2'. It starts at Q1Q2 = 00. Which statement is true?
- A. Only 00 and 11 are reachable, so Z stays 0 for every input sequence
- B. Z becomes 1 after any input sequence that starts with 10
- C. All four states are reachable, but Z = 1 needs at least three clocks
- D. Only 00 and 01 are reachable, so Z stays 0 for every input sequence
Correct answer: A. Only 00 and 11 are reachable, so Z stays 0 for every input sequence
From 00: next = (X, X), i.e. 00 or 11. From 11: next = (X ⊕ 1, 1 ⊕ X) = (X', X'), again 00 or 11. So the set {00, 11} is closed and Q1 = Q2 always; the state 10 needed for Z = 1 is never reached, whatever the input.
More Digital Logic questions
- A single 2:1 multiplexer (output = s ? y : x) has each of its three inputs connected to one of 0, 1, a or b (no inverters). How many…
- A 128-to-1 multiplexer is built as a tree of 4-to-1 multiplexers only (unused data and select inputs may be tied to constants). What is…
- A 17-input XOR (parity) function is built only from 3-input XOR gates (no 2-input gates). What are the minimum number of gates and the…
- A 1.2 MHz clock drives a mod-5 counter whose most significant output (high for 1 of every 5 counts) clocks a 4-flip-flop Johnson counter…
- A 5-bit Johnson counter Q4Q3Q2Q1Q0 shifts right (Q3 ← Q4, …, Q0 ← Q1) with Q4 ← Q0' and starts at 00000. Each of its 10 states is decoded…
- Flip-flops FF1 and FF2 form a loop: logic of 4.0 ns (max) from FF1 to FF2 and 3.2 ns (max) from FF2 back to FF1. Clock-to-Q is 1.1 ns and…