GATE CS 2017, set 2 · Question 4 · Theory of Computation · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
Let L₁, L₂ be any two context-free languages and R be any regular language. Then which of the following is/are CORRECT?
I. L₁ ∪ L₂ is context-free.
II. L̅₁̅ is context-free.
III. L₁ - R is context-free.
IV. L₁ ∩ L₂ is context-free.
- (A) I, II and IV only
- (B) I and III only
- (C) II and IV only
- (D) I only
Answer
Answer (B)
Answer from the official GATE CS 2017 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes