There are three processes in the ready queue. When the currently running…
2011
There are three processes in the ready queue. When the currently running process requests for I/O how many process switches take place?
- A.
1
- B.
2
- C.
3
- D.
4
Attempted by 391 students.
Show answer & explanation
Correct answer: A
When a running process requests I/O, it transitions to the blocked state. The OS scheduler selects another ready process to execute. This transition involves saving the context of the current process and loading the new one, which constitutes exactly one process switch.
A video solution is available for this question — log in and enroll to watch it.