All mock tests are FREE till 31 December — register to save your progress

Which of the following is not a part of the general activation record of a procedure?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. Global data

Explanation

A procedure's activation record (stack frame) typically holds items needed only for that specific call: local data, temporaries used during expression evaluation, an access link (or control link) to the enclosing/calling environment, saved machine status, and the return address. Global data, in contrast, is allocated once in a separate static/global data area that exists for the entire program execution and is shared across all procedure calls, so it is never part of an individual activation record. Hence the item that is not part of the general activation record is Global data.

More Theory of Computation and Compilers questions