Question: A set of processes needs to be executed on a single CPU. The processes are identified by their IDs ( P 1 to P 3
A set of processes needs to be executed on a single CPU. The processes are identified by their
IDs P to P and their CPU burst times are given in milliseconds. The arrival times are also
provided in milliseconds. Additionally, each process has a priority level High Medium
and Low The processes are executed in the order of their arrival times. By using the Gantt
chart, Calculate the average waiting time and average turnaround time for these processes by
using the following algorithm and find out the best algorithm.
FCFS First Come First Serve
Shortest Job First Preemptive
Shortest Job First Non Preemptive
Priority Preemptive
Priority Non Preemptive
Assume Time Quantum to be units of time. Calculate average waiting time and
average turnaround time by using Round Robin Scheduling.
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
