Advanced Operating Systems

MTech (CS/AI) • CS 401 • Monsoon Semester 2026

Course Syllabus

An in-depth study of modern operating system principles with a focus on hands-on programming to reinforce the concepts learnt in UG classes. Study in depth some of the important topics such as interprocess communication, virtual memory and resource management through simulations and practical exercises.

 

Main Topics

1: Processes and their Simulation

Process states and tables, system calls, process life cycle and Scheduler, process groups and sessions, simulation of process management module

2: Interprocess Communication

Signals, pipes, FIFOs and message passing, exercises showing details of the IPC mechanisms

3: Threads and Synchronisation

Implement multi-threaded processes using pthreads library, implement classic synchronization problems such as reader-writer problem and write simple applications based on synchronization

4: Memory Management

Modern virtual memory systems and TLB, page replacement algorithms, stack algorithms and Belady's anomaly, simulation of virtual memory management module

5: Files and File Systems

System call interface to files, file systems and disk organisations, file tables, system calls related to files, booting mechanism

6: I/O, Devices and Resource Management

Consumable and reusable resources, deadlock detection, prevention and avoidance algorithms, devices, device drivers and implementation of a virtual display panel driver

Class Schedule

Week Date Topic Reading Materials
Week 1: Process Management 21 Aug Recap of Processes
27 Aug Process-related System Calls
28 Aug Run time process structures
Week 2: Interprocess Communication 03 Sep Signals and related system calls APUE: Ch 10.1 – 10.5
04 Sep Modern signals and their use APUE: Ch 10.11 – 10.14
Week 3: Interprocess Communication (contd). 10 Sep Pipes and related system calls APUE: Ch 15.1 – 15.5
11 Sep FIFOs and examples APUE: Ch 15.5
Assignment - I 17 Sep Implementing a process simulator (Due: 28 Sep) Details
Week 4: Process Synchronisation 17 Sep Competition vs Cooperation OS Book: Ch 7
18 Sep pthreads library
Week 5: Process Synchronisation (contd.) 24 Sep Reader-Writer Problem and variants
25 Sep Semaphores and uses

Class Notes & Materials

Lecture Programs and Code Stubs Supplementary Reading
03 Sep:
Interprocess Communication Mechanisms: An Overview
A class video from the horrible days of 2020-2021 Duration: 15 minutes
04 Sep:
Modern signals and their use
Signals program from the class Experiment ... play with it!
10 Sep:
Additional material on login processes
Video explaining different login processes Duration: 20 minutes. Try the experiments suggested in the video.
11 Sep:
Example code on pipes
Basic pipe between processes
Setting up a pipe across execlp()
Use of popen() function
Basic pipes (12min)
Pipe across execlp (4min)
popen() (9min)
18 Sep:
Writing multithreaded programs using pthread library
Video on multithreaded programming Duration: 14 min

Assignments & Projects

Project Description Due Date
Process Mgmt Simulator Implement a simulator for the process management tasks of an OS. The assignment is found here. Monday, 28/09/2026 before 6:00 PM.

Enrolled Students

M. Tech (AI)

26MCMI01
26MCMI02
26MCMI03
26MCMI04
26MCMI05
26MCMI06
26MCMI07
26MCMI08
26MCMI09
26MCMI10
26MCMI11
26MCMI12
26MCMI13
26MCMI14
26MCMI15
26MCMI16
26MCMI17
26MCMI18
26MCMI19
26MCMI20
26MCMI21
26MCMI22
26MCMI23
26MCMI24
26MCMI25
26MCMI26
26MCMI27
26MCMI28
26MCMI29



M. Tech (CS)

26MCMT01
26MCMT02
26MCMT03
26MCMT04
26MCMT05
26MCMT06
26MCMT07
26MCMT08
26MCMT09
26MCMT10
26MCMT11
26MCMT12
26MCMT13
26MCMT14
26MCMT15
26MCMT16
26MCMT17
26MCMT18
26MCMT19
26MCMT20
26MCMT21
26MCMT22
26MCMT23
26MCMT24
26MCMT25
26MCMT26
26MCMT27
26MCMT28
26MCMT29
26MCMT30
26MCMT31
26MCMT32
26MCMT33
26MCMT34
26MCMT35
26MCMT36
26MCMT37
26MCMT38
26MCMT39
26MCMT40
26MCMT41
26MCMT42

Lab Sessions

Note that AOS Labs will be on alternate Thursdays starting Thursday, 24 September 2026.

External References & Video Lectures