Skip to content
Tape‑n‑Trace
PracticeSearch 26 tools

← All exercises

8 marks · CO1 · ApplyQuestion Bank #4(ii) · Module 1 · Deterministic finite automata

Construct a DFA over Σ = {a, b}

Construct a DFA for L = {w ∈ {a,b}* : |w| mod 3 = 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.

q0

States

StateStartAcceptingActions

Transitions (δ)

No transitions yet. Drag from one state to another on the diagram, or use the form above.

Hints1 available