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

Consider the following types of languages L1: Regular, L2: Contextfree, L3: Recursive, L4: Recursivelyenumerable.
Which of the following is/are TRUE?
I. ¯L3 L4 is recursively enumerable.
II. ¯L2 L3 is recursive.
III. ˙L1 L2 is context-free.
IV. L1 ¯L2 is context-free.

Open in App
Solution

L1 Regular, L2CFL
L3 REC
L4 RE
I. ¯L3L4 is RE
¯L3L4=¯¯¯¯¯¯¯¯¯¯¯¯RECRE=RECRE
=RE RE=RE
So I is true
II. ¯L2L3 is recursive
¯L2L3=¯¯¯¯¯¯¯¯¯¯¯¯CFLREC=¯¯¯¯¯¯¯¯¯¯¯CSLREC
=CSL REC
=REC REC=REC
So II is True.
III. L1L2 is CFL

L1L2 = (REG)CFL
=REGCFL=CFL
So III is True
IV. L1¯L2 is CFL
L1¯L2=REG¯¯¯¯¯¯¯¯¯¯¯¯CFL=REG¯¯¯¯¯¯¯¯¯¯¯CSL
=REGCSL=CSL
Since, A CSL need not be a CFL,So IV is False
So only I,II and III are true.

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