Open In App
Related Articles

Aptitude | GATE CS 1998 | Question 26

Improve Article
Improve
Save Article
Save
Like Article
Like

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

Last Updated : 05 Aug, 2020
Like Article
Save Article
Similar Reads