Question 1
Yes
No

The IIT Madras BS Programming in Python (Python) Diploma Entry Qualifier paper sat on 7 Aug 2022, in the May 2022 term, set 3: 13 questions for 28 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.
Yes
No
Correct answer
Yes
Useful Data has been mentioned above.
This data attachment is just for a reference & not for an evaluation.
Correct answer
Useful Data has been mentioned above.
a
k
n
f
Correct answer
a




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

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
A written answer, not marked automatically.
A written answer, not marked automatically.
A written answer, not marked automatically.
Based on the above data, answer the given subquestions.
Which of the following options is/are correct for the given piece of code?




Correct answers


Based on the above data, answer the given subquestions.
A written answer, not marked automatically.
Based on the above data, answer the given subquestions.
A written answer, not marked automatically.