Process Scheduling
- 89Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
89 questions
- 1In the general scheduling analogy, scheduling means assigning a resource to someone at a particular_____.
Hint
Think about what determines when a class or meeting takes place.
Answer
time
- 2In process scheduling, the resource to which the operating system assigns a process is the_____.
Hint
This component executes program instructions.
Answer
CPU
- 3Process scheduling is also called_____scheduling because it assigns processes to that component.
Hint
Use the name of the resource that executes processes.
Answer
CPU
- 4When many processes are waiting but the system has only one CPU, the operating system must select a process from the_____queue.
Hint
This queue holds processes prepared to run but not currently using the CPU.
Answer
ready
- 5Because a system has a limited number of CPUs, the operating system must choose which waiting process gets access to the_____.
Hint
The selected process is assigned to the processor for execution.
Answer
CPU
- 6A scheduling system should ensure that processes do not wait indefinitely, a problem called_____.
Hint
This occurs when a process is continually denied a chance to run.
Answer
starvation
- 7The scheduler examines the queue and decides_____process should run next.
Hint
It makes a selection among the waiting processes.
Answer
which
- 8After the scheduler selects a process, the component that transfers it to the CPU is the_____.
Hint
This component carries out the scheduler’s selection.
Answer
dispatcher
- 9The scheduler and dispatcher are two distinct_____of the operating system’s scheduling activity.
Hint
One selects a process; the other transfers it to the CPU.
Answer
components
- 10Scheduling can apply to processes and also to_____.
Hint
These are units of execution that can exist within a process.
Answer
threads
- 11In the mail-server example, each user login can cause a new_____to be created.
Hint
It is an executing instance that may then wait for CPU service.
Answer
process
- 12A scheduler serving many users should aim to make their experience feel responsive, rather than noticeably_____.
Hint
The goal is for a requested service to arrive quickly.
Answer
delayed
- 13A program commonly alternates between computation and_____activity.
Hint
This activity involves communication with devices such as a disk or console.
Answer
I/O
- 14A period during which a process performs computation on the processor is called a_____burst.
Hint
It is the type of burst associated with processor activity.
Answer
CPU
- 15A period during which a process performs input/output activity is called an_____burst.
Hint
It is the burst associated with devices such as disks.
Answer
I/O
- 16CPU bursts and I/O bursts in a program do not have to be_____in duration.
Hint
The content notes that I/O bursts often take much longer.
Answer
equal
- 17Compared with the CPU, I/O operations are generally much_____.
Hint
Many CPU operations can occur during the time needed for a small number of I/O operations.
Answer
slower
- 18While a process is waiting for an I/O operation, its CPU is generally_____with respect to that process.
Hint
The process is waiting on the device rather than performing computation.
Answer
idle
- 19In the described I/O arrangement, direct memory access allows I/O to occur without involving the_____.
Hint
The device transfers data in coordination with memory.
Answer
CPU
- 20If only one process runs, its I/O burst can leave the CPU idle; running another process’s CPU burst during that time creates_____between computation and I/O.
Hint
Different jobs can use the CPU and an I/O device during the same period.
Answer
overlap
- 21Overlapping one process’s CPU burst with another process’s I/O burst can improve utilization of both the CPU and the_____device.
Hint
This is the device performing the other process’s input/output.
Answer
I/O
- 22A job with substantial computation, such as matrix multiplication, is described as_____-bound.
Hint
Its main demand is for processor time.
Answer
CPU
- 23A job whose performance is dominated by input/output activity is described as_____-bound.
Hint
Its main demand is for operations involving devices or data transfer.
Answer
I/O
- 24For multiplying two n×n matrices, the content contrasts approximately n3 multiplications with approximately n2 input operations, making the example_____-bound.
Hint
The computation grows faster than the amount of input described.
Answer
CPU
- 25Matrix addition is used as an example of an_____-bound program because its input/output operations are costly relative to its computation.
Hint
The content contrasts its order n2 computation with order n2 input/output.
Answer
I/O
- 26A process’s execution pattern of CPU activity followed by I/O activity and then more CPU activity illustrates that programs commonly alternate between CPU and_____bursts.
Hint
This is the type of burst that follows a CPU burst in the pattern.
Answer
I/O
- 27A program with many short CPU bursts separated by I/O bursts is typically_____-bound.
Hint
Its execution pattern has frequent I/O activity and relatively brief computation.
Answer
I/O
- 28A program with only a few long CPU bursts is typically_____-bound.
Hint
Its execution pattern contains extended periods of computation.
Answer
CPU
- 29The maximum number of processes admitted into a system and executed simultaneously is called the degree of_____.
Hint
The term describes having multiple processes in the system at once.
Answer
multiprogramming
- 30The degree of multiprogramming counts processes across states such as running, ready, waiting, and_____.
Hint
This state is included along with the other listed process states.
Answer
suspended
- 31If a system has four CPUs, at most_____processes can be running at the same instant.
Hint
At most one process can run on each CPU at a time.
Answer
four
- 32A long-term scheduler is primarily associated with_____jobs.
Hint
These jobs can be submitted for execution and collected later rather than interacting continuously.
Answer
batch
- 33A large simulation submitted for overnight execution and collected the next morning is an example suited to_____scheduling.
Hint
This scheduling category handles batch work that can take a long time.
Answer
long-term
- 34In the content’s rule of thumb, a job assigned to the CPU for more than ten minutes falls under_____scheduling.
Hint
The category is defined as handling longer-running work.
Answer
long-term
- 35The scheduling category described as lying between short-term and long-term scheduling is_____-term scheduling.
Hint
Its name indicates an intermediate time scale.
Answer
medium
- 36Scheduling that supports interactive operating systems, such as immediate responses to actions on a mobile phone, is_____-term scheduling.
Hint
This category responds on a very quick time scale.
Answer
short
- 37The content contrasts long-term scheduling invoked every seconds or minutes with short-term scheduling invoked every millisecond or tens of_____.
Hint
Complete the shorter time unit used in the description.
Answer
milliseconds
- 38A scheduler invoked once every second or minute is described as a_____-term scheduler.
Hint
This category is contrasted with the much more frequently invoked short-term scheduler.
Answer
long
- 39A running process may move to the waiting state when it requests a service from the_____.
Hint
The process waits while this software handles the requested service.
Answer
operating system
- 40A process may move from running to ready when an external_____occurs.
Hint
This event can cause a running process to stop using the CPU without requesting a service itself.
Answer
interrupt
- 41When a requested system call finishes, a process can move from waiting to_____.
Hint
The process is prepared to run again but may still need to wait for CPU assignment.
Answer
ready
- 42A process that has completed execution, or cannot continue after an unrecoverable exception, may be_____by the scheduler.
Hint
This is the process state indicating that execution has ended.
Answer
terminated
- 43The duration from when a process arrives until it finishes is its_____time.
Hint
This measure includes the process’s entire time in the system.
Answer
turnaround
- 44The number of processes that complete execution per unit time is called_____.
Hint
This measure counts completed work over time.
Answer
throughput
- 45The time a process spends waiting in the ready queue is its_____time.
Hint
This measure excludes time spent waiting for an I/O device in the waiting state.
Answer
waiting
- 46The time from submitting a request until the first response is produced is the_____time.
Hint
This measures how quickly a user receives an initial acknowledgment or result.
Answer
response
- 47For a non-preemptive process, waiting time is calculated as start time minus_____time.
Hint
This is the time when the process first enters the system or queue.
Answer
arrival
- 48For a preemptive process, total waiting time can be calculated as finish time minus arrival time minus_____time.
Hint
Subtract the total time the process actually spends executing.
Answer
CPU
- 49Using the relationship in the lesson, turnaround time equals finish time minus_____time.
Hint
Turnaround covers the full interval from the process entering the system to completion.
Answer
arrival
- 50Waiting time and turnaround time are related but are not the_____measure.
Hint
Turnaround includes more than ready-queue waiting.
Answer
same
- 51Time a process spends waiting for an I/O operation depends on the speed of the_____device.
Hint
The scheduler does not control how quickly this device completes its operation.
Answer
I/O
- 52The time it takes the dispatcher to stop one process and start another is called dispatch_____.
Hint
This term refers to the delay involved in switching execution.
Answer
latency
- 53The time between submitting a request and receiving the complete output is not the definition of response time; response time ends at the_____response.
Hint
An initial acknowledgment can count even when the full result is not ready.
Answer
first
- 54For interactive services, a quick initial acknowledgment can improve a user’s sense that the system is_____.
Hint
This quality describes how promptly a system reacts to requests.
Answer
responsive
- 55In a real-time operating system, the content identifies_____time as especially important.
Hint
Real-time systems care about how quickly a request receives its first result.
Answer
response
- 56A scheduling algorithm commonly seeks to maximize CPU utilization and_____.
Hint
This second measure counts how many processes finish per unit time.
Answer
throughput
- 57A scheduling algorithm commonly seeks to minimize turnaround time, waiting time, and_____time.
Hint
This is the measure of time until the first response.
Answer
response
- 58Maximizing CPU utilization alone can be unfair if one long-running program keeps other processes from running, causing_____.
Hint
The neglected processes may wait indefinitely.
Answer
starvation
- 59Considering throughput alongside CPU utilization helps account for how many processes_____.
Hint
Throughput counts finished processes per unit time.
Answer
complete
- 60A scheduling policy that runs one 100-unit job while two 25-unit jobs wait may have high CPU utilization but low_____.
Hint
The issue is the number of completed processes in a given interval.
Answer
throughput
- 61Scheduling criteria can be optimized for average-case behavior or for limiting the_____case.
Hint
This is the most unfavorable possible outcome.
Answer
worst
- 62The content stresses that a good scheduling measure should have low_____so performance is predictable.
Hint
This describes how widely results differ across cases.
Answer
variance
- 63When performance varies unpredictably from very fast to very slow, users have less_____in the system.
Hint
Predictable behavior helps users trust a system.
Answer
confidence
- 64The scheduling criterion that matters most depends on the_____of the system.
Hint
A batch system and a real-time system have different goals.
Answer
purpose
- 65For a batch workload such as an overnight simulation, a user may care especially about_____time.
Hint
This measures the full time from submission to completion.
Answer
turnaround
- 66For a real-time system, a key concern is minimizing_____time rather than focusing primarily on throughput.
Hint
This measure reflects how quickly the system reacts to a request.
Answer
response
- 67Different operating-system users may judge scheduling efficiency differently because they value different_____.
Hint
Examples include throughput, turnaround time, and response time.
Answer
criteria
- 68A scheduling approach in which the operating system cannot forcibly stop a running process is called_____scheduling.
Hint
The process keeps the CPU until it gives it up itself.
Answer
non-preemptive
- 69In non-preemptive scheduling, a running process generally gives up the CPU by completing its CPU burst, terminating, or requesting_____.
Hint
The process may give up the processor while waiting for a device operation.
Answer
I/O
- 70Scheduling in which the operating system can remove a process from the CPU at any point is called_____scheduling.
Hint
The operating system can interrupt a process rather than wait for it to give up the CPU.
Answer
preemptive
- 71When a process encounters an event such as divide by zero or an invalid memory access, the event is called a_____.
Hint
This event transfers control to operating-system handling.
Answer
trap
- 72When a hardware-detected trap occurs, control transfers to an_____service routine.
Hint
This routine is part of the operating system and handles the event.
Answer
interrupt
- 73Scheduling that relies on a process giving up the CPU voluntarily, such as when it requests I/O, is also called_____scheduling.
Hint
The process participates by yielding the processor rather than being forcibly stopped.
Answer
cooperative
- 74A process may cooperate with scheduling by deciding it has used enough CPU time and giving other processes a_____.
Hint
It voluntarily yields the processor so another process can run.
Answer
chance
- 75To regain CPU control while another process is running, the operating system can program a hardware_____.
Hint
When it expires, it generates an interrupt.
Answer
timer
- 76The hardware mechanism described as essential for preemptive scheduling is a_____-based interrupt.
Hint
It is programmed to interrupt execution after a set interval.
Answer
timer
- 77After a programmed timer interrupt occurs, control returns to the operating system through the interrupt service_____.
Hint
It is the operating-system code that handles the interrupt.
Answer
routine
- 78Preemptive scheduling can prevent a process from monopolizing the CPU and can reduce process_____.
Hint
This is the problem of processes waiting too long without CPU access.
Answer
starvation
- 79Preemptive scheduling introduces concerns such as coordinating access to_____data.
Hint
Multiple processes may access this data while execution is interrupted and resumed.
Answer
shared
- 80Another issue raised by preemptive scheduling is whether it is safe to interrupt an_____.
Hint
The question concerns interrupting a handler that is already handling an interrupt.
Answer
interrupt
- 81The dispatcher performs task switching, including saving the current process information and loading the_____process information.
Hint
This is the process selected to run next.
Answer
new
- 82After completing the necessary context switch, the dispatcher should switch to_____mode before giving control to a user program.
Hint
The program should execute with user-level privileges, not kernel-level privileges.
Answer
user
- 83Giving control to a user program before switching out of kernel mode could let it execute with excessive_____.
Hint
Kernel mode allows more access than user mode.
Answer
privileges
- 84The dispatcher gives control of the CPU to the process chosen by the short-term or_____scheduler.
Hint
The content names this as the other scheduler that may select a process.
Answer
long-term
- 85Scheduling algorithms are evaluated using CPU utilization, throughput, turnaround time, waiting time, and_____time.
Hint
This final criterion measures time until a request first receives a response.
Answer
response
- 86A scheduling algorithm should keep the CPU in use as much as possible, thereby maximizing CPU_____.
Hint
This measure describes how much of the time the CPU is busy.
Answer
utilization
- 87A scheduling algorithm that completes more processes per unit time has higher_____.
Hint
This measure is a completion rate.
Answer
throughput
- 88If one scheduling algorithm has excellent average performance but occasionally behaves poorly, its_____-case behavior may still be a concern.
Hint
This refers to the least favorable outcome.
Answer
worst
- 89A scheduler can be designed to make performance more deterministic by controlling variation in its_____.
Hint
Examples include waiting time and response time.
Answer
measures

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