Question 1
Consider the following recursive functions:
Which of the following function calls returns the last digit of 5! ?
Consider the following recursive functions:
Which of the following function calls returns the last digit of 5! ?




Consider the following class:
What are the values of
,
, and
respectively?
1, False, 300
2, False, 500
2, True, 300
3, True, 300
What will be the output of the following Python code?




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 in Python (Python) End Term paper sat on 10 May 2026, in the January 2026 term, set 1: 18 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.
| Feature | Python End Term 10 May 2026 Set 1 at a glance |
|---|---|
| Term | January 2026 term |
| Subject | Programming in Python |
| Course code | BSCS1002 |
| Questions | 18 |
| Marks | 50 |
| Duration | 180 min |
| MCQ | 8 |
| MSQ | 3 |
| Numerical | 7 |
| Official paper | Programming In Python 06 May 26 |
| Negative marking | No negative marking. |
| Updated |