Skip to content
Related Articles

Related Articles

UGC-NET | UGC NET CS 2016 Aug – II | Question 40
  • Last Updated : 11 Apr, 2018

Consider three CPU intensive processes P1, P2, P3 which require 20, 10 and 30 units of time, arrive at times 1, 3 and 7 respectively. Suppose operating system is implementing Shortest Remaining Time first (preemptive scheduling) algorithm, then _____ context switches are required (suppose context switch at the beginning of Ready queue and at the end of Ready queue are not counted).
(A) 3
(B) 2
(C) 4
(D) 5


Answer: (A)

Explanation: 40
There are 3 context switch.
So. option (A) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :