Open In App

UGC-NET | UGC NET CS 2018 Dec – II | Question 15

Like Article
Like
Save
Share
Report

Consider the following set of processes and the length of CPU burst time given in milliseconds:

Assume that processes being scheduled with Round-Robin Scheduling Algorithm with Time Quantum 4ms. Then The waiting time for P4 is _________ ms.
(A) 0
(B) 4
(C) 12
(D) 6


Answer: (C)

Explanation: According to Round-Robin Scheduling Algorithm with Time Quantum 4ms :

Gantt chart,

So, waiting time for P4 = 16 − 4 = 12 ms.

Option (C) is correct.

Quiz of this Question


Last Updated : 02 Nov, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads