Python What data type is the object below in Python? L = [1, 23, 'hello', 1] tuple dictionary array list tuple dictionary array list ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following statements is true? 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 If any exception is thrown in try block, else block is executed All raised standard exceptions must be handled in Python 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 If any exception is thrown in try block, else block is executed All raised standard exceptions must be handled in Python 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
Python Which of the following statements is true? A private method in a superclass can be overridden A subclass method can be overridden by the superclass Overriding isn’t possible in Python A non-private method in a superclass can be overridden A private method in a superclass can be overridden A subclass method can be overridden by the superclass Overriding isn’t possible in Python A non-private method in a superclass can be overridden ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is the use of id() function in python? id returns the identity of the object None of the mentioned All of the mentioned Every object doesn’t have a unique id id returns the identity of the object None of the mentioned All of the mentioned Every object doesn’t have a unique id ANSWER DOWNLOAD EXAMIANS APP
Python What is the result of cmp(3, 1) in python? True False 1 0 True False 1 0 ANSWER DOWNLOAD EXAMIANS APP