Quiz Space

Programming Concepts using Java · Quiz 1 · 13 Jul 2025 · May 2025 term

Question 13: Which among the following statements is/are true about a…

Question 13

+6 marksOne or more correct options

Which among the following statements is/are true about activation records?

Select all that apply.

  1. A

    Multiple activation records of the same function can exist on the stack during recursion.

  2. B

    Activation records created for functions are allocated in heap.

  3. C

    The return value link in an activation record identifies the memory location for storing the function’s return value.

  4. D

    The lifetime of a variable extends beyond the removal of its activation record from the stack.

Show answer

Correct answers

  • A

    Multiple activation records of the same function can exist on the stack during recursion.

  • C

    The return value link in an activation record identifies the memory location for storing the function’s return value.

Question 13 of 15 in the IIT Madras BS Programming Concepts using Java (Java) Quiz 1 paper sat on 13 Jul 2025, in the May 2025 term (IIT M DIPLOMA AN EXAM QDD2 13 July 2025). It carries 6 marks.

More questions from this paper

  1. Q1Consider the following Java program. When the call stack reaches its maximum depth, which method will be at the top of …
  2. Q2Consider the Java code below. Choose the correct option.
  3. Q3Consider the Java code given below. Choose the correct option to be filled in place of LINE 1 so that the output is: Na…
  4. Q4Consider the Java code given below: What will the output be?
  5. Q5Consider the Java program below. Choose the correct option to fill in place of the CODE BLOCK so that the output is:
  6. Q6Consider the Java code given below. Identify the appropriate option to fill in place of LINE 1 such that the output is:
  7. Q7Consider the Java code given below. Choose the correct option.
  8. Q8Consider the code given below. Identify the appropriate statement to fill in the blank at LINE 1, such that the output …
  9. Q9Consider the Java code given below. What will the output be?
  10. Q10Consider the following Java code. Choose the correct option.
  11. Q11Consider the Java code given below. Choose the correct option for LINE 1 such that the program generates the following …
  12. Q12Which of the following statements correctly describe interface and specification in software components?
  13. Q14Consider the Java code given below. Choose the correct option(s) to fill in the CODE SEGMENT so that the output is: Mal…
  14. Q15Consider the Java code given below. Which of the following statements are correct?