GATE Computer ScienceHardGATE CS

A 5-bit Johnson (twisted-ring) counter is reset to 00000 and clocked continuously with the feedback Q4' → D0. How many of the 32 possible 5-bit states are never visited in this normal operation?

  1. A. 27
  2. B. 22
  3. C. 16
  4. D. 10

Correct answer: B. 22

An n-bit Johnson counter has 2n = 10 states in its cycle. The remaining 32 − 10 = 22 states form unused (lock-out) sequences; 27 would be the answer for a 5-bit ring counter (32 − 5).

More Digital Logic questions

Exams that ask this topic