Consider the following statements: S1: The value of a synthesized attribute at…

Consider the following statements:
S1: The value of a synthesized attribute at a node is computed from the value of the attribute at the children of that node.
S2: The value of inherited attribute at a node is computed from the value of the attribute at the children of that node. Which of the following is true?

  1. A.

    S1 is true

  2. B.

    S2 is true

  3. C.

    S1 is false

  4. D.

    S1 and S2 are false

Attempted by 232 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…