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?

  1. A. Only 00 and 11 are reachable, so Z stays 0 for every input sequence
  2. B. Z becomes 1 after any input sequence that starts with 10
  3. C. All four states are reachable, but Z = 1 needs at least three clocks
  4. 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

Exams that ask this topic