COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

OPERATING SYSTEMS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Preemption means
A
process can be paused by system
B
process cannot be halted once execution begins
C
process has high priority
D
process is short
Explanation: 

Detailed explanation-1: -When a higher priority process becomes dispatchable, the kernel interrupts its computation and forces the context switch, preempting the currently running process. A process can be preempted at any time if the kernel finds that a higher-priority process is now dispatchable.

Detailed explanation-2: -Pre-emption is a form of multitasking in which the scheduler interrupts and suspends a currently running task in order to resume a previously suspended task. This activity takes place on just about every operating system available.

Detailed explanation-3: -Preemption is the act of interrupting a task currently running on the CPU, usually to execute a higher-priority task, with the intention of resuming the interrupted task at a later time.

Detailed explanation-4: -Preemption occurs at the time when the processor acknowledges the new interrupt, and starts to service it in preference to the previously active interrupt or the currently running process. When this occurs, the initial active interrupt is said to have been preempted.

There is 1 question to complete.