A computer handles several interrupt sources of which the following are relevant for this question. Interrupt from CPU temperature sensor (raises interrupt if CPU temperature is too high) Interrupt from Mouse (raises interrupt if the mouse is moved or a button is pressed) Interrupt from Keyboard (raises interrupt when a key is pressed or released) Interrupt from Hard Disk (raises interrupt when a disk read is completed) Which one of these will be handled at the HIGHEST priority?
A computer handles several interrupt sources of which the following are relevant for this question. Interrupt from CPU temperature sensor (raises interrupt if CPU temperature is too high) Interrupt from Mouse (raises interrupt if the mouse is moved or a button is pressed) Interrupt from Keyboard (raises interrupt when a key is pressed or released) Interrupt from Hard Disk (raises interrupt when a disk read is completed) Which one of these will be handled at the HIGHEST priority? Correct Answer Interrupt from CPU temperature sensor
The correct answer is option 4
Key Points
- Higher priority interrupt levels are assigned to requests which if delayed or interrupted could have serious consequences. Devices with high-speed transfer such as magnetic disks are given high priority and slow devices such as keyboards are given low priority.
- Since mouse pointer movements are more frequent than keyboard ticks. So it's obvious that its data transfer rate is higher than the keyboard.
- Interrupt from the CPU temperature sensor would have serious consequences if we ignored it and overheat can damage CPU circuitry.
Shortcut Trick
Priority with respect to interrupt
CPU temperature sensor > Hard Disk > Mouse > Keyboard.
মোঃ আরিফুল ইসলাম
Feb 20, 2025