Skip to content
Related Articles

Related Articles

Improve Article

GATE | GATE-CS-2017 (Set 2) | Question 31

  • Last Updated : 10 Sep, 2021
Geek Week

Which of the following statements about the parser is/are correct?

I. Canonical LR is more powerful than SLR.
II. SLR is more powerful than LALR.
III. SLR is more powerful than canonical LR.

(A) I only
(B) II only
(C) III only
(D) II and III only


Answer: (A)

Explanation: LR parsers in term of power

CLR > LALR > SLR > LR(0)

Therefore, Option A is only correct option.



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.

My Personal Notes arrow_drop_up
Recommended Articles
Page :