0 votes
117 views
in Operating System by (98.9k points)
edited
Define the difference between preemptive and non-preemptive scheduling.

1 Answer

0 votes
by (98.9k points)
selected by
 
Best answer
Feature Preemptive Scheduling Non-Preemptive Scheduling
CPU allocation Can be interrupted at any time Runs until completion or voluntarily yields CPU
Priority Higher priority processes can interrupt lower priority processes No priority levels for processes
Responsiveness Processes can be responsive to system events and changes Processes may not be able to respond quickly to system events
Resource Utilization Less efficient, as there is overhead in context switching More efficient, as there is less overhead in context switching
Complexity More complex, requires more management by the operating system Less complex, easier to manage by the operating system
Examples Real-time operating systems, multitasking environments Single-tasking environments, older operating systems

Related questions

0 votes
1 answer 101 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

557 users

...