Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:

image text in transcribed

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

complete. You are given the following schedule.

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books

Students also viewed these Databases questions