Which method of communication is more suitable for handling sporadic events?
Interrupt Vector
Interrupts provide a more efficient way for devices to gain the processor's attention compared to .
Thread
One advantage of Polling is that it is easier to implement for simple devices.
Polling is a method where the periodically checks a device to see if it needs attention.
In Polling, the processor wastes CPU cycles by repeatedly checking the status of the device, whereas in interrupts, the processor can perform other tasks until an occurs.
Interrupts are essential for handling time-sensitive tasks and real-time .
What happens when an interrupt occurs?
Interrupt Request (IRQ)
What is the main difference between polling and interrupts?
Polling can result in higher CPU utilization compared to Interrupts, which can lead to issues.
Worst-case scenario in interrupt handling can lead to in the system.
Interrupts
Interrupts are signals sent by a to the processor to request attention.
Deadlock
Polling can lead to higher in responding to devices compared to interrupts.
What is the purpose of an interrupt controller in a computer system?
Interrupts can lead to because of the asynchronous nature of their operation.