🧠 Jin Hyun Park

Jin Hyun Park / Qual Exam Prep / Operating systems

Operating systems

Processes, memory management, and the difference between the things that sound alike.

Static vs. dynamic type checking

Process states

Process state diagram: new, ready, running, waiting, terminated
The five process states (figure from Silberschatz, Galvin, and Gagne, Operating System Concepts).

Virtual memory

Each process sees its own private address space, called logical (or virtual) memory. The CPU generates logical addresses, the page table translates them, and the data turns out to live either in physical RAM or on disk. Using disk to back up RAM in this way is what "virtual memory" means.

Logical memory mapped through a page table to physical memory and backing store
Paging with a valid–invalid bit: pages A, C, and F are in RAM, the rest are on disk (figure from Silberschatz, Galvin, and Gagne, Operating System Concepts).

Page fault

Steps in handling a page fault
Handling a page fault (figure from Silberschatz, Galvin, and Gagne, Operating System Concepts).

Internal vs. external fragmentation

User mode vs. kernel mode

Software pipelining

Overview · Useful materials · Sample questions · Algorithms · Architecture · Networking · Databases · Automata · AI / ML · Things to remember