1.5 Resource Management Flashcards
An operating system is a ______ manager.
resource
A program in execution is referred to as a ______.
process
A single-threaded process has one ______ specifying the next instruction to execute.
program counter
The resources that a process needs include CPU time, memory, files, and ______.
I/O devices
When a process terminates, the operating system will reclaim any ______ resources.
reusable
A program is a passive entity, whereas a process is an ______ entity.
active
The execution of a single-threaded process must be ______.
sequential
A multithreaded process has multiple program counters, each pointing to the next instruction to execute for a given ______.
thread
A system consists of a collection of processes, some of which are operating-system processes and the rest are ______ processes.
user
The operating system is responsible for creating and deleting both user and ______ processes.
system
The operating system schedules processes and threads on the ______.
CPUs
The operating system provides mechanisms for process ______.
synchronization
Processes can execute concurrently by multiplexing on a single CPU core or in ______ across multiple CPU cores.
parallel
Processes may be associated with the same program but are considered two separate ______ sequences.
execution
The operating system provides mechanisms for process ______.
communication
The main memory is central to the operation of a modern computer system and is a large array of _______.
bytes
Each byte in main memory has its own _______.
address
Main memory acts as a repository of quickly accessible data shared by the _______ and _______ devices.
CPU, I/O
During the instruction-fetch cycle, the CPU reads instructions from _______.
main memory
In a von Neumann architecture, the CPU both reads and writes data from _______.
main memory
The main memory is generally the only large storage device that the CPU can address and access _______.
directly
For the CPU to process data from disk, the data must first be transferred to _______ by CPU-generated I/O calls.
main memory
Instructions must be in _______ for the CPU to execute them.
memory
For a program to be executed, it must be mapped to absolute addresses and loaded into _______.
memory