Question 1
a
k
n
f
The IIT Madras BS Programming in Python (Python) End Term paper sat on 7 Aug 2022, in the May 2022 term: 18 questions for 50 marks in 180 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.
a
k
n
f
Correct answer
a
Correct answer
Correct answer
Only code-1 is a correct implementation.
Only code-2 is a correct implementation.
Both code-1 and code-2 are correct implementations.
Both code-1 and code-2 are not correct implementations.
Correct answer
Only code-1 is a correct implementation.
Correct answer
Correct answer
Correct answer
Correct answer
Code-1 will throw an error in line-2
Code-2 will throw an error in line-4
Code-3 will throw an error in line-3
Code-3 will run without any error
Correct answers
Code-1 will throw an error in line-2
Code-2 will throw an error in line-4
Code-3 will run without any error
Correct answer: 5
Correct answer: 10
Correct answer: 3
Correct answer: 4321
Correct answer
Correct answer: 3
Correct answer
Based on the above data, answer the given subquestions.
Correct answer
Based on the above data, answer the given subquestions.
Correct answer: 3