Process Scheduling Flashcards

1
Q

is the act of selecting a job or a task that is to be dispatched.

A

Scheduling or process scheduling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

This queue contains all the processes in the system

A

Job queue

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

This queue keeps a set of all processes residing in the main memory, ready and waiting to execute. A new process is always added to this queue

A

Ready queue

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

This queue contains processes waiting for a device to become available. Note that there are unique queues available for each I/O device.

A

Device queue

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

This involves a long-term scheduler, also known as a job scheduler, that determines which programs are admitted to the system for processing.

Thus, it controls the degree of multiprogramming.

If the degree of multiprogramming is stable, then the average rate of process creation must be equal to the average departure rate of processes of the system.

The primary objective of the job scheduler is to provide a balanced mix of jobs.

A

Long-term scheduling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

This involves a short-term scheduler, also known as the dispatcher, that is invoked whenever an event that may lead to the blocking of the current process occurs.

A

Short-term scheduling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

This is a part of the swapping function. The … is in charge of handling the swapped-out processes.

on the other hand, the swapping-in decision is based on the need to manage the degree of multiprogramming. This actually reduces the degree of multiprogramming.

A

Medium-term scheduling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A running processes becomes suspended if its makes an I/O request, wherein it cannot make any progress towards completion.

In order to remove the process from the memory and make space for other processes, the suspended process is moved to the secondary storage. Hence, the process of swapping

A

Swapping

How well did you know this?
1
Not at all
2
3
4
5
Perfectly