Which of the following statements is/are FALSE?

GATE · 2024 · CS · Set 2 · Computer Science & IT

Which of the following statements is/are FALSE?

  1. A.

    An attribute grammar is a syntax-directed definition (SDD) in which the functions in the semantic rules have no side effects

  2. B.

    The attributes in a L-attributed definition cannot always be evaluated in a depth-first order

  3. C.

    Synthesized attributes can be evaluated by a bottom-up parser as the input is parsed

  4. D.

    All L-attributed definitions based on LR(1) grammar can be evaluated using a bottom-up parsing strategy

Attempted by 117 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…