Question:
How interrupts are handled in operating system
Solution:
Interrupts are asynchronous events usually used to interface peripherals. The OS provides API to map interrupt handlers as per needs of application program.