Consider the arrival time of 4 processes ,as also their cpu demand and priority Arrival time cpu time priority P1 0 8 4 P2 2 5 2 P3 5 15 3 P4 8 12 1 Assuming their scheduling as SJF(with preemption ) . What is the average waiting time of the system? Answer given is 6.25 please explain HOW ?
Consider the arrival time of 4 processes ,as also their cpu demand and priority
Arrival time cpu time priority
P1 0 8 4
P2 2 5 2
P3 5 15 3
P4 8 12 1
Assuming their scheduling as SJF(with preemption ) . What is the average waiting time of the system?
Answer given is 6.25 please explain HOW ?