Question: Question 2 : Processes and Threads [ 1 9 Marks ] Consider the following set of processes in Table 1 , with the length of
Question : Processes and Threads
Marks
Consider the following set of processes in Table with the length of the CPUburst time given in milliseconds:
Table
tableProcessBurst Time,PriorityPPPPP
and are the highest and lowest priorities respectively.
The processes are assumed to have arrived in the order P P P P P all at time
a Draw four Gantt charts illustrating the execution of these processes using FCFS SJF a nonpreemptive priority a smaller priority number implies a higher priority and RR quantum scheduling.
b What is the turnaround time of each process for the scheduling algorithm in item a
c What is the waiting time of each process for the scheduling algorithm in bullet a
d Which of the schedules in bullet a results in the minimal average waiting time overall processes
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
