GATE CS 2018 Set 1 — Question 32
Go beyond PYQs with Success TrackerAI-powered personalised practice and doubt support. Unlimited practice on eligible plans; AI usage limits apply.NAT+1 / -0MediumFlip-Flops (JK, T, D)Sequential CircuitsDigital LogicFSM Design
Digital Logic → Sequential Circuits → Flip-Flops (JK, T, D)
Last updated
Question
Consider the sequential circuit shown in the figure, where both flip-flops used are positive edge-triggered D flip-flops.
The number of states in the state transition diagram of this circuit that have a transition back to the same state on some value of “in” is _____.

Correct answer
2 to 2
Solution
Let the states be . From the circuit diagram, we can derive the next-state equations for the D flip-flops:
Substituting the equations:
This equation holds true if and only if . When , the condition must be satisfied. The states that satisfy are and .Therefore, there are 2 states that have a transition back to themselves (both occurring when the input is 0).
- , so
- , so
Substituting the equations:
1.
2.
From (1), we substitute for in (2):This equation holds true if and only if . When , the condition must be satisfied. The states that satisfy are and .Therefore, there are 2 states that have a transition back to themselves (both occurring when the input is 0).
Continue learning with Success Tracker
A step still unclear? Work through it with support
Use Success Tracker to ask about the reasoning, then try another GATE CS question to check your understanding.
AI-powered practice· Unlimited practice on eligible plans
- PYQs with solutions
- Attempt available previous-year questions, then compare your reasoning with the worked solution. Coverage varies by stream.
- Practice that adapts
- Choose a topic, work on weaker areas and bookmark questions to revisit. Your attempts feed your progress tracking.
- AI doubt support
- Ask follow-up questions about a step or concept while practising, instead of stopping at the final answer.
Unlimited practice is available on eligible plans. Free practice and AI usage have limits; check the current plan allowances before choosing.
This page stays readable without an account. AI responses can be wrong; check them against the solution and source material.
More questions on Sequential Circuits
2026 Set 2 Q16Which one of the following options is not a property of Boolean Algebra? Note: is OR…2026 Set 1 Q21Consider the following Boolean expression of a function :…2026 Set 1 Q22Consider the 8-bit signed integers and represented using the sign-magnitude form. The…2026 Set 2 Q28In a system, numbers are represented using 4-bit two’s complement form. Consider four numbers…2026 Set 2 Q34The 32-bit IEEE 754 single precision representation of a number is . The number…