GATE | CS | 2011 | TOC | Regular expression| Question 24

Last Updated :
Discuss
Comments

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 {pn qn  | n ∈ N}). Then which of the following is ALWAYS regular? 

(A) P ∩ Q 

(B) P - Q 

(C) ∑* - P 

(D) ∑* - Q

A

B

C

D

Share your thoughts in the comments