Question 1
Consider the code given below.
Which of the following is NOT true about the given code?
This program may generate ConcurrentModificationException.
It may generate output:

It may generate output:

It may generate output:

Consider the code given below.
Which of the following is NOT true about the given code?
This program may generate ConcurrentModificationException.
It may generate output:

It may generate output:

It may generate output:

Consider the code given below.
How many activation records are created on the stack during the execution of the code?
3
4
5
6
Consider the Java code given below.
Choose all the options which can be used in place of ARG in LINE 1 so that the code outputs the sum of two coordinates.
—
—
—
—
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.
The IIT Madras BS Programming Concepts using Java (Java) End Term paper sat on 21 Dec 2025, in the September 2025 term: 23 questions for 100 marks in 180 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.
| Feature | Java End Term 21 Dec 2025 at a glance |
|---|---|
| Term | September 2025 term |
| Subject | Programming Concepts using Java |
| Course code | BSCS2005 |
| Questions | 23 |
| Marks | 100 |
| Duration | 180 min |
| MCQ | 17 |
| MSQ | 6 |
| Official paper | Programming Concepts Using Java 18 Dec 25 |
| Negative marking | No negative marking. |
| Updated |