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

Consider the following languages:
L1={0p 1q 0r | p,q,r0}
L2={0p 1q 0r | p,q,r0, pr}
Which one of the following statements is FALSE?

Open in App
Solution

L1 is regular so complement of L1 will also be regular.
L2 is context-free so complement of L2 will not be regular
L1L2 is CFL but not regular.

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