Deck 9: Uniprocessor Scheduling

Full screen (f)
exit full mode
Question
Which of the following scheduling policies allow the O/S to interrupt the currently running process and move it to the Ready state?

A) FIFO
B) FCFS
C) non-preemptive
D) preemptive
Use Space or
up arrow
down arrow
to flip the card.
Question
Round robin is particularly effective in a general purpose time sharing system or transaction processing system.
Question
The objective of a fair-share scheduler is to monitor usage to give fewer resources to users who have had more than their fair share, and more to those who have had less than their fair share.
Question
In fair share scheduling each user is assigned a weighting of some sort that defines that user's share of system resources as a fraction of the total usage of those resources.
Question
The main objective of long-term scheduling is to allocate processor time in such a way as to optimize one or more aspects of system behavior.
Question
In most interactive operating systems adequate response time is the critical requirement.
Question
The __________ specifies the instants in time at which the selection function is exercised.

A) decision mode
B) medium-term scheduling
C) ready state
D) TAT
Question
In a multiprogramming system multiple processes exist concurrently in main memory.
Question
The medium-term scheduler is invoked whenever an event occurs that may lead to the blocking of the current process or that may provide an opportunity to preempt a currently running process in favor of another.
Question
The _________ determines which process, among ready processes, is selected next for execution.

A) decision mode
B) selection function
C) TAT
D) long-term scheduler
Question
First-come-first-served (FCFS) is a simple scheduling policy that tends to favor I/O bound processes over processor bound processes.
Question
A disadvantage of simulation is that results for a given run only apply to that particular collection of processes under that particular set of assumptions.
Question
One problem with a pure priority scheduling scheme is that lower-priority processes may suffer starvation.
Question
In the Highest Response Ration Next (HRRN) scheduling policy, longer jobs are favored because they yield a larger ratio from the smaller denominator in the equation.
Question
FCFS performs much better for short processes than long ones.
Question
The traditional UNIX scheduler employs multilevel feedback using round robin within each of the priority queues.
Question
The key to multiprogramming is scheduling.
Question
The decision as to which available process will be executed by the processor:

A) long-term scheduling
B) I/O scheduling
C) medium-term scheduling
D) short-term scheduling
Question
Scheduling affects the performance of the system because it determines which processes will wait and which will progress.
Question
The traditional UNIX scheduler divides processes into fixed bands of priority levels, with the highest priority band being the _________ .

A) user process band
B) swapper band
C) file manipulation band
D) utilization band
Question
Response time in an interactive system is an example of:

A) user-oriented criteria for long-term scheduling policies
B) system-oriented criteria for short-term scheduling policies
C) system-oriented criteria for long-term scheduling policies
D) user-oriented criteria for short-term scheduling policies
Question
The decision as to which process' pending I/O request shall be handled by an available I/O device:

A) long-term scheduling
B) short-term scheduling
C) I/O scheduling
D) medium-term scheduling
Question
__________ considers the execution history of a related group of processes along with the individual execution history of each process in making scheduling decisions.

A) TAT
B) HRRN
C) FSS
D) FCFS
Question
In terms of the queuing model, __________ is the total time that the item spends in the system (waiting time plus service time).
Question
_________ is the elapsed time between the submission of a request until the response begins to appear as output.
Question
The _________ scheduler determines which programs are admitted to the system for processing.
Question
Typically, the swapping-in function for processes is based on the need to manage __________ .

A) the degree of multiprogramming
B) I/O requirements
C) process priorities
D) virtual memory
Question
A common technique for predicting a future value on the basis of a time series of past values is __________ .
Question
Giving each process a slice of time before being preempted is a technique known as __________ .
Question
In the case of the __________ policy, the scheduler always chooses the process that has the shortest expected remaining processing time.

A) SRT
B) FCFS
C) SPN
D) HRRN
Question
The strategy that schedules processes based on their group affiliation is generally referred to as _________ .

A) shortest process next
B) fair share scheduling
C) queuing analysis
D) simulation modeling
Question
The simplest scheduling policy is __________ .
Question
The __________ approach means that the operating system allocates the processor to a process and when the process blocks or is preempted, feeds it back into one of several priority queues.
Question
The operating system must make _________ types of scheduling decisions with respect to the execution of processes.

A) six
B) four
C) five
D) three
Question
This is a decision whether to add a new process to the set of processes that are currently active:

A) short-term scheduling
B) long-term scheduling
C) medium-term scheduling
D) I/O scheduling
Question
The aim of __________ is to assign processes to be executed by the processor or processors over time, in a way that meets system objectives, such as response time, throughput, and processor efficiency.
Question
__________ scheduling is part of the swapping function.
Question
This is a decision whether to add a process to those that are at least partially in main memory and therefore available for execution:

A) long-term scheduling
B) I/O scheduling
C) short-term scheduling
D) medium-term scheduling
Question
The __________ scheduler executes most frequently and makes the fine-grained decision of which process to execute next.
Question
A risk with _________ is the possibility of starvation for longer processes, as long as there is a steady supply of shorter processes.

A) SRT
B) SPN
C) FIFO
D) FCFS
Question
The traditional UNIX scheduler, such as those used in SVR3 and 4.3 BSD UNIX systems, divides processes into fixed __________ of priority levels.
Question
The need to know or estimate required processing times for each process, the starvation of longer processes, and the lack of preemption are all difficulties with the __________ scheduling technique.
Question
Response time and throughput are examples of __________ criteria for short term scheduling.
Question
A scheduling mechanism that requires no prior knowledge of process length, yet can nevertheless favor shorter jobs, is known as the __________ scheduling mechanism.
Question
_________ is a scheduling policy in which the process with the shortest expected processing time is selected next, and if a shorter process becomes ready in the system, the currently running process is preempted.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/45
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 9: Uniprocessor Scheduling
1
Which of the following scheduling policies allow the O/S to interrupt the currently running process and move it to the Ready state?

