22CS2251: OPERATING SYSTEMS LAB
[Link]. II Year II Sem. L TPC
- -2 1
Prerequisites: A course on “Programming for Problem Solving”, A course on
“Computer Organization and Architecture”.
Co-requisite: A course on “Operating Systems”.
Course Objectives
1. To provide an understanding of the design aspects of operating system
Concepts through simulation
2. Introduce basic Unix commands, system call interface for process.
Course Outcomes
1. Simulate and implement operating system concepts such as scheduling,
deadlock management, file management and memory management.
2. Able to implement C programs using Unix system calls.
List of Programs:
1. Write programs using the I/O system calls of UNIX/LINUX operating system (open,
read, write, close, fcntl, seek, stat, opendir,readdir)
2. Write C programs to simulate the following CPU Scheduling algorithms a) FCFS
b) SJF c) Round Robin d) priority
3. Write a C program to implement the Producer – Consumer problem using
semaphores using UNIX/LINUX system calls.
4. Write C programs to illustrate the following IPC mechanisms a) Pipes b) FIFOs
c) Message Queues d) Shared Memory
5. Write a C program to simulate Bankers Algorithm for Deadlock Avoidance and Prevention.
6. Write C programs to simulate the following memory management techniques a)
Paging b) Segmentation
7. Write C programs to simulate Page replacement policies a) FCFS b) LRU c)Optimal
TEXT BOOKS:
1. Operating System Principles- Abraham Silberchatz, Peter B. Galvin, Greg Gagne 7th Edi-
tion,
John Wiley
2. Advanced programming in the Unix environment, [Link], Pearson education
REFERENCES:
1. Operating Systems – Internals and Design Principles, William Stallings, Fifth Edition–2005,
Pearson Education/PHI
2. Operating System - A Design Approach-Crowley, TMH.
3. Modern Operating Systems, Andrew S Tanenbaum, 2nd edition, Pearson/PHI
4. UNIX Programming Environment, Kernighan and Pike, PHI/Pearson Education
5. UNIX Internals: The New Frontiers, U. Vahalia, Pearson Education.
[Link] – CSE (CSD) 29 R22-SYLLABUS