Python What is the use of duck typing? Makes the program code smaller More restriction on the type values that can be passed to a given method Less 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 More restriction on the type values that can be passed to a given method Less 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 ANSWER DOWNLOAD EXAMIANS APP
Python What is the result of cmp(3, 1) in python? False 0 1 True False 0 1 True ANSWER DOWNLOAD EXAMIANS APP
Python Which of following Python Network/Internet modules supports HTTP protocol? xmlrpclib httplib urllib All of the mentioned xmlrpclib httplib urllib All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following results in a SyntaxError? ‘3\’ “He said, ‘Yes!'” ‘”Once upon a time…”, she said.’ ”’That’s okay”’ ‘3\’ “He said, ‘Yes!'” ‘”Once upon a time…”, she said.’ ”’That’s okay”’ ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following statements is true? Overriding isn’t possible in Python A private method in a superclass can be overridden A non-private method in a superclass can be overridden A subclass method can be overridden by the superclass Overriding isn’t possible in Python A private method in a superclass can be overridden A non-private method in a superclass can be overridden A subclass method can be overridden by the superclass ANSWER DOWNLOAD EXAMIANS APP
Python The character Dot (that is, ‘.’) in the default mode, matches any character other than _____________ caret (^) percentage symbol (%) newline ampersand (&) caret (^) percentage symbol (%) newline ampersand (&) ANSWER DOWNLOAD EXAMIANS APP