Quiz Space

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

Question 1

+4 marksOne correct option

Consider the following code snippet:

For what values as input the output generated by the above code snippet does not print A.

Consider the following code snippet:
  1. A

    x = 10 and y = 25

  2. B

    x = 6 and y = 20

  3. C

    x = 12 and y = 15

  4. D

    x = 15 and y = 16

Question 2

+4 marksOne correct option

Which of the following code snippets print the first 100 powers of 3, one on each line. The formula line should have the value of formula . The output has 100 lines in total. The first five lines look like this:

Which of the following code snippets print the first 100 powers of 3, one on each line. The  line should have the value
  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 3

+3 marksOne correct option

What will be the output of the following code snippet?

What will be the output of the following code snippet?
  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

10 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 4 paper

The IIT Madras BS Programming in Python (Python) End Term paper sat on 10 May 2026, in the January 2026 term (T1 2026), set 4: 13 questions for 50 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 4 at a glance
TermJanuary 2026 term (T1 2026)
SubjectProgramming in Python
Course codeBSCS1002
Questions13
Marks50
Duration180 min
MCQ6
MSQ3
Numerical4
Official paperProgramming In Python 06 May 26
Negative markingNo negative marking.
Updated

Other sets that day

Same End Term, other subjects

More Python