Q7 : Assume the Following Process.
Process Burst Time Priority Arrival Time
P1 20 3 0
...
![subject](/tpl/images/cats/User.png)
Engineering, 25.10.2021 07:10 jyworthy
Q7 : Assume the Following Process.
Process Burst Time Priority Arrival Time
P1 20 3 0
P2 5 1 5
P3 3 5 10
P4 7 4 6
P5 9 2 35
For the set of processes directly above, draw a Gantt chart for the Priority
Scheduling Algorithm using. CS=0
a) What is the Priority Scheduling Algorithm?
b) Is the Priority Scheduling Algorithm preemptive or non-preemptive?
c) What is a major problem with the Priority Scheduling Algorithm?
d) What is the solution to starvation with the Priority Scheduling Algorithm?
e) For the set of processes directly above, calculate the throughput for the
Priority Scheduling Algorithm using non-preemption.
f) For the set of processes directly above, calculate the turnaround time for the
Priority Scheduling Algorithm using non-preemption.
g) For the set of processes directly above, calculate the average turnaround
time for the Priority Scheduling Algorithm using non-preemption.
h) For the set of processes directly above, calculate the waiting time for the
Priority Scheduling Algorithm using non-preemption.
i) For the set of processes directly above, calculate the average waiting
time for the Priority Scheduling Algorithm using non-preemption.
j) What is the CPU Utilization for the system?
Q 8: Repeat Q7 with CS=1
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Engineering
![question](/tpl/images/cats/User.png)
Engineering, 04.07.2019 18:10
Steel is coated with a thin layer of ceramic to protect against corrosion. what do you expect to happen to the coating when the temperature of the steel is increased significantly? explain.
Answers: 1
![question](/tpl/images/cats/User.png)
Engineering, 04.07.2019 18:10
The thermal expansion or contraction of a given metal is a function of the f a)-density b)-initial temperature c)- temperature difference d)- linear coefficient of thermal expansion e)- final temperature f)- original length
Answers: 2
![question](/tpl/images/cats/User.png)
Engineering, 04.07.2019 18:10
Carbon dioxide gas expands isotherm a turbine from 1 mpa, 500 k at 200 kpa. assuming the ideal gas model and neglecting the kinetic and potential energies, determine the change in entropy, heat transfer and work for each kilogram of co2.
Answers: 2
![question](/tpl/images/cats/User.png)
Engineering, 04.07.2019 18:10
Which of the following controllers anticipates the future from the slope of errors over time? a)-proportional b)-on/off c)-integral d)-derivative.
Answers: 2
You know the right answer?
Questions
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 20.06.2020 08:57
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 20.06.2020 08:57
![question](/tpl/images/cats/istoriya.png)
History, 20.06.2020 08:57
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 20.06.2020 08:57
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 20.06.2020 08:57