Given a Context-Free Grammar πΊ as follows: π β π΄π | ππ΄π | ππ | πππβ¦
GATE Β· 2025 Β· CS Β· Set 2 Β· Computer Science & IT
Given a Context-Free Grammar πΊ as follows:
π β π΄π | ππ΄π | ππ | πππ
π΄ β π
Which ONE of the following statements is TRUE?
- A.
πΊ is neither LALR(1) nor SLR(1)
- B.
πΊ is CLR(1), not LALR(1)
- C.
πΊ is LALR(1), not SLR(1)
- D.
πΊ is LALR(1), also SLR(1)
Attempted by 115 students.
Sign up free to check your answer
Sign up freeLoading lessonβ¦