CBSE Class 12 Computer Science Question 11 of 30

Exception Handling — Question 2

Back to all questions
2
Question

Question 2

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
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.