Differentiate Preemptive and Nonpreemptive Scheduling?, Basic Computer Science

Assignment Help:
The Scheduling algorithms can be divided into two parts with respect to how they deal with clock interrupts.
1) Nonpreemptive Scheduling:
A scheduling discipline is no preemptive if, once a process has been given the CPU, the CPU cannot be taken away from that process.
Following are some characteristics of nonpreemptive scheduling

a) In nonpreemptive system, short jobs are produced to wait by longer jobs but the complete treatment of all processes is fair.
b) In nonpreemptive system, response times are more expected because incoming high priority jobs cannot relocate waiting jobs.
c) In nonpreemptive scheduling, a scheduler executes jobs in the following two conditions.
o When a process switches from running condition to the waiting state.
o When a process come to an end.

2) Preemptive Scheduling:
A scheduling regulation is preemptive if, one time a process has been given the CPU can taken away.

The policy of allowing processes that are logically run able to be for now suspended is called Preemptive Scheduling and it is contrast to the "run to completion" technique.

Related Discussions:- Differentiate Preemptive and Nonpreemptive Scheduling?

Internet, Explain how the internet works

Explain how the internet works

Global positioning system, How does GPS work in the field of Sport or athle...

How does GPS work in the field of Sport or athletics?

Utility , what are the definition?

what are the definition?

What is a view, Question (a) What is a view? (b) Can we use a view t...

Question (a) What is a view? (b) Can we use a view to insert or update a record into a table? Do we have any limitation to perform the above command? (c) The syntax to cr

Explain the raster scan display system, Question 1 Explain boundary fill a...

Question 1 Explain boundary fill and flood fill polygon filling algorithm Question 2 Draw and explain the block diagram of typical workstation Question 3 Explain the ras

Data Mining Assignment (by Weka), Hi there, I''m just asking that do you d...

Hi there, I''m just asking that do you do data mining assignment?

Grammar, Given the following grammar: -> [ , ] | -> | { } -> a...

Given the following grammar: -> [ , ] | -> | { } -> a | b | cwhich are the strings generated by the grammar? Show the parse tree(s). a). { [ a , b ] }b). [ { a } , b ]

Computers, Computers One of the most  important invention in the desig...

Computers One of the most  important invention in the design of digital  circuits  is that  of the general- purpose "stored program" computer or device. Computers are a partic

Design problem, Design Problem 1. Implement a basic file system managed fr...

Design Problem 1. Implement a basic file system managed from within a file. The file system should have the following capabilities: i. List files stored along with their sizes.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd