GATE Computer ScienceVery hardGATE CS
A 5-bit Johnson (twisted-ring) counter shifts right with Q4 ← NOT Q0 (and Q3 ← Q4, Q2 ← Q3, Q1 ← Q2, Q0 ← Q1) and has no self-correction logic. Looking at all 32 possible states, what is the pair (total number of distinct cycles in the state diagram, length of the shortest cycle)?
- A. (3, 10)
- B. (4, 5)
- C. (4, 2)
- D. (2, 10)
Correct answer: C. (4, 2)
The 32 states split into three 10-state cycles (one is the valid Johnson sequence) and one 2-state cycle 01010 ↔ 10101. A counter that powers up in any other cycle never reaches the valid sequence, so there are 4 cycles and the shortest has length 2.
More Digital Logic questions
- F(A,B,C,D) = Σm(0, 1, 5, 7, 8, 10, 14, 15). Let P be the number of prime implicants of F and M the number of different minimal…
- Two Boolean functions of three variables are NPN-equivalent if one becomes the other by permuting inputs, complementing some inputs and…
- A Moore machine has states 0 to 7 (start state 0), input alphabet {0, 1} and next-state function δ(s, 0), δ(s, 1): 0:(5,7); 1:(3,2)…
- A cyclic redundancy check uses the generator polynomial x⁴ + x + 1 (bit pattern 10011). The message 110100111011 is followed by four zero…
- An 8-bit binary counter and an 8-bit Gray-code counter each count up from 0 to 200 (200 increments). Every change of a stored bit is one…
- A synchronous circuit is a ring of 7 combinational blocks with delays 5, 3, 6, 2, 4, 7 and 1 ns around the ring, with 3 registers (ignore…