Consider the following languages over ∑={a,b}L1={ww|w∈{a,b}∗}L2=complement of L1L3=L1∪L2
Which of the above languages is Recursively enumerable but not context free language?
A
L1only
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
BothL1andL2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
L2only
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
L1andL1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is AL1only option (a)
L1is REL but not CFLL2is CFLL3=(a+b)∗L1∪¯L1=L1∪L2is CFL