Which of the following is not the part of activation record?

2022

Which of the following is not the part of activation record?

  1. A.

    Actual parameters

  2. B.

    Returned values

  3. C.

    Formal parameters

  4. D.

    Saved machine status

Attempted by 127 students.

Show answer & explanation

Correct answer: D

Key Concept: An activation record (stack frame) stores all the information needed to execute a single function call and return to the caller.

Fields that ARE part of an Activation Record:

  • Actual parameters — values passed by the caller

  • Formal parameters — declared in the function definition

  • Return value — space to hold the value returned to caller

  • Local variables and temporaries

  • Return address — to resume execution in the caller

Saved Machine Status refers to the complete CPU state saved by the Operating System during process context switching (full register set, flags, program status, etc.). This is handled separately by the OS and is not a field of an individual function's activation record.

Therefore, the correct answer is D — Saved Machine Status.

Explore the full course: Niacl Ao It Specialist