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

Discussion

Assertion (A): The subset construction can in the worst case produce exponentially many states.
Reason (R): Each state of the deterministic automaton corresponds to a subset of the states of the nondeterministic one.

  • A.Both A and R are true, and R is the correct explanation of A
  • B.Both A and R are true, but R is not the correct explanation of A
  • C.A is true but R is false
  • D.A is false but R is true

Answer: A

Both are true and the reason gives the mechanism, and the blow-up is rarely seen with real token definitions. Only reachable subsets are built, and the structure of typical lexical patterns keeps that number close to the size of the original automaton.

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

Post your comment

Please log in or register to post a comment.