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
- Match the LIST-I with LIST-II. LIST-I (Language) LIST-II (Type of Language) A. L₁ = {aⁿbᵐ | n, m ≥ 0} I. Unrestricted B. L₂ = {aⁿbᵐ | (n −…
- If L1 is a regular language and L2 is a context free language, which of the following statement is correct?
- Given the functions: Predecessor function: Pred(x) = x − 1 and T(x, y+1) = Pred(T(x, y)), T(x, 0) = x. Which of the following operations is…
- Arrange the following families of languages from specialization to generalization, defined over alphabet Σ: A. Family of all regular langua…
- Which of the following statements is incorrect?
- The minimum state DFA of the following would be the following: (a DFA with states q0 (start), q1, q2, q3 and q4 (accepting) is given, with…