A computer handles several interrupt sources of which of the following are relevant for this question.
Answer should be (D) 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 keyboard receive low priority. We know that mouse pointer movements are more frequent than keyboard ticks. So its obvious that its data transfer rate is higher than keyboard. Delaying a CPU temperature sensor could have serious consequences, overheat can damage CPU circuitry. From the above information we can conclude that priorities are-
CPU temperature sensor > Hard Disk > Mouse > Keyboard
When mouse stops working(may be PC hanged because of load), you might open taskmanager by (Ctrl+Shift+Esc) or (Alt+Ctrl+Del). This clearly shows that keyboard has higher priority than mouse.
Am I right?
@ Dhaval Radadiya
and what if keyboard stop working.. ? then u can open task manager by mouse....in this case mouse has highest priority then...
Interrupts from I/O are handled by APIC. The priorities are programmable and we can't say one I/O(such as keyboard or mouse) gets priority over the other. I have also read that linux kernel does not prioritize APIC interrupts in soft real-time systems. Here is a geeky discussion on APIC. https://arstechnica.com/civis/viewtopic.php?f=8&t=375414