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.
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
Attention reader! Don’t stop learning now. Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.
Learn all GATE CS concepts with Free Live Classes on our youtube channel.