Open In App

GATE | GATE CS Mock 2018 | Set 2 | Question 24

Like Article
Like
Save
Share
Report

Let L1, L2 be any two context-free languages and R be any regular language. Then which of the following is/are False?

(I) (L1)’∪L2∪L1 is context-free
(II) R’∪L2 is context-free
(III) R∩L1∩L2 is context-free
(IV) R∩L2 is context-free

(A) I, II and IV only
(B) I and III only
(C) II and IV only
(D) I only


Answer: (B)

Explanation: Context free languages are not closed under complementary and intersection properties.
Therefore, statements (I), (III) are false.
Option (B) is correct.


Quiz of this Question


Last Updated : 08 Mar, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads