Which module gives control of the CPU to the process selected by the short-term scheduler?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. Dispatcher
Explanation
The short-term (CPU) scheduler only decides which ready process should run next; a separate module called the dispatcher is the one that actually performs the context switch, loads that process's registers, switches to user mode and jumps to the correct location to hand the CPU over to it. 'Interrupt' refers to hardware or software signals that transfer control to the kernel, not to assigning the CPU to a chosen process, and 'Scheduler' is the component that makes the selection decision rather than executing the switch. 'Threading' is unrelated to this handoff mechanism. Hence the correct module is the dispatcher, option (i).More Discrete Structures and Optimization questions
- A fair share scheduler computes the priority of a process based on which of the following? (1) Processor utilization by the individual proc…
- Which of the following CPU scheduling algorithms may cause starvation of a process? (1) First-Come-First-Served (2) Round Robin (3) Priorit…
- A scheduling algorithm assigns a process's priority proportional to how long it has been waiting; every process starts at priority zero (th…
- Match List I with List II List I List II
- Choose the correct statement for a group G :
- Which one of the following is not a basic solution of the system of linear equations x₁ + 2x₂ + x₃ = 4, 2x₁ + x₂ + 5x₃ = 5?