5Priority Scheduling
Priority Scheduling is a common CPU scheduling algorithm. From Table 6 create a Gantt chart for the processes. From Table 6 calculate the waiting and turnaround times, WT and TT for each process, Pn respectively. When completed calculate the mean average waiting and turnaround times. Consider that the algorithm is preemptive.
3
CST2555:Week9
Pr
Pri bt
in
W
8 4
8 0 9 8 3 7 6 6 19 12
2 3
2
7
Table 6: processes,priority (Pri),burst times,and arrival times