PROCESS SCHEDULING

Experiment Number 5 : Non-Preemptive Priority Scheduling



NUMERICALS
image           


PRACTICE NUMERICALS


Question 1
Calculate average waiting time for the following processes.

Q1

(a) 6.6
(b) 4.6
(c) 9.6
(d) 8.6

ANSWER:




Question 2
Calculate average waiting time for the following processes.

Q2

(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.

Q3

(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.

Q4

(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.

Q5

(a) 13.57 , 9.714
(b) 14.57 , 10.714
(c) 15.67 , 11.714
(d) 19.65 , 12.714

ANSWER: