Which of the following parsers is a type of bottom-up parser?
2025
Which of the following parsers is a type of bottom-up parser?
Answer: D. LR parser — LR parsers are bottom-up. They build parse trees from leaves to root, handling shift-reduce actions.
- A.
Predictive parser
- B.
Recursive Descent
- C.
LL(1) parser
- D.
LR parser
Attempted by 184 students.
Show answer & explanation
Correct answer: D
LR parsers are bottom-up. They build parse trees from leaves to root, handling shift-reduce actions.
Loading lesson…