GATE CS 2021, set 2 · Question 22 · Theory of Computation · Multiple select (MSQ) · 1 mark · no negative marks

Let L₁ be a regular language and L₂ be a context-free language. Which of the following languages is/are context-free?

  1. (A) L₁ ∩ L̅₂̅
  2. (B) L̅₁̅ ∪ L̅₂̅̅
  3. (C) L₁ ∪ (L₂ ∪ L̅₂̅)
  4. (D) (L₁ ∩ L₂) ∪ (L̅₁̅ ∩ L₂)
Answer

Answer (B), (C), (D)

Answer from the official GATE CS 2021 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes