GATE / CS ARCHIVE

GATE CSE 1997 / QUESTION 3.8

Possible interrupt outcomes

Operating Systems · Processes, Threads & System Calls · Full GATE CSE 1997 paper

GATE 1997, Q3.8 1 mark · MCQ
Report issue

Processes, Threads & System Calls

Question 3.8, GATE 1997: When an interrupt occurs, does the OS ignore it, always block the current process, always resume it, or may it block/schedule another process?
Question 3.8, GATE 1997: When an interrupt occurs, does the OS ignore it, always block the current process, always resume it, or may it block/schedule another process?
Tap to enlarge
Your answer
Answer & solution

Answer: D in the broad interrupt/trap model (no official key was published)

The handler’s action depends on the event. An ordinary completed-I/O interrupt may simply update device state and return, while a fault or trap requiring an unavailable resource may block the current process and allow another to run. Thus neither always blocking nor always resuming is a general rule. D correctly expresses a possible outcome. This uses interrupt broadly enough to include synchronous traps/faults; a narrow device-only definition would need more careful distinctions about why the interrupted process blocks.

Original paper, page 3