INTRODUCTION TO COMPUTERS
COMPUTER ARCHITECTURE AND ORGANIZATION
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Division by zero causes an ____ interrupt.
|
implicit
|
|
internal
|
|
infinity
|
|
external
|
Explanation:
Detailed explanation-1: -When a divide by zero occurs, it triggers an exception. The CPU responds by invoking the exception handler in the interrupt vector corresponding to a divide by zero.
Detailed explanation-2: -Explanation: The internal interrupts are generated by the serial and parallel ports which are on-chip peripherals.
Detailed explanation-3: -A divide by zero operation is not a defined operation and thus the program at runtime does not have equivalent valid code that can be executed and hence it throws a run-time error.
There is 1 question to complete.