Question: ( c ) Four processes, P a , P b , P c , and P d , have the following sequential execution patterns: ]
c Four processes, and have the following sequential execution
patterns:
; CPU
: CPU ; IO ; CPU ; IO ; CPU ; IO ; CPU
:;;CPU
IO operations for the two processes do not interfere with each other and
are blocking.
i If the processes are run consecutively one after another, what is the
elapsed time for all to complete?
marks
ii Sketch the execution pattern under nonpreemptive scheduling and de
termine the total elapsed time for completion. All processes arrive at
the same time. You may assume that processes are scheduled in the
order in which they become ready to run and that in the event of a tie
has priority over and ;
has priority over and ; while
has priority over
You may further assume that the scheduler algorithm and the context
switching take negligible time.
marks
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
