GATE CS 2025 Set 1 | Question 60
Digital Logic › Sequential Circuit · NAT · 2 marks · Answer: 7 to 8
- Question 60Digital Logicnat2 marksConsider 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)

Answer: 7 to 8
Solution
Answer: 8 The outputs are connected as a shift register , and the complemented last output feeds back to the first: . This is a 4-bit Johnson (twisted-ring) counter. Starting from the state sequence is:
which visits distinct states ( for flip-flops) before repeating.0000 -> 1000 -> 1100 -> 1110 -> 1111 -> 0111 -> 0011 -> 0001 -> (0000)
More GATE PYQ on Sequential Circuit
All GATE CS Digital Logic PYQ →Attempt GATE CS 2025 Set 1 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →