Gate2017 ss Q12

0. Which of the following statements about 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

  • Option : A
  • Explanation :
    Bottom up parsers in decreasing order of their power: CLR≫ LALR≫ SLR≫ LR (0)
    The given statements:
    I. Canonical LR is more powerful than SLR is CORRECT.
    II. SLR is more powerful than LALR is INCORRECT
    III. SLR is more powerful than Canonical LR is INCORRECT.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *