Skip to content
Related Articles
Open in App
Not now

Related Articles

Aptitude | GATE CS 1998 | Question 26

Improve Article
Save Article
Like Article
  • Last Updated : 05 Aug, 2020
Improve Article
Save Article
Like Article

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
Like Article
Save Article
Related Articles

Start Your Coding Journey Now!