...
Question 3574 – UGC NET CS 2016 Aug- paper-2
May 29, 2024
Question 3597 – UGC NET CS 2016 Aug- paper-2
May 29, 2024
Question 3574 – UGC NET CS 2016 Aug- paper-2
May 29, 2024
Question 3597 – UGC NET CS 2016 Aug- paper-2
May 29, 2024

Question 3587 – UGC NET CS 2016 Aug- paper-2

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).

Correct Answer: A

Question 40 Explanation: 

P​ 1​ → P​ 2​ is one switch
P​ 2​ → P​ 1​ is 2nd switch
P​ 3​ → P​ 3​ is 3rd switch
A
3
B
2
C
4
D
5
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!