Advertisements
Advertisements
Question
Which of the following is true for Exceptions:
- Exceptions disrupt normal flow of the program
- It is common for exceptions to show up before the program is executed
- Runtime errors are known as Exceptions
- Exception is a Python object that represents an error
Options
(i), (ii), (iv)
(i), (iii), (iv)
(i), (ii)
(iv), (ii), (iii)
MCQ
Solution
(i), (iii), (iv)
Explanation:
An exception is thrown when an error occurs during the execution of a programme.
shaalaa.com
Handling Exceptions
Is there an error in this question or solution?