Computer Science EngineeringHard
In a syntax-directed definition, an attribute at a node computed from the attributes of its children is called
- A. inherited
- B. global
- C. synthesized
- D. constant
Correct answer: C. synthesized
Synthesized attributes flow upward from children to the parent.
Practise more Theory of Computation, Compilers & Digital Logic (ISRO CS) questionsTheory of Computation, Compilers & Digital Logic (ISRO CS): notes and key points
More Theory of Computation, Compilers & Digital Logic (ISRO CS) questions
- Static links (access links) in activation records are used for
- Tail-call optimization primarily saves
- In Greibach normal form every production has the form A -> a alpha, where alpha is
- A universal Turing machine is able to
- Which computational model recognizes exactly the class of regular languages?
- Which compiler phase reads the character stream and groups it into tokens?