GATE Assistant

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

GATE 2025 set2 · CS · MCQ · 2 marks · Compiler Design › Syntax Analysis (Parsing)

GATE 2025 set2 Computer Science and Information Technology question: Given a Context-Free Grammar G as follows: S Aa bAc dc bda A d Which ONE of the…

Given a Context-Free Grammar as follows:

Which ONE of the following statements is TRUE?

  1. (A)

    is neither LALR(1) nor SLR(1)

  2. (B)

    is CLR(1), not LALR(1)

  3. (C)

    is LALR(1), not SLR(1)

  4. (D)

    is LALR(1), also SLR(1)

Show answer

Official answer: C

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion