Assume the following processes P1,P2, P3, P4 and P5 arrive at 1, 2, 4, 5, 5 respectively.
The CPU burst and the priority assigned to each process are:
P1: 45 3
P2: 5 5
P3: 15 2
P4: 20 1
P5: 25 4
For FCFS, RR, SJF and PR scheduling, determine
a) the turnaround time for every process,
b) waiting time for every process and the average waiting time,
c) throughput for the system.
Use a time quantum of 10 time units, and negligible context time.