What is polling
Polling is the regular checking of an event to see whether it has occurred.
What is the advantages of polling
It is predictable and will only occur at a specific point
What is the disadvantage of polling
It is inefficient in terms of the CPU processing time.
What is an interrupt
An interrupt is a signal with a priority label with either a high or low priority and if it is high the CPU will stop what it is doing and complete the interrupt task
What are disadvantages of polling?
It can increase the latency of the CPU
It can cause a stack overflow error