Search your topic here

Preemptive priority scheduling algorithm problem

Prob. For the ahead jobs calculate the average turnaround time, waiting time and response time using  FCFS, preemptive priority scheduling and Round Robin (time quantum=1).

Job
Burst Time
Arrival Time
Priority
A
10
0
3
B
2
1
1
C
4
2
3
D
6
4
4
E
5
4
2


Which 1 has highest priority and 4 as the lowest priority?

Ans.


Preemptive priority scheduling :

Priority Scheduling:Average turnaround time

Priority Scheduling: Response time calculation


LEAVE A REPLY










Related topics

Please use contact page in this website if you find anything incorrect or you want to share more information about the topic discussed above.