8,681 views
28 votes
28 votes

Faster access to non-local variables is achieved using an array of pointers to activation records called a 

  1. stack
  2. heap
  3. display
  4. activation tree

1 Answer

Best answer
44 votes
44 votes

Correct Option: C

Properties of displays    

  1. Use a pointer array to store the activation records along the static chain.
  2. Fast access for non-local but may be complicated to maintain.
  3. Calling a subprogram in the same level – simply replace and restore.
  4. Calling a subprogram in the higher level – add an entry and may need to save the old pointers.
  5. Calling a subprogram in the lower level – shrink the pointer and restore it when the subprogram returns.

http://users.dickinson.edu/~wahlst/356/ch10.pdf

edited by
Answer:

Related questions

18 votes
18 votes
2 answers
1
Kathleen asked Sep 25, 2014
5,820 views
A linker reads four modules whose lengths are $200, 800, 600$ and $500$ words, respectively. If they are loaded in that order, what are the relocation constants?$0, 200, ...
26 votes
26 votes
3 answers
2
Kathleen asked Sep 25, 2014
9,315 views
In a resident – OS computer, which of the following systems must reside in the main memory under all situations?AssemblerLinkerLoaderCompiler
25 votes
25 votes
3 answers
3
Kathleen asked Sep 25, 2014
7,027 views
What is the result of the following program?program side-effect (input, output); var x, result: integer; function f (var x:integer):integer; begin x:x+1;f:=x; end begin x...