Quiz Space

Java Quiz 2: 12 April 2026 (January 2026 term)

Question 1

+6 marksOne correct option

Consider the Java code given below.

Consider the Java code given below.

What will the output be?

  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 2

+6 marksOne correct option

Consider the Java code given below that prints the credit points of courses. From among the options, identify the appropriate function header for the function formula that takes as input a list of courses and prints their credit points.

Consider the Java code given below that prints the credit points of courses. From among the options, identify the approp

Choose the correct option.

  1. A
    Option figure from the original question paper
  2. B
    Option figure from the original question paper
  3. C
    Option figure from the original question paper
  4. D
    Option figure from the original question paper

Question 3

+6 marksOne correct option

Consider the two Java files given below. formula

Consider the two Java files given below.
Formula from the original question paper
Consider the two Java files given below.

Choose the correct option.

  1. A
    Formula from the original question paper

    and

    Formula from the original question paper

    generate compilation errors.

  2. B

    Only

    Formula from the original question paper

    generates compilation error.

  3. C
    Formula from the original question paper

    and

    Formula from the original question paper

    generate compilation errors.

  4. D

    No compilation errors.

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 12 Apr 2026 paper

The IIT Madras BS Programming Concepts using Java (Java) Quiz 2 paper sat on 12 Apr 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 2 12 Apr 2026 at a glance
TermJanuary 2026 term
SubjectProgramming Concepts using Java
Course codeBSCS2005
Questions15
Marks100
Duration120 min
MCQ13
MSQ2
Official paperProgramming Concepts Using Java 06 Apr 26
Negative markingNo negative marking.
Updated

Same Quiz 2, other subjects

More Java