Winter Semester 2026–27 · VIT-AP · BACSE106 · Operating Systems · Dr. Krithika L.B

Learn the kernel.
Build the OS.
Launch now.

BACSE106 — Operating Systems, taught by Dr. Krithika L.B. From the first instruction a PC runs at power-on to processes, memory, files, security and containers — every topic paired with an interactive lesson and a hands-on C lab.

Start Module 1 Open lab manual
Course Snapshot
  • Course: BACSE106 – Operating Systems
  • L-T-P-C: 3-0-2-4
  • Theory: 45 hours · 6 modules
  • Laboratory: 30 hours · 15 experiments
  • Pre-requisite: Nil
  • Faculty: Dr. Krithika L.B
Mode of Evaluation
  • Theory: Continuous Assessment Tests (CAT), Digital Assignment, Quiz, Final Assessment Test (FAT)
  • Laboratory: Lab Continuous Assessment, Lab Final Assessment
  • Weightages are announced in class as per university norms.

Course Objectives

  1. To introduce the fundamental concepts, design issues, and core functionalities of operating systems.
  2. To build skills in managing processes, memory, files, devices, and ensuring protection and security, using algorithms and practical simulations.
  3. To introduce modern developments like virtualization, distributed operating systems, and cloud-based systems.

Course Outcomes (COs)

COStatementModuleLabs
CO1Understand the structure, functionalities and foundational concepts of operating systems.Module 1Labs 1, 2
CO2Apply process scheduling algorithms and analyze thread models and deadlock-handling methods.Module 2Labs 3, 4, 5, 6, 7
CO3Implement synchronization mechanisms and solve concurrency problems in multi-process systems.Module 3Labs 8, 9, 10
CO4Evaluate memory-management and file-system strategies used in operating systems.Module 4Labs 11, 12, 15
CO5Analyze device management, protection mechanisms and virtualization techniques in operating systems.Module 5Labs 13, 14

Modules at a Glance

45 theory hours
15 lab experiments
5 course outcomes
Text: Silberschatz · Galvin · Gagne, Operating System Concepts, 10th ed.

Module 1 – Operating Systems and Structure (6 Hours)

Module 1 answers four questions in order. What is an operating system and why did it evolve the way it did? (1.1) How is it organised inside? (1.2) How do programs ask it for help? (1.3) How does it get control — and how does it start at all? (1.4). Labs 1 and 2 let you use the OS from the shell and then build the very first piece of code a PC runs.

Labs: Lab 1, Lab 2

SessionTitleTopicsMaterialDuration
1.1Operating-system basics and historyDefine an operating system, the kernel, system programs and application programs; Contrast the user view and the system view (resource allocator, control program) of an OS…Open session
6 lessons
1.5 hours
1.2Operating-system structureExplain why OS structure is a trade-off between performance and isolation/maintainability; Describe monolithic, layered, microkernel and modular structures with one real example each…Open session
3 lessons
1.5 hours
1.3Operating-system services and system callsList the OS services that help the user and those that keep the system efficient and safe; Explain dual-mode operation, the mode bit and privileged instructions…Open session
7 lessons
1.5 hours
1.4Interrupts, OS design issues, building and bootingDistinguish hardware interrupts, traps (system calls) and exceptions; Trace the interrupt-handling cycle using the interrupt vector and an ISR; explain the role of the timer interrupt…Open session
4 lessons
1.5 hours

Module 2 – Process, Scheduling, Threads and Deadlocks (10 Hours)

Everything after boot is a process. Module 2 follows a process from creation to termination, decides which one runs, and shows how they can block each other forever.

Labs: Lab 3, Lab 4, Lab 5, Lab 6, Lab 7

