Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The following state transition table is a simplified model of process management, with the labels representing transitions between states of READY, RUN, and BLOCKED. image.png
The following state transition table is a simplified model of process management, with the labels representing transitions between states of READY, RUN, and BLOCKED.
image.png
Give an example of an event that can cause each of the above transitions. Draw a diagram if that helps.
AssumetableREADY,RUN,BLOCKEDREADYRUNBLOCKED 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.
For each time and identify which state each process is in 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