Open In App
Related Articles

GATE | GATE CS 1997 | Question 23

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Report issue
Report
When an interrupt occurs, an operating system (A) ignores the interrupt (B) always changes state of interrupted process to ‘blocked’ and schedules another process (C) always resumes execution of interrupted process after processing the interrupt (D) may change the state of interrupted process to ‘blocked’and schedule another process

Answer: (D)

Explanation: Scheduler decides that the interrupted process will complete execution or some other process will be executed. If the interrupt signaled an I/O completion event, and at the same time a high priority process came into Ready state then the scheduler block the interrupted process and dispatch the high priority process in the running state. If low priority process comes into Ready state then scheduler dispatch the interrupted process. Hence, D is correct.

Quiz of this Question

Last Updated : 25 Oct, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads