FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
5states 4 transitions · 3 final · |Σ| = 2
Non-deterministic: one path per word, all leaving q0. One state has more than one transition on the same symbol (in red).
Hover or tap a word to trace its path. Double circles are final states. Red symbols leave a state on more than one transition.
Transition table
| State | a | b | Nonterminal | |
|---|---|---|---|---|
| → | q0 | {q1, q2} | q4 | S |
| ∗ | q1 | — | — | B |
| q2 | — | q3 | A | |
| ∗ | q3 | — | — | C |
| ∗ | q4 | — | — | D |
→ initial, ∗ final. Empty cells (—) lead to rejection.