The following grammar is: S → Aa | bAc | Bc | bBa A → d B → d

PYQ Coal India Management Trainee CBT 2019

The following grammar is:

S → Aa | bAc | Bc | bBa
A → d
B → d

  1. A.

    Not LR(1) but LALR(1)

  2. B.

    Neither LR(1) nor LALR(1)

  3. C.

    LR(1) and LALR(1)

  4. D.

    LR(1) but not LALR(1)

Attempted by 317 students.

Sign up free to check your answer

Sign up free

Explore the full course: Coal India Management Trainee

Loading lesson…