SessionTitleTopicsMaterialDuration
2.1Process concept and process schedulingDistinguish a program from a process and draw the memory layout of a process; Trace a process through the five-state model and name the event behind each transition…Open session
4 lessons
2 hours
2.2Operations on processes: creation, termination and cooperationDescribe the process tree, PIDs and the design choices in process creation; Predict the output of programs that use fork(), exec(), wait() and exit()…Open session
2 lessons
1.5 hours
2.3Threads and multithreading modelsDefine a thread and list what threads share and what each owns privately; State four benefits of multithreading and distinguish concurrency from parallelism…Open session
2 lessons
1.5 hours
2.4Scheduling criteria and non-preemptive scheduling: FCFS, SJF, PriorityDescribe the CPU–I/O burst cycle and when the scheduler is invoked; Distinguish preemptive from non-preemptive scheduling and explain the dispatcher…Open session
6 lessons
2 hours
2.5Preemptive and multilevel scheduling: RR, SRTF, Priority, MLQ, MLFQSolve Round Robin problems and explain how the quantum affects performance; Solve SRTF and preemptive-priority problems with arrival times…Open session
5 lessons
1.5 hours
2.6Deadlocks: characterization, resource-allocation graphs and handling methodsDefine deadlock using the request–use–release system model; State the four necessary conditions and show how each can be denied…Open session
2 lessons
1.5 hours

Module 3 – Process Synchronization (9 Hours)

Cooperating processes share data. Module 3 shows how sharing goes wrong (race conditions) and the tools that make it safe.

Labs: Lab 8, Lab 9, Lab 10

SessionTitleTopicsMaterialDuration
3.1Inter-process communication: shared memory and message passingCompare the shared-memory and message-passing models of IPC; Explain the bounded-buffer producer–consumer solution using in/out indices…Open session
3 lessons
1.5 hours
3.2Race conditions, the critical-section problem, Peterson's solution and the Bakery algorithmShow with an instruction-level trace how a race condition corrupts shared data; Define the critical-section problem and its three requirements…Open session
4 lessons
2 hours
3.3Hardware synchronization (Test-and-Set, Swap) and mutex locksExplain why disabling interrupts does not solve the CS problem on multiprocessors; Define test_and_set and Swap/compare_and_swap and build a lock from each…Open session
3 lessons
1.5 hours
3.4SemaphoresDefine a semaphore and its atomic wait() and signal() operations; Distinguish binary and counting semaphores and use each correctly…Open session
2 lessons
1.5 hours
3.5Classical synchronization problems: bounded buffer, readers–writers, dining philosophersSolve the bounded-buffer problem with mutex, empty and full semaphores and explain the order of waits; Solve the first readers–writers problem and explain why writers may starve…Open session
2 lessons
1.5 hours
3.6MonitorsExplain why semaphore-based code is error-prone with three examples; Describe the structure of a monitor and how it guarantees mutual exclusion…Open session
1 lessons
1 hour

Module 4 – Memory and File Management (10 Hours)

Processes need memory and persistent storage. Module 4 maps logical addresses to physical memory and files to disk blocks.

Labs: Lab 11, Lab 12, Lab 15

SessionTitleTopicsMaterialDuration
4.1Address binding, logical and physical address spaceExplain how base and limit registers protect processes from each other; Distinguish compile-time, load-time and execution-time address binding…Open session
4 lessons
1.5 hours
4.2Contiguous memory allocation, fragmentation and placement algorithmsDescribe fixed and variable partition allocation; Apply First, Best and Worst Fit to a list of holes and requests…Open session
2 lessons
1.5 hours
4.3Paging and the Translation Look-aside BufferExplain pages, frames and the page table and why paging removes external fragmentation; Translate logical to physical addresses given page size and page table…Open session
3 lessons
1.5 hours
4.4SegmentationDescribe the programmer's view of memory that segmentation supports; Translate (segment, offset) addresses using a segment table and detect traps…Open session
1 lessons
1 hour
4.5Virtual memory and demand pagingState the benefits of virtual memory; Explain demand paging and the role of the valid–invalid bit…Open session
1 lessons
1 hour
4.6Page replacement (FIFO, Optimal, LRU), thrashing and the working setDescribe the page-replacement steps and the role of the dirty bit; Count page faults for FIFO, Optimal and LRU on a reference string…Open session
2 lessons
1.5 hours
4.7File-system concepts and access methodsList file attributes and explain where they are stored; Describe file operations and the per-process and system-wide open-file tables…Open session
1 lessons
1 hour
4.8Directory structures, directory implementation and file allocation methodsCompare single-level, two-level, tree, acyclic-graph and general-graph directories; Distinguish absolute and relative path names, hard and symbolic links…Open session
2 lessons
1 hour

