Operating Systems Concepts

Q1: The main function of the dispatcher (the portion of the process scheduler) is

A swapping a process to the disk

B assigning ready process to the CPU

C suspending some of the processes when the CPU load is high

D bring processes from the disk to the main memory

E None of the above

ANS:B - assigning ready process to the CPU

Normally there are 3 types of schedulers available in operating systems.

1. Long term scheduler
2. Mid term scheduler
3. Short term scheduler

The short term scheduler is also called as the dispatcher which selects the process from the waiting queue and allocates the CPU to that process.

Whereas the Long term scheduler (Admission scheduler) decides which process should be placed in the main memory and updates the waiting queue. This long scheduler is important in the large bound systems like super computers and may not be used frequently as the short term scheduler.

The mid term scheduler available in all systems which is responsible for the swapping in and out operations which means loading the process into, main memory from secondary memory (swap in) and take out the process from main memory and store it into the secondary memory (swap out).



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.