Quiz Space

Programming in C End Term: 21 December 2025 (September 2025 term)

Question 1

+3 marksOne or more correct options

Which of the following statements are true about the switch statement in C?

Select all that apply.

  1. A

    default case is compulsory in every switch.

  2. B

    Multiple case labels can share the same code block.

  3. C

    break is optional in a switch case.

  4. D

    A switch can be written inside another switch.

Question 2

+4 marksOne correct option

What will be the output of the following program?

  1. A

    z = 19

  2. B

    z = 11

  3. C

    z = 0

  4. D

    z = 5

Question 3

+5 marksOne correct option

What will be the output of the following program?

  1. A

    1 3 5 7

  2. B

    1 3 3 5 7

  3. C

    1 3 5

  4. D

    1 9 3

22 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 21 Dec 2025 paper

The IIT Madras BS Programming in C (Programming in C) End Term paper sat on 21 Dec 2025, in the September 2025 term: 25 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.

FeatureProgramming in C End Term 21 Dec 2025 at a glance
TermSeptember 2025 term
SubjectProgramming in C
Course codeBSCS3005
Questions25
Marks100
Duration180 min
MSQ5
MCQ17
Numerical3
Official paperProgramming In C 18 Dec 25
Negative markingNo negative marking.
Updated

Same End Term, other subjects

More Programming in C