Answer:
Interrupt is defined as, in computer system interrupts are the signal sent to the central processing unit by the external devices. The main function of interrupt is that, an operating system that provide multiprocessing and multitasking. The interrupt is a signal that causes the operating system to stop work on one processor and started work on another processor.
There are basically two type of interrupts:
- Hardware interrupts - For the processor, if the signal is from external device and hardware is called hardware interrupts.
- Software interrupts - The interrupt which is caused by the software instructions are called software interrupt.