GATE | GATE CS 1997 | Question 23
When an interrupt occurs, an operating system
ignores the interrupt
always changes state of interrupted process to ‘blocked’ and schedules another process
always resumes execution of interrupted process after processing the interrupt
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
Share your thoughts in the comments
Please Login to comment...