Question 7
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
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
Question 7 of 13 in the IIT Madras BS Programming in Python (Python) Diploma Entry Qualifier paper sat on 7 Aug 2022, in the May 2022 term (IIT M DAD DS QUALIFIER EXAM QPC 07 Aug 2022 IBA NS). It carries 2 marks.