Topic: Theory of Computation
Thompson's construction from a regular expression to an NFA produces an automaton in which
- A. every state has exactly one outgoing edge
- B. the NFA is already deterministic
- C. the number of states is always 2^n
- D. e-transitions are used for union, concatenation and closure, and the NFA has one start and one accept state
Answer: D. e-transitions are used for union, concatenation and closure, and the NFA has one start and one accept state
Explanation: Thompson's construction algorithm systematically converts a regular expression into a Non-Deterministic Finite Automaton (NFA). Its defining characteristics are that it heavily utilizes $\epsilon$-transitions (empty string transitions) to glue together smaller NFAs (for union, concatenation, and Kleene star operations) and guarantees that the resulting NFA has exactly one unique start state and one unique accept state.