Memory-Management
August 13, 2024
UGC NET June-2019 CS Paper-2
August 13, 2024
Memory-Management
August 13, 2024
UGC NET June-2019 CS Paper-2
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

Leave a Reply

Your email address will not be published. Required fields are marked *