Python Which of the following statements is true? 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 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 ANSWER DOWNLOAD EXAMIANS APP
Python In Python, which of the following cannot be a variable? It in __init__ on It in __init__ on ANSWER DOWNLOAD EXAMIANS APP
Python What data type is the object below in Python? L = [1, 23, 'hello', 1] array dictionary tuple list array dictionary tuple list ANSWER DOWNLOAD EXAMIANS APP
Python What does the function re.search do? matches a pattern at the start of the string such a function does not exist none of the mentioned matches a pattern at any position in the string matches a pattern at the start of the string such a function does not exist none of the mentioned matches a pattern at any position in the string 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 arithmetic operators cannot be used with strings in Python? All of the mentioned + * – All of the mentioned + * – ANSWER DOWNLOAD EXAMIANS APP