GATE CS 2006 – Question 62

Multiple choice 2 marks Question 62 2006

Question 62

MCQ 2 marks · −0.66 Operating Systems

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.

Answers and explanations are free — they just need an account.

Where this question comes from

Source: GATE 2006 Computer Science and Engineering (question number approximate)