Consider three CPU-intensive processes, which require 10, 20 and 30 time units…

ISRO Scientist/Engineer SC · 2009 · Computer ScienceGATE · 2006 · CS

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.

  1. A.

    1

  2. B.

    2

  3. C.

    3

  4. D.

    4

Attempted by 835 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…