Question: The table below shows the process's location at memory for processes P,Q,R and Dispatcher. A single processor is used to run all processes. Process P

The table below shows the process's location at memory for processes P,Q,R and Dispatcher. A single processor is used to run all processes. Process P request for l/O at instruction cycle 4 and wait up to 25 instruction cycles. Then, process R request for I/O at instruction cycle 23 and wait up to 24 instruction cycles. All processes run from 0 to 100 instruction cycles with three different indicators for running, ready and blocked state (unit in milliseconds). Assume that the maximum CPU burst for each process is 6 instruction cycles. Calculate the following questions [ 8m] : i. What is the Turnaround Time of process Q? [2] ii. At time 26, what are the states for P,Q, and R ? [2] iii. At time 43, what are the states for P,Q, and R ? [2] iv. At what time does process R get the CPU after the blocked state? [2] v. What is the Waiting Time of Process P? [2]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
