GATE EC 2017 Set 2 — Question 43
Go beyond PYQs with Success TrackerAI-powered personalised practice and doubt support. Unlimited practice on eligible plans; AI usage limits apply.NAT+2 / -0MediumSequence DetectorsSequential LogicDigital Circuits
Digital Circuits → Sequential Logic → Sequence Detectors
Last updated
Question
The state diagram of a finite state machine (FSM) designed to detect an overlapping sequence of three bits is shown in the figure. The FSM has an input 'In' and an output 'Out'. The initial state of the FSM is .
If the input sequence is 10101101001101, starting with the left-most bit, then the number of times 'Out' will be 1 is _______

Correct answer
4 to 4
Solution
The state diagram shows that the FSM detects the sequence '101'. Let's trace the input sequence 10101101001101 starting from state :
1.Input 1:
2.Input 0:
3.Input 1: (Out = 1, count = 1)
4.Input 0:
5.Input 1: (Out = 1, count = 2)
6.Input 1:
7.Input 0:
8.Input 1: (Out = 1, count = 3)
9.Input 0:
10.Input 0:
11.Input 1:
12.Input 1:
13.Input 0:
14.Input 1: (Out = 1, count = 4)
The total number of times 'Out' is 1 is 4.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 EC 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 Logic
2026 Set 1 Q20In the circuit shown in the Figure, A and B are logic inputs and Y is the logic output. Which of…2026 Set 1 Q27A binary ripple counter is designed to count to . Which of the following…2026 Set 1 Q35The negative edge triggered JK flip-flop in the Figure has J and K inputs tied to Logic High and a…2026 Set 1 Q42The address of the first location of a 256 kilo byte (KB) memory is . Choose the correct…2026 Set 1 Q45What is the complement of ?