Process States and Lifecycle
- 52Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
52 questions
- 1The process life cycle is described using a_____intended to explain how a process changes state from creation to completion.
Hint
It is a simplified representation of a process’s progress.
Answer
model
Explanation
The content describes process states as a model for understanding the states a process passes through, rather than as a set of states that the kernel itself necessarily knows.
- 2The states described as mandatory and present by default are called_____states.
Hint
They are contrasted with additional states.
Answer
primary
Explanation
The primary states are the basic states in the process life cycle; the content also introduces additional states later.
- 3A process enters the_____state when it has just been created.
Hint
This is the first state named in the process life cycle.
Answer
New
Explanation
The new state represents a process that has been created, such as a program that has been written and stored but not yet run.
- 4In the described model, a program that has been stored in secondary memory but not yet run is in the_____state.
Hint
Think of the state associated with just-created processes.
Answer
new
Explanation
The content uses a stored but not-yet-run program as an example of a process in the new state.
- 5After being admitted to RAM and waiting for CPU time, a process is in the_____state.
Hint
The process can run, but is waiting for the processor.
Answer
ready
Explanation
A ready process is in memory and prepared to execute, but has not yet been dispatched to the CPU.
- 6A process that is currently being executed by the CPU is in the_____state.
Hint
This state means the process is actively executing.
Answer
running
Explanation
The running state is reached when a process is dispatched and the CPU executes its instructions.
- 7After execution finishes, a process enters the_____state.
Hint
This state marks the end of the process’s execution.
Answer
terminated
Explanation
A process is terminated when it has completed execution; the operating system can then reclaim the resources assigned to it.
- 8A process waiting for an I/O operation is in the_____state, also called the blocked state.
Hint
The process cannot continue until an event or operation finishes.
Answer
wait
Explanation
The wait or block state is used when a process must pause for I/O, such as reading a file or accessing hardware.
- 9While waiting for an I/O operation, a process remains in_____according to the described model.
Hint
It is still in main memory, even though it is not running.
Answer
RAM
Explanation
The content explains that the wait state is also in RAM; the process is waiting rather than executing.
- 10When I/O finishes, a waiting process returns to the_____state rather than going directly to running.
Hint
It must wait for a later CPU assignment.
Answer
ready
Explanation
After its I/O request completes, the process rejoins the ready queue and waits for its turn to be dispatched.
- 11The scheduler that admits processes from secondary memory into the ready state is the_____scheduler.
Hint
Its role is to control which processes enter the system’s ready pool.
Answer
long term
Explanation
The long term scheduler selects processes to bring into the ready state from the larger pool of processes in secondary memory.
- 12Bringing more processes into the ready queue is associated with the concept of_____.
Hint
It describes keeping multiple processes available in memory.
Answer
multi programming
Explanation
The content describes multiprogramming as bringing more processes into the ready queue so that multiple processes are available for execution.
- 13Because RAM is limited, the long term scheduler admits only_____of the processes stored in secondary memory.
Hint
The content contrasts the large number of processes on disk with the smaller number admitted to memory.
Answer
some
Explanation
The content notes that secondary memory can hold many processes, while RAM limits how many can be brought into the ready state at once.
- 14The scheduler that selects a process from the ready state and sends it to the CPU is the_____scheduler.
Hint
It makes the immediate choice of which ready process runs next.
Answer
short term
Explanation
The short term scheduler selects a process from the ready queue and dispatches it to the running state.
- 15Moving a process from the ready state to the running state is called_____the process.
Hint
This action assigns the selected process to the CPU.
Answer
dispatching
Explanation
Dispatching is the act of sending a selected ready process to the CPU for execution.
- 16The scheduler that can move processes out of RAM temporarily when memory is under pressure is the_____scheduler.
Hint
It is the scheduler associated with suspension and swapping.
Answer
medium turn
Explanation
The medium turn scheduler is described as handling processes that must be swapped out of RAM when memory is filled.
- 17In a_____system, the content assumes that only one processor executes a process at a time.
Hint
The term refers to a system with one CPU.
Answer
uni processor
Explanation
The discussion assumes a uniprocessor system, in which one CPU runs one process at a time.
- 18A system with multiple processors can execute multiple processes in_____.
Hint
Different processors can work on processes simultaneously.
Answer
parallel processing
Explanation
The content contrasts uniprocessor execution with multiprocessor systems, where parallel processing can run multiple processes at once.
- 19If a process completes all its instructions without being interrupted, the process reaches the_____state.
Hint
Execution is finished and the process no longer needs to run.
Answer
terminated
Explanation
Once a process completes its execution, it terminates and its allocated resources can be reclaimed.
- 20When a higher-priority process needs the CPU, the currently running process may be sent back to the_____state.
Hint
The interrupted process remains eligible to run again later.
Answer
ready
Explanation
The content describes a running process being returned to the ready queue so a higher-priority process can execute first.
- 21In round-robin scheduling, the fixed period for which a process may use the CPU is called the_____.
Hint
It is the process’s allotted slice of CPU time.
Answer
time quantum
Explanation
Round-robin scheduling gives each process a fixed time quantum before the CPU moves on to another process.
- 22If a process has not finished when its time quantum expires, it is returned to the_____state.
Hint
It can receive another turn after other processes have had a chance to run.
Answer
ready
Explanation
In the described round-robin approach, an unfinished process goes back to the ready queue when its time quantum expires.
- 23If a process finishes before its time quantum expires, it is_____.
Hint
Its execution ends before it needs another CPU turn.
Answer
terminated
Explanation
A process that completes its work within its allotted time quantum terminates rather than returning to the ready queue.
- 24Scheduling that allows a running process to be interrupted before it finishes is called_____scheduling.
Hint
A higher-priority process or an expired time slice can trigger it.
Answer
pre-emptive
Explanation
Pre-emptive scheduling can stop a running process in the middle, for example when a higher-priority process arrives or its time quantum expires.
- 25Scheduling in which a process runs to completion without being interrupted is called_____scheduling.
Hint
The running process is not displaced before it finishes.
Answer
non pre-emptive
Explanation
In non-pre-emptive scheduling, the CPU does not interrupt a process to switch to another one before the first process completes.
- 26When a process is running, the CPU carries out its arithmetic, logic, and other_____.
Hint
These are the operations specified by the program.
Answer
instructions
Explanation
During the running state, the CPU executes the process’s instructions.
- 27In the described uniprocessor model, only_____process runs on the CPU at a time.
Hint
The system has a single processor.
Answer
one
Explanation
A uniprocessor system has one CPU, so it executes one process at a time, even though it may switch among processes.
- 28A process that is running on the CPU still resides in_____.
Hint
The CPU executes it while it is held in main memory.
Answer
RAM
Explanation
The process’s state changes when it is dispatched, but the content says it remains in RAM while the CPU executes it.
- 29A process requests an I/O operation when it needs to read a file or access_____.
Hint
This includes devices such as a monitor.
Answer
hardware
Explanation
The content gives reading a file and accessing a monitor or other hardware as examples of I/O requests.
- 30When a process requests I/O, it moves from running to the_____state while the operation is pending.
Hint
The process cannot continue until the requested operation is complete.
Answer
wait
Explanation
A process that is waiting for I/O is blocked from continuing its execution, so it enters the wait state.
- 31A process waiting for secondary-memory I/O should not keep the CPU idle, because secondary memory is relatively_____.
Hint
Compare its speed with the CPU’s ability to execute instructions.
Answer
slow
Explanation
The content explains that secondary memory is much slower than the CPU, so other processes can use the CPU while an I/O request is pending.
- 32While one process waits for I/O, the CPU can execute_____processes.
Hint
The CPU can make progress on work that is not blocked.
Answer
other
Explanation
Moving an I/O-waiting process aside allows the CPU to work on another process rather than making all processes wait.
- 33After an I/O operation is completed, the process joins the_____queue.
Hint
It must wait for a CPU turn after its I/O is done.
Answer
ready
Explanation
Completion of I/O makes the process ready to execute, but it does not immediately make it the running process.
- 34The group of processes waiting for I/O is referred to as the_____queue.
Hint
The queue contains processes in the waiting or blocked state.
Answer
wait
Explanation
The content describes the wait state as a queue in which processes wait for I/O operations to complete.
- 35An I/O request can involve reading data from_____memory.
Hint
This is where files are stored when they are not in main memory.
Answer
secondary
Explanation
Reading a file from secondary memory is given as an example of an I/O operation that causes a process to wait.
- 36If the wait queue fills because RAM is limited, a process may be moved into the_____wait state.
Hint
This is an additional state used when a process must be paused outside RAM.
Answer
suspend
Explanation
The content describes a suspend wait or suspend block state for processes that cannot remain in the full wait queue in RAM.
- 37Moving a process from RAM to secondary memory temporarily is called swapping it_____.
Hint
The process is being moved out of main memory.
Answer
out
Explanation
Swap out means sending a process from RAM to secondary memory temporarily, freeing space in RAM.
- 38A process in the suspend wait state may return to the wait state when there is enough_____.
Hint
The process can return when the relevant queue is no longer full.
Answer
space
Explanation
The content says a suspended waiting process can come back to the wait state when space becomes available.
- 39If the ready queue is full and a high-priority process arrives, it may be placed in the_____ready state.
Hint
This additional state allows the process to wait outside the full ready queue.
Answer
suspend
Explanation
A process that cannot enter a full ready queue may be held in the suspend ready state until it can be resumed.
- 40When space becomes available in the ready queue, a suspended-ready process can be_____back to the ready state.
Hint
It is brought back from its temporary suspended condition.
Answer
resumed
Explanation
The content describes resuming a suspended-ready process and returning it to the ready state when space is available.
- 41The scheduler responsible for swapping processes out when RAM is under pressure is the_____scheduler.
Hint
It manages temporary suspension to help control memory use.
Answer
medium turn
Explanation
The medium turn scheduler handles moving processes to secondary memory when RAM is becoming full.
- 42In the described process flow, a suspended process that has completed its I/O ultimately needs to return to the_____state.
Hint
It must rejoin the queue for CPU scheduling before running.
Answer
ready
Explanation
After its I/O is complete, the process must eventually return to the ready state, where it can wait for CPU time.
- 43Secondary memory used to hold processes temporarily when RAM is full is called the_____.
Hint
It provides storage support for processes that cannot stay in RAM.
Answer
backing store
Explanation
The content uses the term backing store for secondary-memory storage used when processes must be moved out of RAM.
- 44A system may use a replacement policy such as least frequently used or most frequently used to decide which processes to_____.
Hint
The aim is to free space by moving selected processes out of RAM.
Answer
send back
Explanation
The content mentions using policies such as least frequently used or most frequently used to filter processes and free memory.
- 45In Windows, the_____displays a list of processes running on the system.
Hint
It is a built-in utility for viewing processes and system activity.
Answer
task manager
Explanation
The content points to the Windows Task Manager as a place to view the system’s processes.
- 46The Windows utility mentioned for viewing system and user processes is the_____tab in Task Manager.
Hint
The tab is named for the items it lists.
Answer
process
Explanation
The process tab in Windows Task Manager lists processes, including system and user processes.
- 47On UNIX or Linux, the command used to obtain process information is_____.
Hint
It is a short command name for displaying process information.
Answer
PS
Explanation
The content identifies the PS command as a way to view process information on UNIX or Linux systems.
- 48The process information available through PS can include a process’s_____.
Hint
It is the identifier associated with an individual process.
Answer
process ID
Explanation
The content says the PS command can display a process ID along with other process details.
- 49The PS command can show which_____a process is executing.
Hint
This is the instruction or program associated with the process.
Answer
command
Explanation
The process information shown by PS can include the command the process is executing.
- 50The PS command can provide information about how long a process has been running on the_____.
Hint
It is the processor whose use is relevant to execution time.
Answer
CPU
Explanation
The content states that process information can include how long the process has been running on the CPU.
- 51Options such as PS-e and PS-u are examples of_____of the PS command.
Hint
They modify the command’s form or behavior.
Answer
variations
Explanation
The content notes that PS has variations, including options such as PS-e and PS-u.
- 52Executing multiple processes by switching CPU attention among them is described as_____.
Hint
It is contrasted with bringing many processes into the ready queue.
Answer
multi-tasking
Explanation
The content distinguishes multitasking, involving execution of multiple processes over time, from multiprogramming, which concerns bringing processes into the ready queue.

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