GATE CS 2013 · Question 32 · Theory of Computation · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer
Consider the following languages.
L₁ = {0ᵖ 1^q 0ʳ | p, q, r ≥ 0}L₂ = {0ᵖ 1^q 0ʳ | p, q, r ≥ 0, p ≠ r}
Which one of the following statements is FALSE ?
- (A) L₂ is context-free.
- (B) L₁ ∩ L₂ is context-free.
- (C) Complement of L₂ is recursive.
- (D) Complement of L₁ is context-free but not regular.
Answer
Answer (D)
Answer from the official GATE CS 2013 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes