28 votes 28 votes Which of the following devices should get higher priority in assigning interrupts? Hard disk Printer Keyboard Floppy disk Operating System gate1998 operating-system interrupts normal + – Kathleen asked Sep 25, 2014 edited Feb 22, 2018 by go_editor Kathleen 12.2k views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply shree commented Jan 22, 2015 reply Follow Share How can we understand priority among those? 1 votes 1 votes shree commented Jan 22, 2015 reply Follow Share among these options can say that keyboard has the maximum priority. but if options are different , how we can comment? 1 votes 1 votes smsubham commented Mar 9, 2018 reply Follow Share @shree Check this: https://gateoverflow.in/1657/gate1998-1-20 0 votes 0 votes Akhilesh Singla commented May 3, 2018 reply Follow Share In peripherals, priority is given based on the speed of the device. Higher the speed, higher the priority. Hard disk has the highest speed(MBps) among the given options and thus has the highest priority. Whereas, keyboard is the slowest one because we humans write so slow(like 1-3 word per second) when compared to CPU, and thus keyboard has lowest priority. You may have noticed sometimes that when you are copying/moving a large file on to your hard disk from other device, like pen drive, and then you try to type something using keyboard the typed words are shown with some lag. This is because of the priority being given to hard disk right now. 30 votes 30 votes Please log in or register to add a comment.
Best answer 37 votes 37 votes It should be a Hard disk. I don't think there is a rule like that. But hard disk makes sense compared to others here. http://www.ibm1130.net/functional/IOInterrupts.html Arjun answered Jan 22, 2015 selected Jan 17, 2017 by naga praveen Arjun comment Share Follow See all 25 Comments See all 25 25 Comments reply Show 22 previous comments marvellouschandan commented Oct 25, 2020 reply Follow Share What if I press “ctrl +c” command to terminate some process or might be I gave “sudo rm -rf /” and suddenly press ctrl + c, I believe keyboard should be given more priority. What do you say? 1 votes 1 votes shashankrustagi commented Jan 19, 2021 reply Follow Share sir you roast students lol 0 votes 0 votes GNANESWARA SAI commented Jan 27, 2023 reply Follow Share That time lapse is sufficient to handle the interrupt . It is not in sec it is in msec 0 votes 0 votes Please log in or register to add a comment.
22 votes 22 votes Answer: (A) Devices with high speed get more priority in assigning interrupts. Here is the explanation taken from Morris Mano: Anony_XYZ answered Jan 6, 2020 Anony_XYZ comment Share Follow See all 0 reply Please log in or register to add a comment.
3 votes 3 votes Hard disk should be given higher priority as all user programs and OS are stored in here. Nik Sharma answered Jan 12, 2017 Nik Sharma comment Share Follow See all 3 Comments See all 3 3 Comments reply Krishna Yadav 1 commented Nov 16, 2018 reply Follow Share No doubt, it's (C) keyboard has the highest priority of them all. It's a rule. From highest to lowest. THERMAL MONITOR -> LOCK -> KEYBOARD -> SERIAL PORT -> HDD -> FLOPPY DISK -> PRINTER 1 votes 1 votes adm1n123 commented Nov 20, 2018 reply Follow Share @krishna Please provide references me too think it should be keyboard. 0 votes 0 votes Gaurav Yadav commented Apr 22, 2020 reply Follow Share Highest priority is given to the device which has high probability of data loss. 0 votes 0 votes Please log in or register to add a comment.
2 votes 2 votes Devices with high speed transfer such as Hard disk (according to given options it has high speed among all) are given high priority, and slow devices such as keyboard receive low priority. So, clearly Hard disk is answer. Option (A). Check the similar one: https://gateoverflow.in/2113/gate2011-11 Kuljeet Shan answered Apr 17, 2019 Kuljeet Shan comment Share Follow See all 0 reply Please log in or register to add a comment.