wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

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

Open in App
Solution

The state diagram which represents the given sate table is :

From state A to reach C, the shortest sequence is

A0B0C

A1D0C

From B to reach C

B0C

B1B0C

From C to reach C

C0D0C

C1B0C

From D to reach C

D0C

D1B0C

So 10 is the shortest input sequence to reach the final state C, whatever be the initial state.

flag
Suggest Corrections
thumbs-up
0
similar_icon
Similar questions
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Angle Bisector
Watch in App
Join BYJU'S Learning Program
CrossIcon