Difference between Interrupt and Polling

Interrupt:

An interrupt is an event that indicates the CPU to take immediate action. There can be an interruption to indicate the time out of a timer. In other words, an interrupt can notify the received data packets of a networking device.

Polling:

Polling is the mechanism that indicates to the CPU that a device requires its attention. It is a continuous act to figure out whether the device is working properly.

Interrupt vs Polling: