GATE CS roadmap

Operating systems

Processes, synchronisation, deadlocks and memory: heavy on numericals. 6 topics, about 29 hours.

  1. CPU scheduling

    About 5 h.

    • Draw Gantt charts for FCFS, SJF, SRTF, priority and round robin
    • Compute waiting, turnaround and response time

    Visualisers: CPU scheduling

  2. Process synchronisation

    About 6 h.

    • Spot a race condition in interleaved code
    • Solve producer-consumer, readers-writers and dining philosophers with semaphores

    Visualisers: Semaphores & synchronisation

  3. Deadlocks

    About 4 h.

    • Run the Banker's safety and request algorithms
    • Detect deadlock from a resource-allocation graph or matrices

    Visualisers: Banker's algorithm, Deadlock detection

  4. Memory management and paging

    About 6 h.

    • Place processes with first, next, best and worst fit and buddy allocation
    • Translate addresses with page tables and TLBs and compute effective access time

    Visualisers: Memory allocation, Address translation

  5. Virtual memory and page replacement

    About 4 h.

    • Count page faults for FIFO, LRU and optimal
    • Show Belady's anomaly with FIFO

    Visualisers: Page replacement

  6. Disk scheduling and file systems

    About 4 h.

    • Compute head movement for FCFS, SSTF, SCAN, C-SCAN, LOOK and C-LOOK
    • Size file allocation tables and inode block pointers

    Visualisers: Disk scheduling, File systems and inodes