McqMate
Q. |
Which of the following statements is true? |
A. | the standard exceptions are automatically imported into python programs |
B. | all raised standard exceptions must be handled in python |
C. | when there is a deviation from the rules of a programming language, a semantic error is thrown |
D. | if any exception is thrown in try block, else block is executed |
Answer» A. the standard exceptions are automatically imported into python programs | |
Explanation: when any exception is thrown in try block, except block is executed. if exception in not thrown in try block, else block is executed. when there is a deviation from the rules of a programming language, a |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet