Question: I. Suppose that the following processes arrive for execution at the times indicated. Each process will run for the amount of time listed. Process Arrival

I. Suppose that the following processes arrive for execution at the times indicated. Each process will run for the amount of time listed.

Process Arrival Time Burst Time P1 0.0 8 P2 0.4 4 P3 1.0 1

a What is the average turnaround time for these processes with the FCFS scheduling algorithm?

b What is the average waiting time for these processes with the FCFS scheduling algorithm?

c What is the average turnaround time for these processes with the nonpreemptive SJF scheduling algorithm?

d What is the average waiting time for these processes with the nonpreemptive SJF scheduling algorithm?

e What is the average turnaround time for these processes with the preemptive SJF scheduling algorithm?

f What is the average waiting time for these processes with the preemptive SJF scheduling algorithm?

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!