Python Which of the following statements is true? A private method in a superclass can be overridden Overriding isn’t possible in Python A non-private method in a superclass can be overridden A subclass method can be overridden by the superclass A private method in a superclass can be overridden Overriding isn’t possible in Python A non-private method in a superclass can be overridden A subclass method can be overridden by the superclass ANSWER DOWNLOAD EXAMIANS APP
Python What type of data is: a=[(1,1),(2,4),(3,9)]? List of tuples Array of tuples Tuples of lists Invalid type List of tuples Array of tuples Tuples of lists Invalid type ANSWER DOWNLOAD EXAMIANS APP
Python When will the else part of try-except-else be executed? Always when no exception occurs when an exception occurs when an exception occurs in to except block Always when no exception occurs when an exception occurs when an exception occurs in to except block ANSWER DOWNLOAD EXAMIANS APP
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 What is the maximum possible length of an identifier allowed by Python? 31 characters 63 characters None of the mentioned 79 characters 31 characters 63 characters None of the mentioned 79 characters ANSWER DOWNLOAD EXAMIANS APP
Python Which is the correct expression for power(xy ) in Python? x**y x^^y x^y None of the mentioned x**y x^^y x^y None of the mentioned ANSWER DOWNLOAD EXAMIANS APP