Question: Please do all the parts 1 - 4 and the end part as well Five processes, A through E , arrive at a CPU core
Please do all the parts and the end part as well
Five processes, A through E arrive at a CPU core one after
the other at around the same time, with the following
runtimes and priority levels larger numbers are higher
priority:
a A: milliseconds, priority
b B: milliseconds, priority
c C: milliseconds, priority
d D: milliseconds, priority
e E: milliseconds, priority
For each of the following scheduling algorithms, determine
the average waiting time and turnaround time. Turnaround
time is the amount of time between when a process is first
submitted to a CPU to when it finishes running. This is
adapted from chapter problem from the textbook.
a Firstcomefirstserved
b Shortestjobfirst
c Roundrobin, with a quantum of milliseconds
d Priority scheduling
Draw a Gantt chart for each scheduling algorithm from the
previous question.
Using the previous five processes from question perform
roundrobin scheduling with the following quanta. When
the quantum becomes as large as the largest burst time
among processes, what scheduling algorithm does round
robin begin to resemble?
a Roundrobin, with a quantum of milliseconds
b Roundrobin, with a quantum of milliseconds
c Roundrobin, with a quantum of milliseconds
d Roundrobin, with a quantum of milliseconds
Hint: If a process finishes its work before the quantum is
up the next process in the queue can run right away!
Given four processes P to P and one each of six different
resource types R to R the following processes are
currently allocated the following resources:
a P: R R
b P: R
c P: R R
d P: R
The following processes are requesting the following
resources:
a P: R
b P: R R
c P: R
d P: R
Is this deadlocked? Draw a graph to show your work.
Given four processes P to P and one each of six different
resource types R to R the following processes are
currently allocated the following resources:
a P: R
b P: R R
c P: R
d P: none
The following processes are requesting the following
resources:
e P: R
f P: R
g P: R
h P: R R R
Is this deadlocked? Draw a graph to show your work.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
