Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Five batch jobs A , B , C , D and E arrive at a computer centre at almost at the same time. They have

Five batch jobs A,B,C,D and E arrive at a computer centre at almost at the same time. They have estimated running times of 10,6,2,4 and 8 minutes. Their priorities are 3,5,2,1 and 4 respectively, with 5 being the highest priority. For each of the following scheduling algorithm determine the turn around time of each process and waiting time of each process. Ignore process switching overhead. Mention which algorithm results in minimal average waiting time.
1. Round Robin
2. Priority scheduling
3. First come first served
4. Shortest job first.
For case i) assume that system is multiprocessing and each job gets its fair share of the CPU.(time quantum 2 minutes). For cases (ii),(iii) and (iv) assume that only one job runs at a time, until it
finishes. All jobs are completely CPU bound.

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_2

Step: 3

blur-text-image_3

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

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions