fork() create new processes; exec() replaces process image.fork() clones parent; exec() overlays process with new program.| Item | Key Features | Notes / Differences |
|---|---|---|
| Process | Unique PID, states, created via fork()/exec(), terminated by exit() | Parent-child relations, separate address spaces |
| Thread | Shares process resources, has own PC and stack | Faster creation, lightweight |
| Virtual Memory | Paging, segmentation, page tables, TLB | Larger address space than physical memory |
| Page Replacement | FIFO, LRU, Clock | Balances page faults and memory utilization |
| Synchronization | Semaphores, mutexes, monitors | Prevent race conditions |
| Hardware Support | Registers, interrupts, privilege modes, cache | Enforces protection, manages I/O |
Operating System
├─ Process Management
│ ├─ Creation: fork(), exec()
│ ├─ States: ready, running, blocked
│ └─ Termination: exit()
├─ Threads
│ ├─ Share resources
│ └─ Managed by kernel/user
├─ Memory Management
│ ├─ Virtual memory: paging, segmentation
│ ├─ Page tables & TLB
│ └─ Replacement algorithms: FIFO, LRU, Clock
├─ Synchronization & Communication
│ ├─ Semaphores, mutexes
│ └─ Deadlock detection/avoidance
└─ Hardware & Protection
├─ Registers, interrupts
├─ Privilege modes
└─ Cache, protection mechanisms
fork() (creates a copy) with exec() (replaces process image).fork(), exec(), process states.End of Revision Sheet
Take a 10-question practice quiz on Operating Systems Fundamentals, with every answer explained.
1. What is the primary purpose of the fork() system call in process management?
2. Which page replacement algorithm approximates the Least Recently Used (LRU) strategy by using reference bits?
Memorize the key concepts of Operating Systems Fundamentals with 10 flashcards.
Process — creation method?
fork() and exec() system calls
Thread — resource sharing?
Share address space within a process
Page replacement — strategy?
FIFO, LRU, Clock algorithms
Upload your class notes and Revizly writes a study guide, a quiz and flashcards in about a minute.
Study guide maker