Question: Five batch jobs. A through E , arrive at a computer center at almost the same time. They have estimated running times of 10, 6,
Five batch jobs. A through E , arrive at a computer center at almost the same time. They have estimated running times of 10, 6, 2, 4, and 8 minutes. Their (externally determined) priorities are 3, 5, 2, 1, and 4, respectively, with 5 being the highest priority. For each of the following scheduling algorithms, determine the mean process turnaround time. Ignore process switching overhead.
(a) Round robin.
(b) Priority scheduling.
(c) First-come, first-served (run in order 10, 6, 2, 4, 8).
(d) Shortest job first.
For (a), assume that the system is multi program med, and that each job gets its fair share of the CPU. For (b) through (d), assume that only one job at a time runs, until it finishes. All jobs are completely CPU bound.
Step by Step Solution
3.42 Rating (146 Votes )
There are 3 Steps involved in it
Lets tackle the scheduling algorithms one by one to determine the mean turnaround time for the batch jobs a Round Robin Scheduling For Round Robin sch... View full answer
Get step-by-step solutions from verified subject matter experts