A) FIFO
B) FCFS
C) non-preemptive
D) preemptive
D
2
Round robin is particularly effective in a general purpose time sharing system or transaction processing system.
True
3
The objective of a fair-share scheduler is to monitor usage to give fewer resources to users who have had more than their fair share, and more to those who have had less than their fair share.
True
4
In fair share scheduling each user is assigned a weighting of some sort that defines that user's share of system resources as a fraction of the total usage of those resources.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
5
The main objective of long-term scheduling is to allocate processor time in such a way as to optimize one or more aspects of system behavior.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
6
In most interactive operating systems adequate response time is the critical requirement.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
7
The __________ specifies the instants in time at which the selection function is exercised.

A) decision mode
B) medium-term scheduling
C) ready state
D) TAT
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
8
In a multiprogramming system multiple processes exist concurrently in main memory.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
9
The medium-term scheduler is invoked whenever an event occurs that may lead to the blocking of the current process or that may provide an opportunity to preempt a currently running process in favor of another.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
10
The _________ determines which process, among ready processes, is selected next for execution.

A) decision mode
B) selection function
C) TAT
D) long-term scheduler
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
11
First-come-first-served (FCFS) is a simple scheduling policy that tends to favor I/O bound processes over processor bound processes.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
12
A disadvantage of simulation is that results for a given run only apply to that particular collection of processes under that particular set of assumptions.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
13
One problem with a pure priority scheduling scheme is that lower-priority processes may suffer starvation.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
14
In the Highest Response Ration Next (HRRN) scheduling policy, longer jobs are favored because they yield a larger ratio from the smaller denominator in the equation.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
15
FCFS performs much better for short processes than long ones.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
16
The traditional UNIX scheduler employs multilevel feedback using round robin within each of the priority queues.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
17
The key to multiprogramming is scheduling.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
18
The decision as to which available process will be executed by the processor:

A) long-term scheduling
B) I/O scheduling
C) medium-term scheduling
D) short-term scheduling
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
19
Scheduling affects the performance of the system because it determines which processes will wait and which will progress.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
20
The traditional UNIX scheduler divides processes into fixed bands of priority levels, with the highest priority band being the _________ .

A) user process band
B) swapper band
C) file manipulation band
D) utilization band
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
21
Response time in an interactive system is an example of:

A) user-oriented criteria for long-term scheduling policies
B) system-oriented criteria for short-term scheduling policies
C) system-oriented criteria for long-term scheduling policies
D) user-oriented criteria for short-term scheduling policies
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
22
The decision as to which process' pending I/O request shall be handled by an available I/O device:

A) long-term scheduling
B) short-term scheduling
C) I/O scheduling
D) medium-term scheduling
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
23
__________ considers the execution history of a related group of processes along with the individual execution history of each process in making scheduling decisions.

A) TAT
B) HRRN
C) FSS
D) FCFS
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
24
In terms of the queuing model, __________ is the total time that the item spends in the system (waiting time plus service time).
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
25
_________ is the elapsed time between the submission of a request until the response begins to appear as output.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
26
The _________ scheduler determines which programs are admitted to the system for processing.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
27
Typically, the swapping-in function for processes is based on the need to manage __________ .

A) the degree of multiprogramming
B) I/O requirements
C) process priorities
D) virtual memory
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
28
A common technique for predicting a future value on the basis of a time series of past values is __________ .
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
29
Giving each process a slice of time before being preempted is a technique known as __________ .
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
30
In the case of the __________ policy, the scheduler always chooses the process that has the shortest expected remaining processing time.

A) SRT
B) FCFS
C) SPN
D) HRRN
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
31
The strategy that schedules processes based on their group affiliation is generally referred to as _________ .

A) shortest process next
B) fair share scheduling
C) queuing analysis
D) simulation modeling
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
32
The simplest scheduling policy is __________ .
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
33
The __________ approach means that the operating system allocates the processor to a process and when the process blocks or is preempted, feeds it back into one of several priority queues.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
34
The operating system must make _________ types of scheduling decisions with respect to the execution of processes.

A) six
B) four
C) five
D) three
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
35
This is a decision whether to add a new process to the set of processes that are currently active:

A) short-term scheduling
B) long-term scheduling
C) medium-term scheduling
D) I/O scheduling
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
36
The aim of __________ is to assign processes to be executed by the processor or processors over time, in a way that meets system objectives, such as response time, throughput, and processor efficiency.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
37
__________ scheduling is part of the swapping function.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
38
This is a decision whether to add a process to those that are at least partially in main memory and therefore available for execution:

A) long-term scheduling
B) I/O scheduling
C) short-term scheduling
D) medium-term scheduling
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
39
The __________ scheduler executes most frequently and makes the fine-grained decision of which process to execute next.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
40
A risk with _________ is the possibility of starvation for longer processes, as long as there is a steady supply of shorter processes.

A) SRT
B) SPN
C) FIFO
D) FCFS
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
41
The traditional UNIX scheduler, such as those used in SVR3 and 4.3 BSD UNIX systems, divides processes into fixed __________ of priority levels.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
42
The need to know or estimate required processing times for each process, the starvation of longer processes, and the lack of preemption are all difficulties with the __________ scheduling technique.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
43
Response time and throughput are examples of __________ criteria for short term scheduling.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
44
A scheduling mechanism that requires no prior knowledge of process length, yet can nevertheless favor shorter jobs, is known as the __________ scheduling mechanism.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
45
_________ is a scheduling policy in which the process with the shortest expected processing time is selected next, and if a shorter process becomes ready in the system, the currently running process is preempted.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 45 flashcards in this deck.