Exam-style question
Try this first
An FSM has states A and B. Its transition table is: from A, input 0 leads to B and input 1 leads to A; from B, input 0 leads to A and input 1 leads to B. If the FSM is in state A and receives input 0, what is the next state?.
- A.A
- B.B
- C.The FSM stops
- D.The FSM produces output 0
Model answer
What a good answer should say
- B
Explanation
Why this works
The table specifies that input 0 takes the FSM from state A to state B. This is an FSM with no output, so the transition changes the state without producing an output.
Common mistake
No common mistake is linked to this question yet.
