Question 1
NAT → integer For all NAT questions in this exam, the answer will always be an integer and not a float value.
Instructions has been mentioned above.
This Instructions is just for a reference & not for an evaluation.
NAT → integer For all NAT questions in this exam, the answer will always be an integer and not a float value.
Instructions has been mentioned above.
This Instructions is just for a reference & not for an evaluation.
What is the output of the following code?
—
—
—
—
What is the output of the following 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) Quiz 1 paper sat on 19 Jul 2026, in the May 2026 term: 17 questions for 53 marks in 120 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 Quiz 1 19 Jul 2026 at a glance |
|---|---|
| Term | May 2026 term |
| Subject | Programming in Python |
| Course code | BSCS1002 |
| Questions | 17 |
| Marks | 53 |
| Duration | 120 min |
| MCQ | 7 |
| MSQ | 3 |
| Written | 7 |
| Official paper | Programming in Python 16 Jul 26 |
| Negative marking | No negative marking. |
| Updated |