

MCQOPTIONS
Saved Bookmarks
1. |
Which of the following are true?(i) A programming language option does not permit global variables of any king and has no nesting of procedures/functions, but permits recursion can be implemented with static storage allocation(ii) Multi-level access link (or display) arrangement is needed to arrange activation records-only if the programming language being implemented has nesting of procedures/function(iii) Recursion in programming languages cannot be implemented with dynamic storage allocation(iv) Nesting of procedures/functions and recursion require a dynamic heap allocation scheme and cannot be implemented with a stack-based allocation scheme for activation records(v) Languages which permit a function to return a function as its result cannot be implemented with a stack-based storage allocation scheme for activation records. |
A. | (ii) and (v) only |
B. | (i), (iii) and (iv) only |
C. | (i), (ii) and (v) |
D. | (ii), (iii) and (v) only |
Answer» B. (i), (iii) and (iv) only | |