1.4 Operating-System Operations Flashcards
An operating system provides the environment within which programs are _______.
executed
The initial program that a computer runs when powered up or rebooted is called the _______.
bootstrap program
The bootstrap program is typically stored in _______.
firmware
The bootstrap program initializes all aspects of the system, including _______.
CPU registers, device controllers, memory contents
The bootstrap program must locate the _______ and load it into memory.
operating-system kernel
Once the kernel is loaded and executing, it starts providing _______ to the system and its users.
services
System programs loaded into memory at boot time become _______.
system daemons
On Linux, the first system program that starts many other daemons is _______.
systemd
If there are no processes to execute, an operating system will sit quietly, waiting for something to _______.
happen
Events are almost always signaled by the occurrence of an _______.
interrupt
A trap (or an exception) is a software-generated interrupt caused by an error or a specific request from a user program that an operating-system service be performed by executing a _______.
system call
An example of an error that can cause a trap is _______.
division by zero
Another example of an error that can cause a trap is _______.
invalid memory access
One of the most important aspects of operating systems is the ability to run multiple programs, as a single program cannot, in general, keep either the CPU or the I/O devices busy at all times. This is known as _______.
multiprogramming
In a multiprogrammed system, a program in execution is termed a _______.
process
The operating system keeps several processes in _______ simultaneously.
memory
When a process needs to wait for some task, such as an I/O operation, the CPU would switch to _______ in a multiprogrammed system.
another process
In a non-multiprogrammed system, the CPU would sit _______.
idle
Multitasking is a logical extension of _______.
multiprogramming
In multitasking systems, the CPU executes multiple processes by _______ among them.
switching
When a process executes, it typically executes for only a _______ time before it either finishes or needs to perform I/O.
short
Interactive I/O may take a long time to complete, often bounded by the user’s _______ speed.
typing
Having several processes in memory at the same time requires some form of _______ management.
memory
Making the decision of which process will run next is known as _______ scheduling.
CPU