GATE CS 2019 · Question 41 · Theory of Computation · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer
Which one of the following languages over Σ = {a, b} is NOT context-free?
- (A) {ww^R | w ∈ {a,b}^*}
- (B) {waⁿbⁿw^R | w ∈ {a,b}^*, n ≥ 0}
- (C) {waⁿw^Rbⁿ | w ∈ {a,b}^*, n ≥ 0}
- (D) {aⁿbⁱ | i ∈ {n, 3n, 5n}, n ≥ 0}
Answer
Answer (C)
Answer from the official GATE CS 2019 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes