KnowledgeBoat Logo

Computer Science

An interrupt or forced disruption that occurs when a program is run or executed is termed as …………… .

  1. Compile time error
  2. Exception
  3. Runtime error
  4. Logical error

Python Exception Handling

1 Like

Answer

Exception

Reason — An exception is an interrupt or disruption that occurs during the execution of a program. When an exception occurs, it interrupts the normal flow of the program and may cause the program to terminate abruptly if not handled properly.

Answered By

3 Likes


Related Questions