136k views
2 votes
The portion of the process scheduler in an operating system that dispatches processes is concerned with :

a) assigning ready processes to CPU
b) assigning ready processes to waiting queue
c) assigning running processes to blocked queue
d) All of these

User Dstromberg
by
8.2k points

1 Answer

4 votes

Final answer:

Option A: The process scheduler's dispatcher assigns ready processes to the CPU. It is responsible for context switching, transitioning to user mode, and directing the process into the program.

Step-by-step explanation:

The portion of the process scheduler in an operating system that dispatches processes is most concerned with assigning ready processes to CPU. The dispatcher is the component of the scheduler system that gives control of the CPU to the process selected by the short-term scheduler; this involves: switching context, switching to user mode, and jumping to the proper location in the newly loaded program. The other options such as assigning processes to a waiting queue or blocked queue are typically handled earlier in the process scheduling or by other components of the operating system. Other queuing tasks are managed by different system components.

The portion of the process scheduler in an operating system that dispatches processes is concerned with assigning ready processes to CPU, assigning ready processes to waiting queue, and assigning running processes to blocked queue. The process scheduler is responsible for determining which process should be executed next on the CPU, based on various scheduling algorithms. The scheduler considers factors like priority, waiting time, and resource availability to make these assignments.

User Pulkit Chadha
by
7.6k points