Question 2
To exit the loop entirely and continue with the program statement immediately following the loop.
To restart the loop from the beginning.
To immediately proceed to the next iteration of the loop, skipping any remaining statements in the current iteration.
To execute a block of code only a fixed number of times.
Question 3
What is a potential risk of a recursive function that is not properly terminated with a base case?
It will cause a compile-time error.
It will always return an incorrect value.
It can lead to a stack overflow, as the function calls consume all available stack memory.
The program will terminate gracefully with a success message.
21 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 Programming in C End Term 31 Aug 2025 Set QDB3 paper
The IIT Madras BS Programming in C (Programming in C) End Term paper sat on 31 Aug 2025, in the May 2025 term, set QDB3: 24 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 | Programming in C End Term 31 Aug 2025 Set QDB3 at a glance |
|---|---|
| Term | May 2025 term |
| Subject | Programming in C |
| Course code | BSCS3005 |
| Questions | 24 |
| Marks | 100 |
| Duration | 180 min |
| MCQ | 20 |
| Numerical | 4 |
| Official paper | IIT M DEGREE AN EXAM QDB3 31 Aug 2025 |
| Negative marking | No negative marking. |
| Updated |