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?

Input/output (i/o) unit, Input/output (I/o) unit: This unit provides th...

Input/output (I/o) unit: This unit provides the interface between the computer and the computer peripherals. A computer peripheral is any unit, which is attached to, but is no

Functions, difference between recursion and iteration

difference between recursion and iteration

Communication channels, COMMUNICATION CHANNELS: A wire pair connecting...

COMMUNICATION CHANNELS: A wire pair connecting two telephones is the simplest circuit, allowing communication in both directions. Other channels include coaxial cables, optica

Write the function pop in c, QUESTION (a) Convert each of the following...

QUESTION (a) Convert each of the following expressions to prefix and postfix. (i) (A+B)*(C+D) (ii) A-B/(C*D^E) (^ denotes exponentiation) (b) The following algorithm c

Assembly language, Questions 1) Polynomial Integrals Problem: Write an X86-...

Questions 1) Polynomial Integrals Problem: Write an X86-series assembly language program that calculates and prints out (in a nice form) the indefinite integral of a simple polynom

Special-purpose and general-purpose computers, SPECIAL-PURPOSE AND GENERAL-...

SPECIAL-PURPOSE AND GENERAL-PURPOSE COMPUTERS In general, there are two types of digital computers. The first is the special-purpose digital computer, which performs a f

Hypertext markup language (html), HTML is a Formatting language which is mo...

HTML is a Formatting language which is most commonly used for web documents.

Input devices of a digital computer, Input devices of a digital computer: ...

Input devices of a digital computer: Input devices are used to read the instructions and data to be processed and output devices display the results obtained after executing t

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