All mock tests are FREE till 31 December — register to save your progress
Unit 8 · Theory of Computation and Compilers Paper 2 CS · September 2022

Statement I: The LALR parser is more powerful than the canonical LR parser. Statement II: The SLR parser is more powerful than LALR. Which is correct?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. Both Statements I and II false

Explanation

The order is SLR < LALR < canonical LR, so both statements are false.

More Theory of Computation and Compilers questions