Open In App

ISRO | ISRO CS 2009 | Question 14

Like Article
Like
Save
Share
Report

Consider three CPU-intensive processes, which require 10, 20 and 30 time units and arrive at times 0, 2 and 6, respectively. How many context switches are needed if the operating system implements a shortest remaining time first scheduling algorithm?
Do not count the context switches at time zero and at the end.

(A) 1
(B) 2
(C) 3
(D) 4


Answer: (B)

Explanation: Refer: GATE-CS-2006 | Question 85

Quiz of this Question


Last Updated : 01 Jun, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads