Operating System
0%
Course Title: Operating System
Course No: IT 241
Nature of the Course: Theory + Lab
Semester: 4
Credit Hours: 3
Course Description
Course Objectives
Course Contents
2. Processes and Threads
11 hrs
2.3. Inter Process Communication: Race Condition, Critical Regions
- Implementing Mutual Exclusion: Mutual Exclusion with Busy Waiting (Disabling Interrupts, Lock Variables, Strict Alteration, Peterson's Solution, Test and Set Lock), Sleep and Wakeup, Semaphore, Monitors, Message Passing
2.4. Process Scheduling: Introduction and aim
- Batch System Scheduling (First-Come First-Served, Shortest Job First, Shortest Remaining Time Next)
- Interactive System Scheduling (Round-Robin Scheduling, Priority Scheduling, Multiple Queues)
3. Deadlocks
5 hrs
3.6. Handling Deadlocks
- Ostrich Algorithm, Deadlock prevention
- Deadlock Avoidance: Banker's Algorithm
- Deadlock Detection (For Single and Multiple Resource Instances)
- Recovery from Deadlock (Through Preemption and Rollback)
4. Memory Management
8 hrs
4.2. Memory Management with Swapping
- Bitmaps and Linked-list
- Memory Allocation Strategies: Fixed-partition and Variable-partition strategies
4.4. Page Replacement Algorithms
- FIFO, Second Chance, LRU, Optimal, LFU, Clock, WS-Clock
5. File Management
6 hrs
5.4. Implementing Files
- Contiguous allocation, Linked List Allocation, Linked List Allocation using Table in Memory, Inodes
6. Device Management
6 hrs
6.2. Handling I/O
- Programmed I/O, Interrupt Driven I/O, I/O using DMA
6.3. I/O Software Layers
- Interrupt Handlers, Device Drivers
6.5. Disk Scheduling
- FCFS, SSTF, SCAN, CSCAN, LOOK, CLOOK
6.6. Disk Formatting
- Cylinder Skew, Interleaving, Error handling
Laboratory Works
- 1.Laboratory work covering all listed topics
Text Books
- 1.A. S. Tanenbaum, H. Bos "Modern Operating Systems", Pearson Education, Inc., Fourth edition, 2016.
- 2.A. Silberschatz, P. B. Galvin and G. Gagne, "Operating System Concepts", John Wiley & Sons (ASIA) Pvt. Ltd, Tenth Edition, 2018.
- 3.H. M. Deitel, P. J. Deitel, and D. R. Choffnes, "Operating Systems, Pearson Education, Inc., Third Edition, 2003.
- 4.W. Stallings, "Operating Systems: Internals and Design Principles", Pearson Education, Inc., 2018 Ninth Edition