An interrupt is a signal sent to the CPU by a device or software to get its attention, whereas an exception is an error or unexpected event detected by the CPU during execution.
An interrupt is a signal sent to the CPU by a device or software to get its attention, whereas an exception is an error or unexpected event detected by the CPU during execution.