GATE 2025 CS (CS1) – Question 60
Consider the given sequential circuit designed using D-Flip-flops. The circuit is initialized with some value (initial state). The number of distinct states the circuit will go through before returning back to the initial state is _________ . (Answer in integer)

Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: 8
Explanation
Feeding the complemented last output back to the first input makes a 4-bit twisted-ring (Johnson) counter. It cycles through 2n = 8 distinct states.