Quiz Space

Programming in Python End Term: 10 May 2026, Set 3 (January 2026 term)

Question 1

+3 marksOne correct option

Consider the following Python functions:

Given that mystery(8) == 4, what should replace the missing line?

Consider the following Python functions:
  1. A

    —

  2. B

    —

  3. C

    —

  4. D

    —

Question 2

+3 marksOne correct option

Consider the following code:

What is the output?

Consider the following code:
  1. A

    —

  2. B

    —

  3. C

    —

  4. D

    —

Question 3

+3 marksOne correct option

Consider the following Python function.

Which of the following inputs will produce the output 'b'?

Consider the following Python function.
  1. A

    —

  2. B

    —

  3. C

    —

  4. D

    —

17 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 Python End Term 10 May 2026 Set 3 paper

The IIT Madras BS Programming in Python (Python) End Term paper sat on 10 May 2026, in the January 2026 term, set 3: 20 questions for 52 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.

FeaturePython End Term 10 May 2026 Set 3 at a glance
TermJanuary 2026 term
SubjectProgramming in Python
Course codeBSCS1002
Questions20
Marks52
Duration180 min
MCQ10
MSQ3
Written7
Official paperProgramming In Python 06 May 26
Negative markingNo negative marking.
Updated

Other sets that day

Same End Term, other subjects

More Python