Going back to OS

Consider a set of 5 processes whose arrival time, CPU time needed, and the priority is given below.
Smaller the number,  higher the priority. 

os table 

Let X be the Average Waiting time for FCFS(First Come First Serve) CPU scheduling, and Y be the Average Waiting time for SJF(Shortest Job First) without pre-emption CPU scheduling,

Print the Sum of X and Y with 1 decimal point. i.e X + Y 

For example, 1.0 is valid where as 1 and 1.00 are not valid.

Sign Up
to access hints and editorial solutions for Going back to OS

Discussion


Loading...
Click here to start solving coding interview questions