Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started