Python Which of the following is not a standard exception in Python? NameError IOError ValueError AssignmentError NameError IOError ValueError AssignmentError ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following statements is true? If any exception is thrown in try block, else block is executed The standard exceptions are automatically imported into Python programs All raised standard exceptions must be handled in Python When there is a deviation from the rules of a programming language, a semantic error is thrown If any exception is thrown in try block, else block is executed The standard exceptions are automatically imported into Python programs All raised standard exceptions must be handled in Python When there is a deviation from the rules of a programming language, a semantic error is thrown ANSWER DOWNLOAD EXAMIANS APP
Python What does the function re.search do? 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 matches a pattern at the start of the string ANSWER DOWNLOAD EXAMIANS APP
Python What is the use of duck typing? Makes the program code smaller 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 More 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 No 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 What is the output of print 0.1 + 0.2 == 0.3 in python? False True Error Machine dependent False True Error Machine dependent ANSWER DOWNLOAD EXAMIANS APP
Python Which are Server Socket Methods provided by Python? s.bind() s.listen() All of the mentioned s.accept() s.bind() s.listen() All of the mentioned s.accept() ANSWER DOWNLOAD EXAMIANS APP