Thursday, 7 May 2015

Q29,paper2,june 12.Pre-emptive scheduling is the strategy of temporarily sus-pending a gunning process.


Options (A) Before the CPU time slice expires. (B) To allow starving processes to run. (C) When it requests I/O. (D) To avoid collision.
Answer (A) Before the CPU time slice expires.
Explantaion.
Preemption is the act of temporarily interrupting a task being carried out by a computer system, without requiring its cooperation, and with the intention of resuming the task at a later time. Such a change is known as a context switch. It is normally carried out by a privileged task or part of the system known as a preemptive scheduler, which has the power to preempt, or interrupt, and later resume, other tasks in the system.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.