Skip to content
GATEiit

GATE CSE 2024 Session 2 Q29: False statements about SDDs and attribute evaluation

Question

Which of the following statements is/are FALSE?

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: B, D (official GATE 2024 final answer key)

Concept used: L-attributed definitions are exactly those evaluable in one left-to-right depth-first pass; S-attributed ones suit bottom-up parsing.

First step: Recall the definition of L-attributed (inherited attributes depend only on the parent and left siblings) and what that guarantees.

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 2 CS question paper and final answer key, organised by IISc Bangalore. Question paper · Answer key