GATE 2022
October 9, 2023APPSC-2012-DL-CS
October 9, 2023Parsers
|
Question 48
|
Which of the following statement is true?
|
The parsers canonical LR and LALR have the same power
|
|
|
LALR parser is more important than canonical LR parser
|
|
|
SLR parser is more powerful than LALR parser
|
|
|
Canonical LR parser is more powerful than LALR parser
|
Question 48 Explanation:
The power of parsers is given by
CLR > LALR > SLR
CLR > LALR > SLR
Correct Answer: D
Question 48 Explanation:
The power of parsers is given by
CLR > LALR > SLR
CLR > LALR > SLR
