Question: Consider the FIVE (5) process with their CPU burst time and arrival time. Based on the above data, answer the following a) Draw a timeline

Consider the FIVE (5) process with their CPU burst time and arrival time. Based on the above data, answer the following a) Draw a timeline for the following algorithm: I. Shortest Job First (SJF) II. Shortest Remaining Time (SRT) (5 Marks) (5 Marks) b) Calculate the turn-around time for SRT algorithm. (5 Marks) c) Calculate average turn-around time for SRT algorithm. (1 Marks) d) Calculate the response time for SJF. (2.5 Marks) e) Calculate the waiting time for SJF. (2.5 Marks) f) Which algorithm is the best among SJF and SRT? Justify your
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
