28 votes 28 votes Faster access to non-local variables is achieved using an array of pointers to activation records called a stack heap display activation tree Compiler Design gate1998 programming compiler-design normal runtime-environment + – Kathleen asked Sep 25, 2014 Kathleen 8.7k views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply suvasish pal commented Sep 1, 2017 reply Follow Share anyone plz explain it! 0 votes 0 votes ShouvikSVK commented Jan 21, 2022 reply Follow Share https://www.cse.iitk.ac.in/users/swarnendu/courses/spring2020-cs335/Runtime%20Environments.pdf from page 63-73 5 votes 5 votes Pranavpurkar commented Nov 29, 2022 reply Follow Share @ShouvikSVK Thanks :) 1 votes 1 votes Please log in or register to add a comment.
Best answer 44 votes 44 votes Correct Option: C Properties of displays Use a pointer array to store the activation records along the static chain. Fast access for non-local but may be complicated to maintain. Calling a subprogram in the same level – simply replace and restore. Calling a subprogram in the higher level – add an entry and may need to save the old pointers. 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 sumit kumar answered Nov 17, 2014 edited May 5, 2021 by soujanyareddy13 sumit kumar comment Share Follow See all 7 Comments See all 7 7 Comments reply Show 4 previous comments talha hashim commented Jul 25, 2018 reply Follow Share nice point sachin sir 0 votes 0 votes Gyanu commented Nov 25, 2019 reply Follow Share thnx @Sachin Mittal 1 sir 0 votes 0 votes jiminpark commented Nov 24, 2021 reply Follow Share Is this part in syllabus now? 0 votes 0 votes Please log in or register to add a comment.