IAE Academy

GATE 2025 CS1 Q.19: official answer

GATE 2025 · CS1Q.19 · 1 mark · MCQ

Consider the following context-free grammar , where , , and are the variables (non-terminals), and are the terminal symbols, is the start variable, and the rules of are described as:



Which ONE of the languages is accepted by ?

  1. (A)

  2. (B)

  3. (C)

  4. (D)

See the question in the paper

Official answer

From the GATE 2025 CS1 paper. Every question of this paper · Download the full paper · All 9 CFG & PDA questions, with notes

More CFG & PDA questions