[amp_mcq option1=”swapping a process to the disk” option2=”assigning ready process to the CPU” option3=”suspending some of the processes when the CPU load is high” option4=”bring processes from the disk to the main memory E. None of the above” correct=”option2″]
The correct answer is: B. assigning ready process to the CPU
The dispatcher is a part of the process scheduler that is responsible for selecting a process from the ready queue and scheduling it to run on the CPU. The dispatcher is typically implemented as a kernel thread that is always running. When a process is ready to run, the dispatcher preempts the current running process and switches to the new process.
The other options are incorrect because:
- Option A is the function of the swapper.
- Option C is the function of the scheduler.
- Option D is the function of the memory manager.
- Option E is not a valid option.