Subject Syllabus
CB-401 - Operating Systems
CSBS · Semester 4
Course Modules
Learn topic-wise with Hyper AI and revise using mapped PYQs.
I/O devices, Device controllers, Direct Memory Access, Principles of I/OConcept of File, Access methods, File types, File operation, Directory structure, File System structureAllocation methods (contiguous, linked, indexed)Free-space management (bit vector, linked list, grouping), directory implementation (linear list, hash table), efficiency and performanceDisk structure, Disk scheduling - FCFS, SSTF, SCAN, C-SCANDisk reliability, Disk formatting, Boot-block, Bad blocks
Concurrent processes, precedence graphs, Critical Section, Race Conditions, Mutual ExclusionHardware Solution, Semaphores, Strict Alternation, Peterson's SolutionThe Producer / Consumer Problem, Event Counters, Monitors, Message PassingClassical IPC Problems: Reader's & Writer Problem, Dinning Philosopher Problem, Barber's shop problemDeadlocks: Definition, Necessary and sufficient conditions for Deadlock, Deadlock PreventionDeadlock Avoidance: Banker's algorithm, Deadlock detection and RecoveryCritical region, conditional critical region, monitors, concurrent languages, communicating sequential process (CSP)
Basic concept, Logical and Physical address mapsMemory allocation: Contiguous Memory allocation – Fixed and variable partition–Internal and External fragmentation and CompactionBasics of Virtual Memory – Hardware and control structures – Locality of referencePage allocation, Partitioning, Paging, Page fault, Working Set, Segmentation, Demand pagingPage Replacement algorithms: Optimal, First in First Out (FIFO), Second Chance (SC), Not recently used (NRU) and Least Recently used (LRU)Case study: UNIX/Linux OS file system, shell, filters, shell programming, programming with the standard I/O, UNIX/Linux system calls