The entire set of parameters, including return address that is stored for a…
2025
The entire set of parameters, including return address that is stored for a procedure invocation is referred to:
- A.
stack frame
- B.
stack base
- C.
stack limit
- D.
stack record
Attempted by 911 students.
Show answer & explanation
Correct answer: A
Answer: stack frame
Explanation: A stack frame, also called an activation record, is the block of memory allocated on the call stack for a single procedure invocation. It holds all information the procedure needs to execute and return correctly.
Parameters passed to the procedure
The return address (where control should go after the call)
Local variables and temporaries
Saved registers or frame pointer information needed to restore the caller's context
Why the other choices are incorrect:
Stack base: Refers to the base address or starting point of the stack region or to a pointer, not the per-call collection of data.
Stack limit: Refers to the boundary or maximum size of the stack, not the data stored for a procedure invocation.
Stack record: Not standard terminology; the correct and common term for the saved data for a call is 'stack frame' or 'activation record.'
A video solution is available for this question — log in and enroll to watch it.