...
Memory-Management
August 13, 2024
Memory-Management
August 13, 2024

ISRO CS 2009

Question 16
Consider a set of 5 processes whose arrival time, CPU time needed and the priority are given below:

(smaller the number, higher the priority)
If the CPU scheduling policy is priority scheduling without preemption, the average waiting time will be
A
12.8 ms
B
11.8 ms
C
10.8 ms
D
9.8 ms
Question 16 Explanation: 
Following is the Gantt diagram:

Average Waiting Time = (30 + 3 + 3 + 18)/ 5 = 10.8

Correct Answer: C
Question 16 Explanation: 
Following is the Gantt diagram:

Average Waiting Time = (30 + 3 + 3 + 18)/ 5 = 10.8

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!