Python

Answer all questions carefully. After submission, you will see a detailed result and answer review.

Question 1
Which of the following exception occurs, when an integer object is added to a string object?
Question 2
Which of the following statement retreives names of all builtin objects?
Question 3
The output of the expression {i:j for i in "abcd" for j in "kiwi"} is _______.
Question 4
Which of the following is not a way to import the module 'm1' or the functions 'f1' and 'f2' defined in it?
Question 5
Which of the following function call is correct?
Question 6
Which of the following error occurs, if an iterator is accessed, when it has no elements?
Question 7
Which of the following statement retrieves names of all builtin module names?
Question 8
Which of the following statement is not true about Python functions?
Question 9
Can one block of except statements handle multiple exceptions?
Question 10
Which keyword is used for defining a function?