GATE CS 2026, set 2 · Question 48 · Theory of Computation · Multiple select (MSQ) · 2 marks · no negative marks
Let Σ = {a, b, c, d} and let L = {aⁱ bʲ cᵏ d^ℓ | i, j, k, ℓ ≥ 0}.
Which of the following constraints ensure(s) that the language L is context-free?
- (A) i + k = j + ℓ
- (B) i = k and j = ℓ
- (C) i = ℓ and j = k
- (D) i + j = k + ℓ
Answer
Answer (A), (C), (D)
Answer from the official GATE CS 2026 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes