Computer Science EngineeringHard

In a syntax-directed definition, an attribute at a node computed from the attributes of its children is called

  1. A. inherited
  2. B. global
  3. C. synthesized
  4. D. constant

Correct answer: C. synthesized

Synthesized attributes flow upward from children to the parent.

More Theory of Computation, Compilers & Digital Logic (ISRO CS) questions

Exams that ask this topic