Operating systems semester exam roadmap
Core algorithms
Days 4 to 9: synchronisation, deadlock, memory and storage. 5 topics, about 21 hours.
Synchronisation and semaphores
About 4 h.
- State the critical-section requirements
- Solve producer-consumer, readers-writers and dining philosophers with semaphores
Visualisers: Semaphores & synchronisation
Deadlock
About 4 h.
- State the four necessary conditions
- Run the Banker's safety and request algorithms
- Detect deadlock from a resource-allocation graph
Visualisers: Banker's algorithm, Deadlock detection
Memory allocation and paging
About 5 h.
- Place processes with first, best and worst fit
- Translate a logical address with a page table and TLB
Visualisers: Memory allocation, Address translation
Virtual memory and page replacement
About 4 h.
- Count page faults for FIFO, LRU and optimal
- Explain Belady's anomaly and thrashing
Visualisers: Page replacement
Disk scheduling and file systems
About 4 h.
- Compute head movement for FCFS, SSTF, SCAN and LOOK
- Work out an inode's maximum file size and compare allocation methods
Visualisers: Disk scheduling, File systems and inodes