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
Test your knowledge on Operating Systems Fundamentals with 10 multiple-choice questions with detailed corrections.
1. What is the primary purpose of the fork() system call in process management?
2. What function in Unix-like operating systems is used to create a new process by cloning the parent process?
Memorize the key concepts of Operating Systems Fundamentals with 10 interactive flashcards.
Process β creation method?
fork() and exec() system calls
Processes β definition?
Units of execution identified by PID.
Thread β resource sharing?
Share address space within a process
Import your course and AI generates sheets, quizzes and flashcards in 30 seconds.
Sheet generator