CPU Scheduling Concepts
- 58Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
58 questions
- 1The operating-system component that decides which process gets CPU time is the_____.
Hint
It makes the decision that the dispatcher later carries out.
Answer
scheduler
- 2On a system with multiple CPUs, the scheduler decides which process gets which CPU and_____.
Hint
The decision includes both processor assignment and duration.
Answer
for how long
- 3To introduce key scheduling concepts before studying systems with several processors, the discussion initially assumes_____.
Hint
This is the simpler processor configuration.
Answer
a single CPU
- 4Scheduling across systems with multiple processors is called_____.
Hint
The term combines scheduling with the use of multiple processors.
Answer
multiprocessor scheduling
- 5A CPU burst consists of operations that do not involve I/O or system calls requesting a service from_____.
Hint
These are operations that do not require operating-system intervention.
Answer
the system
- 6Arithmetic operations such as addition and multiplication are considered_____operations during a burst.
Hint
They execute as part of the processor's work rather than requesting I/O.
Answer
CPU
- 7Even though they access memory, load and store instructions count as_____operations from the operating system's point of view.
Hint
The operating system counts the time while the process has the processor, even if memory is doing some of the work.
Answer
CPU
- 8A process reading from a file or keyboard requires operating-system intervention through a_____.
Hint
This is how a process requests a service from the operating system.
Answer
system call
- 9When a process requests I/O, the request marks the end of its current_____.
Hint
It is the period of operations that do not involve I/O.
Answer
CPU burst
- 10After an I/O request ends a CPU burst, the process begins an_____while the I/O service is performed.
Hint
This period corresponds to the requested input or output activity.
Answer
I/O burst
- 11While its requested I/O service is incomplete, a process is in the_____state.
Hint
It cannot continue until the I/O finishes.
Answer
waiting
- 12When I/O completes, a process moves from waiting to the_____state, rather than immediately receiving the CPU.
Hint
It is eligible to run but must still be chosen by the scheduler.
Answer
ready
- 13A process executing operations in a CPU burst, including memory operations, is in the_____state.
Hint
This state means the process currently has the CPU.
Answer
running
- 14If a load or store stalls the CPU while the process still has the processor, the time is counted as_____for that process.
Hint
The operating system counts the interval based on which process has the CPU.
Answer
CPU time
- 15Unlike time spent on a memory operation while the process has the CPU, time spent waiting for I/O is not_____.
Hint
This is the type of time the operating system attributes to a process that has the processor.
Answer
CPU time
- 16In a CPU-burst distribution histogram, the horizontal axis represents burst_____.
Hint
It shows how long each burst lasts.
Answer
duration
- 17In a CPU-burst distribution histogram, the vertical axis represents how_____each burst length occurs.
Hint
It indicates the frequency of occurrence.
Answer
frequently
- 18The most common CPU burst length described in the distribution is about_____.
Hint
It is the shorter, frequently occurring duration mentioned in the example.
Answer
two milliseconds
- 19CPU bursts longer than_____are described as rare.
Hint
This is the duration beyond which bursts are unusual in the example.
Answer
eight milliseconds
- 20Long CPU bursts are uncommon largely because processes often request_____before running for that long.
Hint
Reading input or files and writing output are examples.
Answer
I/O
- 21A processor running at one gigahertz performs about_____cycles per second.
Hint
One giga represents a billion.
Answer
one billion
- 22In the example, an add operation takes about one cycle, while a multiply takes_____cycles.
Hint
It takes more than the single cycle attributed to addition, but not hundreds.
Answer
a few
- 23A load that misses in cache and must access main memory can take up to_____cycles.
Hint
It takes substantially longer than a simple arithmetic operation.
Answer
hundreds of
- 24The example uses about_____cycles per operation as a reasonable average for estimating operation counts.
Hint
The speaker describes this estimate as somewhat short, while 100 is too long.
Answer
10
- 25The short-term scheduler selects a process from the_____and gives it the CPU.
Hint
This holds processes that are eligible to run.
Answer
ready queue
- 26In operating-system terminology, the ready queue is not necessarily implemented as a literal_____.
Hint
The name does not require a specific underlying data structure.
Answer
queue
- 27A ready queue may be implemented using any suitable data structure, such as a FIFO queue, priority queue, or_____.
Hint
It is a hierarchical data structure listed alongside queue implementations.
Answer
tree
- 28Modern operating systems commonly assign processes a_____that can influence scheduling.
Hint
It helps determine which process should be selected first.
Answer
priority
- 29Realistic scheduling algorithms are described as being_____.
Hint
They use the process ranking that modern operating systems maintain.
Answer
priority-based
- 30Because priority-based scheduling organizes processes by priority, a ready queue may be implemented with a priority queue or a_____.
Hint
This alternative can also organize data by priority.
Answer
tree
- 31When a running process requests I/O, a scheduling decision is needed as it switches from running to_____.
Hint
The process enters this state while its I/O service is incomplete.
Answer
waiting
- 32When a timer interrupt takes the CPU from a running process, that process switches from running to_____.
Hint
The interrupted process remains eligible to run again.
Answer
ready
- 33Taking the CPU from a running process by interrupting it is called_____scheduling.
Hint
This scheduling model allows the system to interrupt a process.
Answer
preemptive
- 34An operating system needs a hardware_____to interrupt a process and implement preemptive scheduling.
Hint
It can generate the interrupt that limits how long a process runs.
Answer
timer
- 35In non-preemptive scheduling, a process keeps the CPU until it_____it.
Hint
The process must give up the CPU itself rather than being interrupted.
Answer
releases
- 36Besides a running-to-waiting or running-to-ready transition, a scheduling decision can occur when a process switches from waiting to_____.
Hint
This transition commonly follows completion of I/O.
Answer
ready
- 37A process_____is another event at which the system may make a scheduling decision.
Hint
This event occurs when the process finishes.
Answer
termination
- 38The operating-system component that carries out a scheduler's CPU-allocation decision is the_____.
Hint
It implements the decision rather than choosing the process.
Answer
dispatcher
- 39During a context switch, the dispatcher saves the state of the process that lost the CPU and_____the state of the process about to run.
Hint
It returns the incoming process to its saved execution state.
Answer
restores
- 40Before a user process runs, the dispatcher must switch the processor to_____mode.
Hint
This mode prevents the process from having kernel-level privileges.
Answer
user
- 41After restoring a process's state, the dispatcher transfers control to the proper_____in the process.
Hint
It is where the process should resume execution.
Answer
location
- 42The time required for the dispatcher to perform its work is called_____.
Hint
It measures the delay involved in carrying out a scheduling decision.
Answer
dispatch latency
- 43The proportion of time the CPU is busy is measured by CPU_____.
Hint
It is a scheduling criterion that the system generally seeks to increase.
Answer
utilization
- 44The number of operations completed within a specified time period is the system's_____.
Hint
It measures completed work per interval.
Answer
throughput
- 45The time from a task's submission to its completion is its_____.
Hint
It covers the task's total time from start to finish.
Answer
turnaround time
- 46The time a process spends in the ready queue is its_____.
Hint
It measures time eligible to run but not yet given the CPU.
Answer
waiting time
- 47The time between a task's submission and the system's first response is its_____.
Hint
It measures the delay until the user first sees a reaction.
Answer
response time
- 48When assessing scheduling algorithms in this chapter, the primary measure emphasized is average_____.
Hint
It averages how long processes remain in the ready queue.
Answer
waiting time
- 49Although average measures are commonly optimized, in some cases it can be useful to optimize the_____or maximum value.
Hint
It is the other endpoint considered alongside the maximum.
Answer
minimum
- 50Minimizing the maximum response time can help make a system more_____.
Hint
This quality describes a system that responds promptly to users.
Answer
interactive
- 51Reducing the time quantum generally improves response time because more processes can make progress_____.
Hint
They get opportunities to run during overlapping periods rather than one process running for a long stretch.
Answer
concurrently
- 52A shorter time quantum can make a system feel more_____to its users.
Hint
Users receive earlier indications that their processes are making progress.
Answer
responsive
- 53A shorter time quantum can increase turnaround time because it causes more frequent_____.
Hint
The kernel must save and restore process states more often.
Answer
context switching
- 54Because context switching uses time that could otherwise do useful work, a shorter time quantum can reduce_____.
Hint
This criterion counts completed work over a period of time.
Answer
throughput
- 55The extra time spent on context switching with a very short time quantum can lead to poor resource_____.
Hint
It concerns how efficiently the system uses its resources.
Answer
utilization
- 56Choosing a time quantum requires balancing user requirements against_____requirements.
Hint
These requirements include using resources efficiently.
Answer
system
- 57A time quantum that is too short may improve responsiveness while making the system's resource use_____.
Hint
The increased context-switching overhead works against efficient use.
Answer
inefficient
- 58The effect of a scheduling change that improves one criterion but harms another is a_____.
Hint
It requires balancing competing outcomes.
Answer
tradeoff

Ask anything
We've read this whole study set, so questions about it get the best answers.