How many except statements can a try-except block have? more than zero zero more than one one TRUE ANSWER : ? YOUR ANSWER : ?
Which one of these is used for floor division in Python? / % None of the mentioned // TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following is not a standard exception in Python? NameError AssignmentError IOError ValueError TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following statements is true? A private method in a superclass can be overridden A non-private method in a superclass can be overridden Overriding isn’t possible in Python A subclass method can be overridden by the superclass TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following functions results in case insensitive matching? re.U re.A re.I re.X TRUE ANSWER : ? YOUR ANSWER : ?
What arithmetic operators cannot be used with strings in Python? – All of the mentioned + * TRUE ANSWER : ? YOUR ANSWER : ?
An exception is ____________ an object a module a standard module a special function TRUE ANSWER : ? YOUR ANSWER : ?
What error occurs when you execute the following Python code snippet? apple = mango ValueError SyntaxError NameError TypeError TRUE ANSWER : ? YOUR ANSWER : ?
What is the maximum possible length of an identifier allowed by Python? 79 characters None of the mentioned 63 characters 31 characters TRUE ANSWER : ? YOUR ANSWER : ?