Operating Systems Laboratory BCS303

Develop a c program to implement the Process system calls (fork (), exec(), wait(), create process, terminate process)

Simulate the following CPU scheduling algorithms to find turnaround time and waiting time:
a) FCFS
b) SJF
c) Round Robin
d) Priority

Develop a C program to simulate producer-consumer problem using semaphores.

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.

Develop a C program to simulate Bankers Algorithm for DeadLock Avoidance.

Develop a C program to simulate the following contiguous memory allocation Techniques:
a) Worst fit
b) Best fit
c) First fit

Develop a C program to simulate page replacement algorithms:
a) FIFO
b) LRU

Simulate following File Organization Techniques:
a) Single level directory
b) Two level directory

Develop a C program to simulate the Linked file allocation strategies.

Develop a C program to simulate SCAN disk scheduling algorithm.

Leave a Reply

Your email address will not be published. Required fields are marked *