Module 5 – Managing Devices, Security, Protection and Virtualization (8 Hours)

Module 5 manages the devices beneath the file system, protects everything we have built, and virtualizes the whole machine.

Labs: Lab 13, Lab 14

SessionTitleTopicsMaterialDuration
5.1I/O device management, disk structure and RAIDDescribe the layers of the I/O subsystem and compare polling, interrupts and DMA; Explain buffering, caching and spooling…Open session
3 lessons
1.5 hours
5.2Disk scheduling algorithms: FCFS, SSTF, SCAN, C-SCAN, LOOK, C-LOOKExplain why the order of disk requests matters for HDDs; Compute total head movement for FCFS, SSTF, SCAN, C-SCAN, LOOK and C-LOOK…Open session
2 lessons
1.5 hours
5.3Program and network threats; cryptography as a security toolState the goals of security and distinguish threats from attacks and security from protection; Explain Trojan horses, trap doors, logic bombs, buffer overflows, viruses and worms…Open session
1 lessons
1.5 hours
5.4Protection: domains of protection, access matrix and capability-based systemsState the goals of protection, the principle of least privilege and need-to-know; Define a protection domain and explain static and dynamic domain association…Open session
2 lessons
1.5 hours
5.5Virtualization: need, virtual machines, hypervisors, full and para-virtualizationList the benefits that motivate virtualization; Describe the host–VMM–guest architecture…Open session
1 lessons
1 hour
5.6OS-level virtualization: containers, Docker basics, containers vs virtual machinesExplain OS-level virtualization and how it differs from hardware virtualization; Describe namespaces, cgroups and union file systems…Open session
1 lessons
1 hour

Module 6 – Contemporary Issues (2 Hours)

Recent developments in operating systems — delivered as a guest lecture or a discussion session.

Labs: —

SessionTitleTopicsMaterialDuration
6.1Contemporary issues in operating systemsRelate current OS developments to the concepts of Modules 1–5; Explain why memory-safe languages and verified extensions (eBPF) are entering kernels…Open session
1 lessons
2 hours

VideoBytes

Short videos recorded by Dr. Krithika L.B accompany every session and every lab. Released sessions are listed below; each opens at its video section.

Session 1.1
Operating-system basics and history
Session 1.2
Operating-system structure
Session 1.3
Operating-system services and system calls
Session 1.4
Interrupts, OS design issues, building and booting
Session 2.1
Process concept and process scheduling
Session 2.2
Operations on processes: creation, termination and cooperation
Session 2.3
Threads and multithreading models
Session 2.4
Scheduling criteria and non-preemptive scheduling: FCFS, SJF, Priority
Session 2.5
Preemptive and multilevel scheduling: RR, SRTF, Priority, MLQ, MLFQ
Session 2.6
Deadlocks: characterization, resource-allocation graphs and handling methods
Session 3.1
Inter-process communication: shared memory and message passing
Session 3.2
Race conditions, the critical-section problem, Peterson's solution and the Bakery algorithm
Session 3.3
Hardware synchronization (Test-and-Set, Swap) and mutex locks
Session 3.4
Semaphores
Session 3.5
Classical synchronization problems: bounded buffer, readers–writers, dining philosophers
Session 3.6
Monitors
Session 4.1
Address binding, logical and physical address space
Session 4.2
Contiguous memory allocation, fragmentation and placement algorithms
Session 4.3
Paging and the Translation Look-aside Buffer
Session 4.4
Segmentation
Session 4.5
Virtual memory and demand paging
Session 4.6
Page replacement (FIFO, Optimal, LRU), thrashing and the working set
Session 4.7
File-system concepts and access methods
Session 4.8
Directory structures, directory implementation and file allocation methods
Session 5.1
I/O device management, disk structure and RAID
Session 5.2
Disk scheduling algorithms: FCFS, SSTF, SCAN, C-SCAN, LOOK, C-LOOK
Session 5.3
Program and network threats; cryptography as a security tool
Session 5.4
Protection: domains of protection, access matrix and capability-based systems
Session 5.5
Virtualization: need, virtual machines, hypervisors, full and para-virtualization
Session 5.6
OS-level virtualization: containers, Docker basics, containers vs virtual machines
Session 6.1
Contemporary issues in operating systems
Labs 1–15
Every lab page opens with its own walkthrough video

