Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following set of processes, with the length of the CPU burst given in milliseconds: Process Burst Time Priority P1 2 2 P2 1

Consider the following set of processes, with the length of the CPU burst given in milliseconds: Process Burst Time Priority P1 2 2 P2 1 1 P3 8 4 P4 4 2 P5 5 3 b) What is the turnaround time for each process for each of the scheduling algorithms in part a? c) What is the waiting time for each process for each of those scheduling algorithms? d) Which one of those scheduling algorithms results in the minimum average waiting time (over all processes)? Answer: Question 2 (4 points): Consider a system running ten I/O bound tasks and one CPU-bound task. Assume that the I/O-bound tasks issue an I/O operation once for each millisecond of CPU computing (1ms CPU burst), that each I/O operation takes 10 milliseconds to complete, and all I/O operations are blocking (release CPU) and independent (for example, using different devices). Assume the CPU task does no I/O and uses all CPU time it is given. Also assume that the context-switching overhead is 0.1 milliseconds and that all process are long-running tasks. Describe the CPU utilization for a RR scheduler when: a) The time quantum is 1 milliseconds. b) The time quantum is 10 milliseconds. Answer: Question 3 (2 points): For each of the following scheduling algorithms, explain how it favors short processes (if at all): a) FCFS b) RR Answer:

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

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

Explain strong and weak atoms with examples.

Answered: 1 week ago

Question

Explain the alkaline nature of aqueous solution of making soda.

Answered: 1 week ago

Question

Comment on the pH value of lattice solutions of salts.

Answered: 1 week ago

Question

1. Explain how new technologies are influencing training.

Answered: 1 week ago