Question: Need this in C/C++. Implement scheduling algorithm for the following set of process, the input data given in following table. Find waiting time of each
Need this in C/C++. Implement scheduling algorithm for the following set of process, the input data given in following table. Find waiting time of each process and average waiting time. Also, mention preemptive or non-preemptive scheduling algorithm. (Note: Consider lower number as high priority.)
Processes Burst Time Priority
P1 12 Priority:4
P2 6 Priority:1
P3 5 Priority:3
P4 25 Priority:7
P5 10 Priority:9
Required Output format: The scheduling algorithm is Waiting time of Processes 1 Waiting time of Processes 2 .... . . . Average waiting time Processes Burst Time Priority
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
