Question: There are three processes in the scheduling queue and assume that all three of them are ready to run. Assume that P1 arrived a little

There are three processes in the scheduling queue and assume that all three of them are ready to run.

Assume that P1 arrived a little before P2; and P2 arrived a little before P3.

Scheduling starts at time t = 0. The CPU and I/O burst patterns of the three processes are as shown below:

There are three processes in the scheduling queue and assume that all

Each process exits the system once its CPU and I/O bursts as shown above are

complete. You are given the following schedule.

three of them are ready to run. Assume that P1 arrived a

Please answer the following questions:

(a) What type of scheduler (FCFS, SJF, RR) will produce the above schedule? Explain your answer.

(b) What is the waiting time for each process?

CPU I/O CPU I/O CPU P1 P2 P3 2 2 2 4 P1 is done P2 is done 2 P3 is done 2 2

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!