8 marks · CO1 · Apply
Construct a DFA over Σ = {a, b}
Design a DFA to accept strings of a’s and b’s where L = {w : |w| mod 5 = 0}.
Your machine · over {a, b}
Click empty space to add a state. Drag one state onto another to connect them. Double-click a state to make it accepting, right-click it to make it the start. Click an edge to edit its label.
States
| State | Start | Accepting | Actions |
|---|---|---|---|
Transitions (δ)
No transitions yet. Drag from one state to another on the diagram, or use the form above.