Consider the deterministic finite-state automaton (DFA) below over the alphabet {a,b}. The state with a small incoming arrow is the initial state, while a double circle state denotes a final state. The number of states in the MINIMAL DFA for the language accepted by this DFA is:
Tap to open full sizeFigure description
A DFA with three states. State P (single circle, non-final) is the initial state, with an incoming arrow from the left, placed top-left. State Q (double circle, final) is top-right. State R (double circle, final) is bottom-centre. Transitions: P --a--> Q; P --b--> R; Q has a self-loop labelled b; Q --a--> R; R has a self-loop labelled a,b.
- (A)
1
- (B)
2
- (C)
3
- (D)
4