wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

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

Open in App
Solution

P=Pc

If P is regular. then Pc is also regular, since regular language is closed under complementation.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Closure Properties of CFL Part - 1
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon