English

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 -

Advertisements
Advertisements

Question

Which of the following is true for Exceptions:

  1. Exceptions disrupt normal flow of the program
  2. It is common for exceptions to show up before the program is executed
  3. Runtime errors are known as Exceptions
  4. 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?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×