GATE Computer ScienceHardGATE CSE

A 6-bit Johnson counter Q0…Q5 starts at 000000 and shifts right on each clock, feeding the complement of Q5 into Q0. What is Q0Q1Q2Q3Q4Q5 after 20 clock pulses?

  1. A. 001111
  2. B. 111000
  3. C. 000111
  4. D. 110000

Correct answer: A. 001111

The sequence has period 12, so 20 pulses equal 8 pulses; after 8 pulses the state is 001111.

More Digital Logic questions

Exams that ask this topic