Aptitude | GATE CS 1998 | Question 26

Which of the following statement is true?
(A) SLR parser is more powerful than LALR.
(B) LALR parser is more powerful than Canonical LR parser.
(C) Canonical LR parser is more powerful than LALR parser.
(D) The parsers SLR, Canonical LR, and LALR have the same power.


Answer: (C)

Explanation: Canonical LR is the most powerful parser as compared to other LR parsers. Order: LR(0)< SLR < LALR < CLR. Option (C) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up

Improved By : vivekkumarmth0077