From Paper 1 (on-screen programming, practice version)
14 marks
Figure 1 is the state transition table for a finite state machine (FSM). S0 is the start state and the only accepting state.
For each input string, state whether it is accepted: (a) 1101 (b) 1001 (c) 111 (d) 0000. Describe in one sentence the language the FSM accepts.
| Current state | Input 0 | Input 1 |
|---|---|---|
| S0 (start, accepting) | S0 | S1 |
| S1 | S1 | S0 |