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:
Each process exits the system once its CPU and I/O bursts as shown above are
complete. You are given the following schedule.
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 2Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started