Skip to content
Related Articles

Related Articles

Aptitude | GATE CS 1998 | Question 26

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

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
Recommended Articles
Page :

Start Your Coding Journey Now!