Finite-State Machine Design

Your answer
Answer & solution
Official answer: B
Step through it (4 options)
Use state s to remember the previous input bit, initialized 0. The next state is therefore t=b. Output1 is permitted only when both the previous and current bits are 1; the first 1 after 0 is suppressed. Thus y=s·b, giving B.
State/input table (s,b)→(t,y) is 00→00,01→10,10→00,11→11. A D flip-flop with D=b stores the preceding input and an AND gate computes y=Q∧b. The reset state Q=0 ensures a leading 1 is suppressed. No lookahead into future input is needed.