Machine-translated by Google. Questions are authored in English.
Top

Discussion

The Thompson construction converts

  • A.a context free grammar into a pushdown automaton
  • B.a regular expression into a nondeterministic finite automaton
  • C.a nondeterministic automaton into a fully deterministic one
  • D.a deterministic automaton into its own minimal equivalent

Answer: B

Correct answer: a regular expression into a nondeterministic finite automaton

Thompson’s construction builds an NFA piece by piece from the structure of the expression, giving each operator - union, concatenation, closure - a small fixed pattern of states joined by epsilon transitions. The result is nondeterministic; the subset construction is the separate step that makes it deterministic, and minimisation a third.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.