Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
18 views1 page

OS Lab QB

Os lsb question bank

Uploaded by

Yashwanth
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views1 page

OS Lab QB

Os lsb question bank

Uploaded by

Yashwanth
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

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.

You might also like