Question 6
Code-1 will throw an error in line-2
Code-2 will throw an error in line-2
Code-3 will throw an error in line-3
Code-1 will run without any error
Code-2 will run without any error
Code-3 will run without any error
Code-1 will throw an error in line-2
Code-2 will throw an error in line-2
Code-3 will throw an error in line-3
Code-1 will run without any error
Code-2 will run without any error
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-2
Code-3 will run without any error
Question 6 of 13 in the IIT Madras BS Programming in Python (Python) Diploma Entry Qualifier paper sat on 13 Apr 2025, in the January 2025 term (IIT M DAD DS QUALIFIER AN EXAM QDS1 13 Apr 2025). It carries 3 marks.