Quiz Space

Java Quiz 1: 15 March 2026 (January 2026 term)

Question 1

+6 marksOne correct option

Consider the following Java program.

Consider the following Java program.

What is the maximum number of activation records on the stack during the execution of the program?

  1. A

    2

  2. B

    3

  3. C

    4

  4. D

    5

Question 2

+6 marksOne correct option

Consider the Java code given below.

Consider the Java code given below.

Choose the correct option regarding the given code.

  1. A

    This code generates output:

    This code generates output:
  2. B

    This code generates output:

    This code generates output:
  3. C

    This code generates output:

    This code generates output:
  4. D

    This code generates a compilation error because the method

    Formula from the original question paper

    cannot be overridden

Question 3

+6 marksOne correct option

Consider the Java code given below.

Consider the Java code given below.

Choose the correct option.

  1. A

    The program generates output:

    The program generates output:
  2. B
    Formula from the original question paper

    generates compilation error because a variable of type

    Formula from the original question paper

    cannot refer to an object of type

    Formula from the original question paper

    .

  3. C
    Formula from the original question paper

    generates run time error because there is ambiguity in which

    Formula from the original question paper

    method is being invoked.

  4. D

    The program generates output:

    The program generates output:

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 15 Mar 2026 paper

The IIT Madras BS Programming Concepts using Java (Java) Quiz 1 paper sat on 15 Mar 2026, in the January 2026 term: 15 questions for 100 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 15 Mar 2026 at a glance
TermJanuary 2026 term
SubjectProgramming Concepts using Java
Course codeBSCS2005
Questions15
Marks100
Duration120 min
MCQ14
MSQ1
Official paperProgramming Concepts Using Java 15 Mar 26
Negative markingNo negative marking.
Updated

Same Quiz 1, other subjects

More Java