Question
A running program divides by zero and control transfers to the operating system. This event is best classified as a:
Select an option. Your answer will be checked instantly.
Correct Answer: C. Trap or exception
Explanation:
A divide-by-zero condition is a synchronous exception caused by the currently executing instruction.
The processor transfers control to an operating-system handler so the fault can be managed safely.
Leave a Reply