Python Which of the following statements is true? A non-private method in a superclass can be overridden A private method in a superclass can be overridden Overriding isn’t possible in Python A subclass method can be overridden by the superclass A non-private method in a superclass can be overridden A private method in a superclass can be overridden Overriding isn’t possible in Python A subclass method can be overridden by the superclass 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 Which are the advantages of functions in python? Reducing duplication of code All of the mentioned Decomposing complex problems into simpler pieces Improving clarity of the code Reducing duplication of code All of the mentioned Decomposing complex problems into simpler pieces Improving clarity of the code ANSWER DOWNLOAD EXAMIANS APP
Python How many except statements can a try-except block have? more than one zero more than zero one more than one zero more than zero one ANSWER DOWNLOAD EXAMIANS APP
Python Is Python case sensitive when dealing with identifiers? machine dependent no None of the mentioned yes machine dependent no None of the mentioned yes ANSWER DOWNLOAD EXAMIANS APP
Python When will the else part of try-except-else be executed? Always when an exception occurs in to except block when an exception occurs when no exception occurs Always when an exception occurs in to except block when an exception occurs when no exception occurs ANSWER DOWNLOAD EXAMIANS APP