Python Which of the following statements is true? A non-private method in a superclass can be overridden Overriding isn’t possible in Python A private method in a superclass can be overridden A subclass method can be overridden by the superclass A non-private method in a superclass can be overridden Overriding isn’t possible in Python A private method in a superclass can be overridden A subclass method can be overridden by the superclass ANSWER DOWNLOAD EXAMIANS APP
Python Say s=”hello” what will be the return value of type(s) in Python? String int str bool String int str bool ANSWER DOWNLOAD EXAMIANS APP
Python What error occurs when you execute the following Python code snippet? apple = mango ValueError SyntaxError TypeError NameError ValueError SyntaxError TypeError NameError ANSWER DOWNLOAD EXAMIANS APP
Python When will the else part of try-except-else be executed? when an exception occurs when an exception occurs in to except block when no exception occurs Always when an exception occurs when an exception occurs in to except block when no exception occurs Always ANSWER DOWNLOAD EXAMIANS APP
Python The expression a{5} will match _____________ characters with the previous regular expression. 5 or more 5 or less exactly 4 exactly 5 5 or more 5 or less exactly 4 exactly 5 ANSWER DOWNLOAD EXAMIANS APP
Python Which module in Python supports regular expressions? re none of the mentioned regex pyregex re none of the mentioned regex pyregex ANSWER DOWNLOAD EXAMIANS APP