Computer Science EngineeringHard
Static links (access links) in activation records are used for
- A. accessing non-local variables of enclosing procedures
- B. returning function values
- C. passing parameters
- D. garbage collection
Correct answer: A. accessing non-local variables of enclosing procedures
In languages with nested procedures a static link points to the activation record of the lexically enclosing procedure.
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
- 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?
- How many states are in the minimal DFA over {a, b} that accepts exactly the strings ending in 'ab'?