Question: There are five processes: P 1 , P 3 , P 5 , P 7 , and P 8 . Assume at time 5 ,
There are five processes: P P P P and P
Assume at time no system resources are being used except for the processor and memory. Now consider the following events:
At time : P executes a command to read from disk unit
At time : Ps time slice expires.
At time : P executes a command to write to disk unit
At time : P executes a command to read from disk unit
At time : P executes a command to write to disk unit
At time : P is swapped out.
At time : An interrupt occurs from disk unit : Ps read is complete.
At time : An interrupt occurs from disk unit : Ps read is complete.
At time : P terminates.
At time : An interrupt occurs from disk unit : Ps write is complete.
At time : P is swapped back in
At time : An interrupt occurs from disk unit : Ps write is complete.
Now identify which state each process is in
At time
At time
time
If a process is blocked, further identify the event on which it is blocked
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
