Gate CS-2006 Question Paper With Solutions

Q. 60 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 shortes 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:

Gate CS-2006 Question Paper With Solutions

Learn More:   Gate EC-2014 - 2 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here