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?
- A. 27
- B. 22
- C. 16
- 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
- F = AB + B'C is realised as a two-level NAND-NAND circuit. With A = C = 1, input B changes from 1 to 0 and the output momentarily glitches…
- A sequence detector must output 1 whenever the last four input bits are 1011, with overlapping occurrences allowed. What are the minimum…
- An 8-bit ALU adds the two's complement numbers A = 10110110 and B = 11001101. What are the carry-out C and the signed-overflow flag V of…
- A 4:1 multiplexer has A as the MSB select and B as the LSB select. To realise f(A,B,C) = Σm(0, 3, 5, 6, 7), the data inputs (I0, I1, I2…
- A 4-bit shift register Q3 Q2 Q1 Q0 shifts left on every clock: Q3 ← Q2, Q2 ← Q1, Q1 ← Q0 and Q0 ← Q3 ⊕ Q1 (the feedback taps correspond to…
- A 4-bit left-shifting register uses XNOR feedback: Q0 ← XNOR(Q3, Q2), with Q3 ← Q2, Q2 ← Q1, Q1 ← Q0. Starting at 0000, after how many…