When an external device raises a hardware interrupt signal, what dedicated program function does the CPU temporarily jump to after saving its current state?
Disk defragmentation manager
Polling scheduler loop
Interrupt service routine (ISR)
Virtual memory swapper
Select all accurate statements comparing interrupt handling and polling.
Interrupt handling is usually more power-efficient on battery devices because the CPU can rest idle until an event happens.
Polling never wastes CPU cycles even when peripherals have no events or data ready.
Polling offers predictable, controlled latency because devices are checked on fixed predetermined intervals.
Interrupt handling has zero CPU overhead even if thousands of interrupts arrive every millisecond.
Interrupt handling is generally better suited to sporadic, unpredictable events such as user keystrokes.
A mains-powered industrial assembly robot checks line sensors and adjusts actuators at exact, predictable 5 ms intervals where uniform, deterministic timing is required without unpredictable context-switch jitter. Which approach is better suited here, and why?
5 ms
Interrupt handling, because the factory is on mains power so battery conservation is critical.
Polling, because predictable fixed intervals deliver controlled latency without frequent interrupt context-switch overhead.
Interrupt handling, because robotic arms only move once per hour and never follow a fixed schedule.
Polling, because polling forces the robot's CPU into deep sleep between every cycle.
Evaluate why a battery-powered laptop relies primarily on interrupt handling rather than continuous polling for keyboard/mouse input and active Wi-Fi network traffic.
Automatically graded answers are checked in your browser. Written answers are sent to Lovable AI to be marked against the answer-key rubric; they are not saved and nothing is written to the course Drive. AI marks are practice feedback, not official IB grades.