...
Operating-Systems
October 18, 2023
UNIX-Operating-System
October 18, 2023
Operating-Systems
October 18, 2023
UNIX-Operating-System
October 18, 2023

Compiler-Design

Question 29

Which of the following statements 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 CR, and LALR have the same power
Question 29 Explanation: 
LR > LALR > SLR
Canonical LR parser is more powerful than LALR parser.
Correct Answer: C
Question 29 Explanation: 
LR > LALR > SLR
Canonical LR parser is more powerful than LALR parser.

Leave a Reply

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