GATE CS 2022 · Question 48 · Theory of Computation · Multiple select (MSQ) · 2 marks · no negative marks

Consider the following languages:
L₁ = {ww | w ∈ {a,b}^*}L₂ = {aⁿ bⁿ cᵐ | m,n ≥ 0}L₃ = {aᵐ bⁿ cⁿ | m,n ≥ 0}
Which of the following statements is/are FALSE?

  1. (A) L₁ is not context-free but L₂ and L₃ are deterministic context-free.
  2. (B) Neither L₁ nor L₂ is context-free.
  3. (C) L₂, L₃ and L₂ ∩ L₃ all are context-free.
  4. (D) Neither L₁ nor its complement is context-free.
Answer

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

Answer from the official GATE CS 2022 answer key.

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