1.

Let P be a regular language and Q be context-free language such that Q ∈ P. (For example, let P be the language represented by the regular expression p*q* and Q be {pnqnn∈ N}). Then which of the following is ALWAYS regular?

A. P ∩ Q
B. P – Q
C. ∑* – P
D. ∑* – Q
Answer» D. ∑* – Q


Discussion

No Comment Found