Operating System syllabus
BDS 2027 units · 68 topicsAcademic year 2083/84
Browse the units
1Introduction to Operating System (6 hrs)
Abstract view of Computer system
Introduction of Operating System
OS as Extended Machine and Resource Manager
Evolution of Operating System
Types of OS
Function of Operating System
System Call
Operating System Structures (Layered, Monolithic, Microkernel)
Kernel
Shell
Case Study: UNIX, LINUX, Windows
2Processes Management (12 hrs)
Process: Process and Program, 5 State Process Model, Process Creation, Process Control Block, Context Switching
Threads: Thread vs Process, User and Kernel Level Threads
Inter Process Communication: Race Condition, Mutual Exclusion, Critical Regions
Implementing Mutual Exclusion with Busy Waiting (Disabling Interrupts, Lock Variables, Strict Alteration, Peterson's Solution, Test and Set Lock)
Producer Consumer Problem
Semaphore, Operation on Semaphore, Solution to producer consumer problem using Semaphore
Message Passing
Classical IPC problems: Dining Philosopher Problem, Readers Writer, Sleeping Barber (concept only)
Process Scheduling: Introduction, Preemptive and non Preemptive Scheduling, Scheduling Criteria
Batch System Scheduling (First-Come First Served, Shortest Job First, Shortest Remaining Time Next)
Interactive System Scheduling (Round-Robin Scheduling, Priority Scheduling)
Multilevel Scheduling Concept
3Deadlocks (6 hrs)
Introduction
Deadlock Characterization
Preemptable and Non-preemptable Resources
Resource Allocation Graph
Conditions for Resource Deadlock
Handling Deadlocks: Ostrich Algorithm
Deadlock prevention
Safe and Unsafe state
Deadlock Avoidance: Banker's Algorithm
Deadlock Detection
Recovery from Deadlock (Through Preemption and Rollback)
4Memory Management (10 hrs)
Introduction
Logical and Physical Address Spaces
Monoprogramming vs. Multiprogramming
Modelling Multiprogramming
Relocation and Protection
Memory Management with Swapping: Bitmaps and Linked-list
Memory Allocation Strategies: Fixed-partition and Variable-partition strategies
Virtual memory: Paging, Page Table, Structure of Page Table, Multilevel Page Table, Logical to Physical Address Translation, TLB, Page Fault, Handling Page Faults
Page Replacement Algorithms: FIFO, LRU, Optimal, LFU, Second Chance
Concept of Locality of Reference
Segmentation
Segmentation with Paging (Multics)
5File Management (6 hrs)
File Overview: File Naming, File Structure, File Types, File Access, File Attributes, File Operations
Single Level, Two Level and Hierarchical Directory Systems
File System Layout
Implementing Files: Contiguous allocation, Linked List Allocation, Inode
Directory Operations, Path Names, Directory Implementation
Shared Files
Free Space Management: Bitmaps, Linked List
Case Study: UNIX File Management, Linux Virtual File System, Windows File System
6Device Management (6 hrs)
Classification of I/O devices
Controllers
Memory Mapped I/O
DMA Operation
Goals of I/O Software
Handling I/O (Programmed I/O, Interrupt Driven I/O, I/O using DMA)
I/O Software Layers (Interrupt Handlers, Device Drivers)
Disk Structure
Disk Scheduling (FCFS, SSTF, SCAN, CSCAN, LOOK, CLOOK)
Disk Formatting (Cylinder Skew, Interleaving)
RAID, RAID Levels (up to 5)
7Distributed Operating System (2 hrs)
Basic Concepts of Distributed System
Design Goals
Types of Distributed System