Open In App

GATE | Sudo GATE 2020 Mock III (24 January 2019) | Question 24

Let L1 and L2 be any deterministic context-free language and R be any regular language. Then, which of the following is correct ?

I. L1 ∪ L2 is deterministic context-free.
II. L1′ is context-free.
III. L1-R is context-free.
IV. L1 ∩ L2 deterministic context-free.



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

Answer: (D)
Explanation: The set of deterministic context-free languages is closed under the following operations:

The set of deterministic context-free language is not closed under the following operations:



statements (II) and (III) only are correct.

Option (D) is true.

Quiz of this Question

Article Tags :