Python What is the use of duck typing? No restriction on the type values that can be passed to a given method Makes the program code smaller Less restriction on the type values that can be passed to a given method More restriction on the type values that can be passed to a given method No restriction on the type values that can be passed to a given method Makes the program code smaller Less restriction on the type values that can be passed to a given method More restriction on the type values that can be passed to a given method ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following statements is true? 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 A private method in a superclass can be overridden ANSWER DOWNLOAD EXAMIANS APP
Python All keywords in Python are in _________ UPPER CASE Capitalized lower case None of the mentioned UPPER CASE Capitalized lower case None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is not a standard exception in Python? IOError AssignmentError NameError ValueError IOError AssignmentError NameError ValueError ANSWER DOWNLOAD EXAMIANS APP
Python The character Dot (that is, ‘.’) in the default mode, matches any character other than _____________ percentage symbol (%) ampersand (&) newline caret (^) percentage symbol (%) ampersand (&) newline caret (^) ANSWER DOWNLOAD EXAMIANS APP
Python To add a new element to a list we use which Python command? list1.append(5) list1.addLast(5) list1.addEnd(5) list1.add(5) list1.append(5) list1.addLast(5) list1.addEnd(5) list1.add(5) ANSWER DOWNLOAD EXAMIANS APP