Question: Given: Process Arrival Time CPU Time Priority Waiting Time P1 0 20 4 P2 3 10 3 P3 5 9 2 P4 9 4 1

Given: Process Arrival Time CPU Time Priority Waiting Time P1 0 20 4 P2 3 10 3 P3 5 9 2 P4 9 4 1 P5 13 16 3 P6 20 8 2 Solve for the GANTT CHART and individual waiting time using the following algorithms: a) Non Preemptive - (2 marks) FCFS, (2 marks) SJF b) Preemptive (2 marks) SRTF, (2 marks) PRIORITY, (2 marks) Round Robin (q = 5)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
