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

If L1 is a context free language and L2 is a regular language which of the following is are false?

Open in App
Solution

(a) Since CFLs are closed under regular difference, so L1L2=CFLregular=CFLs
So option (a) is false.
(b) Since context free language is closed under regular intersection so L1L2=CFLREG=CFL
So option (b) is true.
(c) Context free language is not closed under complementation.So L1 is not context free language.So option (c) is flase.
(d) Regular language are closed under complementation.So L2 is regular.
So option (d) is true.

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