Definition and examples.
| state | 0 | 1 |
|---|---|---|
| $s_0$ | $s_0$ | $s_1$ |
| $s_1$ | $s_0$ | $s_2$ |
| $s_2$ | $s_0$ | $s_3$ |
| $s_3$ | $s_3$ | $s_3$ |
grep.Definition and examples.
Basic transitions on N (nickel), D (dime), B (Butterfinger), and S (Snickers).
Adding output to states: N (nickel), B (Butterfinger), and S (Snickers).
Add transitions to cover all symbols for each state.