Skip to content
GATEiit

GATE CSE 2024 Session 1 Q26: Which parsers are bottom-up

Question

Which of the following is/are Bottom-Up Parser(s)?

Try it: multiple select: one or more correct options

Select one or more options
Select all correct options. No negative marking, no partial marks.
Show answer and explanation

Answer: A, D (official GATE 2024 final answer key)

Concept used: Bottom-up parsers build the tree from the leaves by reductions; top-down parsers expand from the start symbol.

First step: Classify each parser by whether it reduces handles or predicts productions.

Full step-by-step solution

Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.

Share this question

WhatsAppDownload image

Source: official GATE 2024 Session 1 CS question paper and final answer key, organised by IISc Bangalore. Question paper · Answer key