CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

For any two language L1 and L2 such that L1 is context free and L2 is recursively enumerable but not recursive, which of the following is/are necessarily true?
1. ¯L1 (complement of L1) is recursive
2. ¯L2 (complement of L2) is recursive
3. ¯L1 is context-free
4. ¯L1L2 is recursively enumerable

A
1 only
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
1 and 4 only
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
3 only
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
3 and 4 only
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B 1 and 4 only
L1 is CFL ¯L1=¯¯¯¯¯¯¯¯¯¯¯¯CFL=¯¯¯¯¯¯¯¯¯¯¯CSL=CSL
L2 is RE but not REC ¯L2 is not RE
Statement 1: ¯L1 is recursive is true because, compliment of CFL is always a CSL and hence recursive.
Statement 2: ¯L2 is recursive is false because, ¯L2 is not RE.
Statement 3: ¯L1is CFL is false (L1 is need not be CFL)
Statement 4: ¯L1L2 is RE is true because, ¯¯¯¯¯¯¯¯¯¯¯¯CFLRE=¯¯¯¯¯¯¯¯¯¯¯CSLRE=CSLRE=RERE=RE
So only statements 1 and 4 are true

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Binary Operations
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon