Quiz Space

Programming Concepts using Java Quiz 1: 19 July 2026 (May 2026 term)

Question 1

+4 marksOne or more correct options

Which of the following statement(s) is/are true regarding activation records used during function calls?

Select all that apply.

  1. A

    An activation record is removed from the stack immediately after a local variable is declared.

  2. B

    Local variables of a function are typically stored inside its activation record.

  3. C

    A return address is stored in the activation record so that control can return to the caller after the execution of the called function.

  4. D

    All activation records in the stack correspond only to recursive function calls.

  5. E

    When a function calls another function, the control link in the callee's activation record points to the activation record of the caller.

Also asked in Quiz 2 16 Aug 2026

Question 2

+3 marksOne correct option

Consider the Java code given below.

Choose the correct option to fill in the so that the output is:

Consider the Java code given below.
Consider the Java code given below.
  1. A
    Figure from the original question paper
  2. B
    Figure from the original question paper
  3. C
    Figure from the original question paper
  4. D
    Figure from the original question paper

Question 3

+3 marksOne correct option

Consider the Java code given below.

Which of the following statements is FALSE?

Consider the Java code given below.
  1. A

    generates compilation error because the method cannot be overridden.

  2. B

    generates compilation error because variable cannot be accessed in class .

  3. C

    generates compilation error because a variable of type cannot refer to an object of type .

  4. D

    generates compilation error because a variable of type cannot refer to an object of type .

12 more questions in this paper

Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.

More on the Java Quiz 1 19 Jul 2026 paper

The IIT Madras BS Programming Concepts using Java (Java) Quiz 1 paper sat on 19 Jul 2026, in the May 2026 term: 15 questions for 50 marks in 120 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.

FeatureJava Quiz 1 19 Jul 2026 at a glance
TermMay 2026 term
SubjectProgramming Concepts using Java
Course codeBSCS2005
Questions15
Marks50
Duration120 min
MSQ2
MCQ13
Official paperProgramming Concepts Using Java 16 Jul 26
Negative markingNo negative marking.
Updated

Same Quiz 1, other subjects

More Java