GATE 1995
January 30, 2024
Question 17027 – Higher-Education-and-Politics
January 30, 2024
GATE 1995
January 30, 2024
Question 17027 – Higher-Education-and-Politics
January 30, 2024

Question 8713 – CPU-scheduling

An operating system uses shortest remaining time first scheduling algorithm for pre-emptive scheduling of processes. Consider the following set of processes with their arrival times and CPU burst times (in milliseconds):

The average waiting time (in milliseconds) of the processes is

Correct Answer: A

Question 9 Explanation: 

WT – Waiting Time
CT – Completion Time
TAT – Turn Around Time
TAT = CT – AT < br>
WT = TAT – BT
Gantt chart using Shortest remaining time first,

Avg. WT = 15+0+3+4/4 = 22/4 = 5.5
A
5.5
B
5.6
C
5.7
D
5.8

Leave a Reply

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