Laboratory (30 Hours · 15 Experiments)

Lab Overview
  • Experiments: 15 × 2 hours
  • Language: C (Lab 1: shell scripting)
  • Environment: Linux / WSL, gcc, pthreads
  • Every lab: video · explanation · code · how to run · sample I/O · viva
Key Skills
  • Linux shell and system programs
  • System calls: fork, threads, shared memory, files
  • Scheduling, deadlock and memory algorithms
  • Synchronization with semaphores
LabExperimentModuleTheory linkStatus
Lab 1Study of basic Linux commands and shell scriptingModule 1Sessions 1.1–1.3 · OS services, shell, system programsReady
Lab 2Implementation of a bootloaderModule 1Session 1.4 · Building and booting an OSReady
Lab 3Process creation using fork(); orphan and zombie processesModule 2Process concepts and operationsReady
Lab 4Thread creationModule 2Threads and multithreading modelsReady
Lab 5CPU scheduling: FCFS, SJF, Priority (non-preemptive)Module 2Non-preemptive CPU schedulingReady
Lab 6CPU scheduling: Round Robin, SRTF, Preemptive PriorityModule 2Preemptive CPU schedulingReady
Lab 7Banker's algorithm: safe-state check and resource-request grantingModule 2Deadlock handling — avoidanceReady
Lab 8Shared-memory creation and sharing contents between processesModule 3IPC — shared memoryReady
Lab 9Producer–consumer / readers–writers using semaphoresModule 3Semaphores, classical problemsReady
Lab 10Dining philosophers using semaphoresModule 3Classical synchronization problemsReady
Lab 11Memory allocation strategies: First Fit, Best Fit, Worst FitModule 4Contiguous allocation, placement algorithmsReady
Lab 12Page replacement: FIFO, LRU, OptimalModule 4Virtual memory, page replacementReady
Lab 13Disk scheduling: FCFS, SSTF, SCANModule 5Disk structure and schedulingReady
Lab 14Disk scheduling: C-SCAN, LOOK, C-LOOKModule 5Disk structure and schedulingReady
Lab 15File-system operations using system callsModule 4File concepts, access methods (system calls from 1.3)Ready
Open the lab manual

Outcome Matrix

ModuleHoursCOLabsAssessed in
1 · Operating Systems and Structure6CO11, 2CAT-1, Quiz, FAT, Lab
2 · Process, Scheduling, Threads and Deadlocks10CO23 – 7CAT-1, DA, FAT, Lab
3 · Process Synchronization9CO38 – 10CAT-2, Quiz, FAT, Lab
4 · Memory and File Management10CO411, 12, 15CAT-2, DA, FAT, Lab
5 · Devices, Security, Protection, Virtualization8CO513, 14Quiz, FAT, Lab
6 · Contemporary Issues2——FAT

Mapping of modules to individual assessments is indicative; the exact portions for each CAT and quiz are announced in class.

Evaluation

Help & Resources

Text & Reference Books
  • Text: Abraham Silberschatz, Peter B. Galvin, Greg Gagne, Operating System Concepts, Wiley, 10th Edition, 2018.
  • Remzi H. Arpaci-Dusseau, Andrea C. Arpaci-Dusseau, Operating Systems: Three Easy Pieces, Arpaci-Dusseau Books, 1st Edition, 2023.
  • Andrew S. Tanenbaum, Herbert Bos, Modern Operating Systems, Pearson Education, 4th Edition, 2015.
  • William Stallings, Operating Systems: Internals and Design Principles, Pearson, 9th Edition, 2018.
  • Linux manual pages: man 2 <syscall>, man 3 <function>
Support

Faculty: Dr. Krithika L.B

Office hours: announced in class

Lab support: faculty and lab assistants during lab hours

Syllabus: BACSE106, version 1 · BoS 21-05-2025 · Academic Council No. 78 (12-06-2025)

Build something the kernel remembers.

Start with Session 1.1