GATE Computer ScienceModerateGATE CS (PYQ pattern)

A J-K flip-flop has its inputs driven by J = X and K = X ⊕ Q, where Q is its own output. As seen from the input X, the circuit behaves as

  1. A. a T flip-flop with T = X
  2. B. a D flip-flop with D = X'
  3. C. a D flip-flop with D = X
  4. D. a T flip-flop with T = X'

Correct answer: C. a D flip-flop with D = X

Q = 0: Q⁺ = J = X. Q = 1: Q⁺ = K' = (X ⊕ 1)' = X. In both cases Q⁺ = X, so it is a D flip-flop with D = X. Treating K = X ⊕ Q as if Q were 0 suggests J = K = X, a T flip-flop, which is wrong.

More Digital Logic questions

Exams that ask this topic