GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2025 set1

GATE 2025 set1 · CS · MCQ · 1 mark · Theory of Computation › Context Free Languages

GATE 2025 set1 Computer Science and Information Technology question: Consider the following context-free grammar G, where S, A, and B are the variables…

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)

Show answer

Official answer: A

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion