Skip to content
Related Articles
Get the best out of our app
Open App

Related Articles

ISRO | ISRO CS 2014 | Question 51

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

Which of the following is NOT represented in a subroutine’s activation record frame for a stack-based programming language?
(A) Values of local variables
(B) Return address
(C) Heap area
(D) Information needed to access non local variables

Answer: (C)

Explanation: The portion of the stack used for an invocation of a function is called the function’s stack frame or activation record.
An activation record is another name for Stack Frame. It’s the data structure that composes a call stack. It is generally composed of:

Locals to the callee
Return address to the caller
Parameters of the callee

Heap area is required in the case of dynamic variables.
So, option (C) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Last Updated : 04 May, 2018
Like Article
Save Article
Similar Reads