GATE Computer ScienceVery hardGATE CS (PYQ pattern)

A synchronous counter uses three J-K flip-flops Q2Q1Q0 with J2 = Q2'Q1', K2 = Q1', J1 = Q2'Q1', K1 = Q2Q1, J0 = 1, K0 = Q0. Starting at 000, how many distinct states are visited before the sequence repeats, and what happens in the other states?

  1. A. 6 states; the unused states 010 and 011 both go to 000 on the next clock
  2. B. 8 states; it is a full-length counter
  3. C. 6 states; 010 goes to 011 and 011 returns to the main sequence
  4. D. 6 states; the unused states 010 and 011 form their own 2-state loop

Correct answer: D. 6 states; the unused states 010 and 011 form their own 2-state loop

Simulating all 8 states gives next states 000→111→100→001→110→101→000, so 6 states in the main cycle. The unused states map 010 → 011 and 011 → 010, a separate 2-state loop, so the counter is not self-starting.

More Digital Logic questions

Exams that ask this topic