A finite state machine with the follows state table has a single input X and a single output Z.
Present state |
Next state, z |
next state, z |
|
x=1 |
x=0 |
A |
D,0 |
B,0 |
B |
B,1 |
C,1 |
C |
B,0 |
D,1 |
D |
B,1 |
C,0 |
It the initial state is unknown, then the shortest input sequence to reach the final state C is