Machine-translated by Google. Questions are authored in English.
Top

Discussion

Pre-emptive scheduling is the strategy of temporarily suspending a gunning process

  • A.before the CPU time slice expires
  • B.to allow starving processes to run
  • C.when it requests I/O
  • D.to avoid collision

Answer: A

Pre-emptive scheduling suspends a running process before the CPU time slice expires.

In pre-emptive scheduling the operating system can take the CPU from a process that is still running, for example because a higher priority process has arrived, without waiting for the process to finish its quantum or give up the CPU. Allowing starving processes to run (B) is an aim of aging, suspension on an I/O request (C) happens in non-pre-emptive systems too, and avoiding collision (D) is not a scheduling concept.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.