GATE Assistant

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

GATE 2026 set1 · CS · MSQ · 1 mark · Theory of Computation › Context Free Languages

GATE 2026 set1 Computer Science and Information Technology question: Consider the following grammar where S is the start symbol, and a and b are terminal…

Consider the following grammar where is the start symbol, and and are terminal symbols.

Which of the following statements is/are true?

  1. (A)

    The grammar is ambiguous

  2. (B)

    The string has two distinct derivations in this grammar

  3. (C)

    The string has only one rightmost derivation

  4. (D)

    The language generated by the grammar is undecidable

Show answer

Official answer: A,B,C

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion