Midterm Flashcards
Bold terms
Operating System (OS)
System software that manages computer hardware and software resources, providing common services for computer programs. A special program that runs on the bare machine and hides the details of managing processes and devices.
Robot Operating System
Special program that runs on the operating system and hides the gory details of controlling robot devices, autonomy processes, and sensorimotor routines.
Process
Instance of a computer program that is being executed by a computer operating system.
Program
A sequence of instructions for a computer processor to execute.
Address Space
The set of ranges in memory available to a process.
Kernel
The operating system and its programs.
Shell
A user space program used to interact with the kernel.
Utilities
Any programs that run as processes in user space by the kernel.
Bash
Bourne Again Shell.
ps
Program that displays the currently running processes in a shell.
PID
Process ID.
Process State
Running (R), suspended (S), or terminated (T).
top
Program that displays updated information across all processes (like Activity Monitor).
Abstractions of Processes
Independent logical control flow and private address space.
Fetch-Execute Cycle
Steps taken by a computer processor to execute instructions of a program stored in memory.
Instruction Set
Set of instructions or opcodes that can be executed by a processor (typically load, store, arithmetic, and jump).
Program Counter
Special register on processor containing memory address of next program instruction to be executed.
Runtime Stack
Stores local variables for functions actively invoked by a process. Allocates downward based on order of invocation.
Multitasking
Concurrent execution of multiple processes over a certain period of time by a computer operating system.
Context Switch
Storing a currently running process to be executed from the same state later, and then loading another previously stored process.
Process Interleaving
Executing processes in a non-serial manner to improve processor utilization.
Process Queue
Function of the OS to schedule the execution of each process on the processor.
Memory Fault
When a process attempts to access memory without proper permissions or preparation.
Interprocess Communication (IPC)
Mechanisms an operating system provides to allow a process to manage shared data with other processes.