ЁЯУв Too many exams? DonтАЩt know which one suits you best? Book Your Free Expert ЁЯСЙ call Now!

  • google app store apple app store
  • тЬЦ

      Question

      What is the difference between 'preemptive' and

      'non-preemptive' scheduling?
      A Preemptive scheduling runs on multi-core CPUs; non-preemptive runs on single-core only Correct Answer Incorrect Answer
      B Preemptive scheduling is used for I/O-bound processes; non-preemptive scheduling is used for CPU-bound processes Correct Answer Incorrect Answer
      C In preemptive scheduling, a process runs until it voluntarily releases the CPU ; in non-preemptive, the OS can interrupt a running process and assign CPU to another Correct Answer Incorrect Answer
      D Preemptive scheduling uses FIFO; non-preemptive scheduling uses priority queues Correct Answer Incorrect Answer
      E In preemptive scheduling, the OS can interrupt a running process and assign CPU to another; in non-preemptive, a process runs until it voluntarily releases the CPU Correct Answer Incorrect Answer

      Solution

      Preemptive scheduling (Round Robin, Preemptive Priority) allows the OS to forcibly remove a process from the CPU тАФ better for interactive systems and real-time requirements. Non-preemptive (FCFS, SJF non-preemptive) тАФ a process holds the CPU until it completes or blocks for I/O. Preemptive is standard in modern OS (Windows, Linux). Non-preemptive is simpler but risks monopolization. Context switching overhead is higher in preemptive systems.

      Practice Next
      More IT Operating System Questions

      Relevant for Exams:

      ask-question