Question: Consider 5 jobs A, B, C, D, E with CPU running times 7, 6, 4, 4, 1 ms and arrival times T= 0, 0, 1,

  1. Consider 5 jobs A, B, C, D, E with CPU running times 7, 6, 4, 4, 1 ms and arrival times T= 0, 0, 1, 2, 3 ms, respectively. Assume that jobs do not block for I/O.

  1. (7 pts) Among the FIFO, Shortest Job First (SJF), Shortest Time to Completion First (STCF) and Round-Robin (RR) which one yields an optimal scheduling according to the Average Turnaround Time (AvgTAT) metric?

  1. (8 pts) What is the execution order after applying this optimal scheduling policy? Please, write the sequence of job names picked after every scheduling decision.

  1. (5 pts) What is the minimum AvgTAT value? Show your calculations.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!