Question: 4. Five processes P1, P2, P3, P4 and P5 arrived in this order at the same time with the following CPU burst and priority values.

4. Five processes P1, P2, P3, P4 and P5 arrived in this order at the same time with the following CPU burst and priority values. A smaller value means a higher priority.

Process

CPU Burst Priority
P1 12 1
P2 9 3
P3 7 2
P4 8 4
P5 3 5

a. Draw the Gantt chart for Priority scheduling algorithms without Preemption? b. Calculate the average waiting time?

c. Calculate the average Turnaround time?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!