Skip to content
Tape‑n‑Trace
PracticeSearch 26 tools

← All exercises

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

Construct a DFA over Σ = {a, b}

Design a DFSM for L = {w ∈ {a,b}* : w contains an odd number of a's and an even number of b's}.

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.

Hints2 available