Question: 3Suppose there are only 2 processes in the system at time T0: ProcA and ProcB, each being a week long process. The two processes look

 3Suppose there are only 2 processes in the system at time

3Suppose there are only 2 processes in the system at time T0: ProcA and ProcB, each being a week long process. The two processes look like the following if they run individually (i.e., with exclusive access to the CPU and other devices). This means that if ProcA is run alone in the system, it will do 5 sec of CPU and then 10 sec of I/O, and then repeat the same behavior for 1 week. ProcB on the other hand would do 10s of CPU, 5s of I/O and continue like this for 1 week ProcA /O 10s CPU 5s CPU 5s /O 10s ProcB CPU 10s I/O 5s CPU 10s /05s Now, explain all major events that happen to the system till T 30 seconds. What happens to the running process, the ready queue and the blocked queue at those events? Using your explanation, list the processes in the above states (ready, running, waiting) at the following time instances: T 11 T 16 T=21 T = 31 Assume that the timer interrupt is disabled. Thus, there is no way to take control away from a running process, unless it gives up the CPU itself due to I/O

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!