OPERATING SYSTEMS LABORATORY
Subject code: BCS303 IA Marks:25
Sl Question bank
No.
1 Develop a C program to implement the Process system calls
(fork (), exec(), wait(), create process, terminate process)
2 Simulate the following CPU scheduling algorithms to find turnaround time
and waiting time a) FCFS b) SJF.
3 Simulate the following CPU scheduling algorithms to find turnaround time
and waiting time a)Round Robin b) Priority.
4 Develop a C program to simulate producer-consumer problem using
semaphores.
5 Develop a C program which demonstrates interprocess communication
between a reader process and a writer process.
Use mkfifo, open, read, write and close APIs in your program.
6 Develop a C program to simulate Bankers Algorithm for DeadLock
Avoidance.
7 Simulate following File Organization Technique - Single level directory
8 Develop a C program to simulate the Linked file allocation strategies.