Python Which of the following statements is true? If any exception is thrown in try block, else block is executed When there is a deviation from the rules of a programming language, a semantic error is thrown The standard exceptions are automatically imported into Python programs All raised standard exceptions must be handled in Python If any exception is thrown in try block, else block is executed When there is a deviation from the rules of a programming language, a semantic error is thrown The standard exceptions are automatically imported into Python programs All raised standard exceptions must be handled in Python ANSWER DOWNLOAD EXAMIANS APP
Python Say s=”hello” what will be the return value of type(s) in Python? bool str String int bool str String int ANSWER DOWNLOAD EXAMIANS APP
Python What is the output of print 0.1 + 0.2 == 0.3 in python? False Error True Machine dependent False Error True Machine dependent ANSWER DOWNLOAD EXAMIANS APP
Python What data type is the object below in Python? L = [1, 23, 'hello', 1] list tuple dictionary array list tuple dictionary array ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following statements is true? A non-private method in a superclass can be overridden A subclass method can be overridden by the superclass Overriding isn’t possible in Python A private method in a superclass can be overridden A non-private method in a superclass can be overridden A subclass method can be overridden by the superclass Overriding isn’t possible in Python A private method in a superclass can be overridden ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is invalid variable in Python? _a = 1 None of the mentioned __str__ = 1 __a = 1 _a = 1 None of the mentioned __str__ = 1 __a = 1 ANSWER DOWNLOAD EXAMIANS APP