A finite state machine with the following state table has a single input and a single out .
If the initial state is unknown, then the shortest input sequence to reach the final state is:
GATE CSE 1995Digital Logic › Sequential Circuits & CountersVerified
(B) 10 10 10
The table defines the next state of the finite state machine for each input symbol. Since the initial state is unknown, the input sequence must force the machine to state C from every possible starting state A, B, C, and D. Test the options as synchronizing sequences and choose the shortest one that works.
The sequence 10 is a synchronizing sequence: first 1 maps every possible state to {B,D}, and the subsequent 0 maps both B and D to C. It is shorter than the other working option, 110.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.