Quiz Space

Java Quiz 2: 16 August 2026, Set 1 (May 2026 term)

Question 1

+3 marksOne correct option

Consider the Java code below.

Choose the correct option.

Consider the Java code below.
  1. A

    The output is:

    The output is:
  2. B

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

  3. C

    The output is:

    The output is:
  4. D

    The output is:

    The output is:

Question 2

+3 marksOne correct option

Consider the following Java code.

Choose the correct option.

Consider the following Java code.
  1. A

    The program generates the output:

    The program generates the output:
  2. B

    The program generates the output:

    The program generates the output:
  3. C

    The program generates the output:

    The program generates the output:
  4. D

    The program generates the output:

    The program generates the output:

Question 3

+3 marksOne correct option

Consider the Java code given below.

Identify the appropriate option to fill in place of such 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

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 2 16 Aug 2026 Set 1 paper

The IIT Madras BS Programming Concepts using Java (Java) Quiz 2 paper sat on 16 Aug 2026, in the May 2026 term, set 1: 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 2 16 Aug 2026 Set 1 at a glance
TermMay 2026 term
SubjectProgramming Concepts using Java
Course codeBSCS2005
Questions15
Marks50
Duration120 min
MCQ13
MSQ2
Official paperProgramming Concepts Indian Institute Of Technology, Madras - Bs In Data Science And Applications Using Java 16 Jul 26
Negative markingNo negative marking.
Updated

Other sets that day

Same Quiz 2, other subjects

More Java