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

Discussion

The intersection of two regular languages is recognised by

  • A.the product automaton formed from the two deterministic machines
  • B.the union of the states of the two original automata
  • C.a pushdown automaton
  • D.concatenating the two automata end to end in sequence

Answer: A

Correct answer: the product automaton formed from the two deterministic machines

The product automaton has one state for each pair of states of the two originals and runs them side by side on the same input, accepting only when both would accept. Making the accepting condition “either” instead of “both” gives the union by the same construction, which is one way of showing regular languages closed under both.

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

Post your comment

Please log in or register to post a comment.