The following grammar is: S → Aa | bAc | Bc | bBa A → d B → d
2020
The following grammar is:
S → Aa | bAc | Bc | bBa
A → d
B → d
Answer: D. LR(1) but not LALR(1)
- A.
Not LR(1) but LALR(1)
- B.
Neither LR(1) nor LALR(1)
- C.
LR(1) and LALR(1)
- D.
LR(1) but not LALR(1)
Attempted by 195 students.
Show answer & explanation
Correct answer: D

Explore the full course: Iocl Engineers Officers Grade A Paper 2
Loading lesson…