0% found this document useful (0 votes)
303 views2 pages

Os Lab Experiments

This document outlines the curriculum for an Operating Systems Laboratory course taken by students in their second year of an IT program. Over the course of 7 weeks, students will write C programs to simulate CPU scheduling algorithms, implement Unix system calls, simulate the banker's algorithm for deadlock avoidance, implement producer-consumer problems using semaphores, illustrate inter-process communication methods, simulate memory management techniques like paging and segmentation, and simulate page replacement policies. Upon completing the course, students will be able to simulate and implement operating system concepts, use Unix system calls in C programs, implement the banker's algorithm, solve producer-consumer problems, and exercise inter-process communication.

Uploaded by

K. VIJAY KUMAR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
303 views2 pages

Os Lab Experiments

This document outlines the curriculum for an Operating Systems Laboratory course taken by students in their second year of an IT program. Over the course of 7 weeks, students will write C programs to simulate CPU scheduling algorithms, implement Unix system calls, simulate the banker's algorithm for deadlock avoidance, implement producer-consumer problems using semaphores, illustrate inter-process communication methods, simulate memory management techniques like paging and segmentation, and simulate page replacement policies. Upon completing the course, students will be able to simulate and implement operating system concepts, use Unix system calls in C programs, implement the banker's algorithm, solve producer-consumer problems, and exercise inter-process communication.

Uploaded by

K. VIJAY KUMAR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

ANURAG ENGINEERING COLLEGE

(An Autonomous Institution)

II Year B. Tech. IT - II Sem L T/P/D C


0-0-2-1
II
(CS406PC) OPERATING SYSTEMS LABORATORY

Prerequisites:

 A course on “Programming for Problem Solving”, A course on “Computer Organization


and Architecture”.

Week 1:
Write C programs to simulate the following CPU Scheduling algorithms a) FCFS b) SJF c)
Round Robin d) priority

Week 2:
Write programs using the I/O system calls of UNIX/LINUX operating system (open, read,
write, close, fcntl, seek, stat, opendir, readdir)

Week 3:
Write a C program to simulate Bankers Algorithm for Deadlock Avoidance and Prevention.

Week 4:
Write a C program to implement the Producer – Consumer problem using semaphores using
UNIX/LINUX system calls.

Week 5:
Write C programs to illustrate the following IPC mechanisms a) Pipes b) FIFOs c ) Message
Queues d) Shared Memory

Week 6:
Write C programs to simulate the following memory management techniques a) Paging b)
Segmentation

Week 7:
Write C programs to simulate Page replacement policies a) FCFS b) LRU c) Optimal
Course Outcomes:
Upon the successful completion of this course, the student will be able to:
1. Simulate and implement operating system concepts such as scheduling,
2. Able to implement C programs using Unix system calls
3. Implement the dead lock avoidance using banker’s algorithm
4. Implement the producer and consumer problem and Page Replacement algorithms
5. Exercise inter-process communication.

You might also like