Question: In C language implement Priority Scheduling Algorithm (Preemptive) and simulate it using following set of processes and calculate the average waiting time. Process no. :
In C language implement Priority Scheduling Algorithm (Preemptive) and simulate it using following set of processes and calculate the average waiting time.
Process no. : 1 2 3 4
Arrival Time: 0 1 1 2
Burst Time: 70 5 2 1
Priority: 1 3 2 0
Your program should compare the Average waiting and Turnaround time, if priority of the process number two sets to 0.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
