Question: Problem 1 You are running an application in which five processes are started nearly simultaneously, i.e., assume their arrival time 0. Their estimated time to

 Problem 1 You are running an application in which five processes

Problem 1 You are running an application in which five processes are started nearly simultaneously, i.e., assume their arrival time 0. Their estimated time to execute (i.e., their needed CPU time/cycle) are as follows: . P1 3 ms, P2 11 ms, P3 16 ms, P4-6 ms, P5 2 ms 1. Answer the four questions below for FIFO (First-In-First-Out Scheduling). In what order do the processes run? What is the total time required for all processes? What is the average turnaround time for the five processes? (Add the total time required for each process and divide by the number of processes.) Show the process runs and timings with a Gantt chart 2. Now answer the same set of questions for SJF (Shortest-Job-First) 3. How do the scheduling algorithms compare in performance for this particular case Scheduling (turnaround time)

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!