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 Methods provided by Python for receiving and sending TCP messages. None of the mentioned s.recvfrom(),s.sendto() s.recv(), s.send() Both (A) and (B) None of the mentioned s.recvfrom(),s.sendto() s.recv(), s.send() Both (A) and (B) ANSWER DOWNLOAD EXAMIANS APP
Python The expression a{5} will match _____________ characters with the previous regular expression. 5 or less exactly 4 5 or more exactly 5 5 or less exactly 4 5 or more exactly 5 ANSWER DOWNLOAD EXAMIANS APP
Python Correct way to draw a line in canvas tkinter None of the mentioned create_line(canvas) line() canvas.create_line() None of the mentioned create_line(canvas) line() canvas.create_line() ANSWER DOWNLOAD EXAMIANS APP
Python What is the use of duck typing? 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 Makes the program code smaller 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 Less restriction on the type values that can be passed to a given method Makes the program code smaller No restriction on the type values that can be passed to a given method ANSWER DOWNLOAD EXAMIANS APP