Faster access to non-local variables is achieved using an array of pointers to…
1998
Faster access to non-local variables is achieved using an array of pointers to activation records, called a _____.
Answer: C. display — A display is an array of pointers to activation records used for faster access to non-local variables in nested scopes. It provides direct references to outer…
- A.
stack
- B.
heap
- C.
display
- D.
activation tree
Attempted by 58 students.
Show answer & explanation
Correct answer: C
A display is an array of pointers to activation records used for faster access to non-local variables in nested scopes. It provides direct references to outer scope activation records, avoiding the need to traverse the entire call stack.
Loading lesson…