Ask Question

What is a preemptive CPU scheduling algorithm? Give an example and explain.

+5
Answers (1)
  1. 30 January, 14:33
    0
    preemptive scheduling follows round robin where each process is given for some amount of time to execute

    Explanation:

    In this scheduling algorithm, the CPU allocates limited time for the process to execute. The execution of the process interrupted in middle if any high priority one comes in to the queue. Here context switching will save the current state of the process and resumes later. In general the process moves from ready to waiting and vice versa. It has overhead of scheduling the process and is cost associated with it
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What is a preemptive CPU scheduling algorithm? Give an example and explain. ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers