The state diagram shown is an FSM for detecting an overlapping three-bit sequence. Its input is In, output is Out, and initial state is S0. For input sequence 10101101001101, read from the left-most bit, the number of times Out is 1 is ________.
The output-one transition is S2 to S3 on input 1. Reaching S2 means the recent input suffix is 10, so that transition detects 101.
S3 retains the relevant suffix after detection, allowing overlapping matches rather than restarting without memory.
In 10101101001101, the substring 101 ends at bit positions 3, 5, 8 and 14, counting from one. Each produces one output pulse. Thus Out equals one **4 times**.
More Sequential Circuits questions
GATE 2016 EC (EC2) Q27– All gates in the shown circuit are ideal. R=10\ k and the supply is 5 V. D1–D5 start with…
GATE 2016 EC (EC2) Q54– The figure shows a finite-state machine with states A, B and C and binary inputs X,Y,Z.…
GATE 2016 EC (EC3) Q55– In the circuit shown, the bubbled NAND gate delay is 2 ns and the counter delay is zero.…
GATE 2026 EC Q27– A binary ripple counter is designed to count (0) 10 to (64) 10. Which of the following…
GATE 2026 EC Q35– The negative edge triggered JK flip-flop in the Figure has J and K inputs tied to Logic…
GATE 2026 EC Q49– A shift-left Shift Register (SR) and a D flip-flop are connected to a synchronized clock…