Experiment Number 5 : Non-Preemptive Priority Scheduling
NUMERICALS
PRACTICE NUMERICALS
Question 1
Calculate average waiting time for the following processes.
(a) 6.6
(b) 4.6
(c) 9.6
(d) 8.6
ANSWER:
Question 2
Calculate average waiting time for the following processes.
(a) 8.856ms
(b) 1.296ms
(c) 7.714ms
(d) 5.236ms
ANSWER:
Question 3
Calculate average turn around time and average waiting time for the following processes.
(a) 12.6 , 5.6
(b) 13.6 , 4.6
(c) 10.6 , 6.6
(d) 14.6 , 9.6
ANSWER:
Question 4
There are 7 processes P1, P2, P3, P4, P5, P6 and P7. Their priorities, Arrival
Time and burst time are given in the table. Calculate average waiting time for the processes.
(a) 8.563
(b) 9.586
(c) 2.259
(d) 7.714
ANSWER:
Question 5
Calculate average turn-around time and average waiting time for the following processes.