All the Operating System Lab programs are Here
-
Write a C programs to implement UNIX system calls and file management.
a) Fork () System Call:
b) Wait () and Exit () System Calls
c) Execl () System Call:
d) Exclp () System Call:
e) Execv () System Call:
f) Zombie Process:
g) Orphan Process
h) File Management:
i) Directory Hierarchy: /* Recursively descend a directory hierarchy pointing a file */
-
Write C programs to demonstrate various thread related concepts.
-
Write a C Programs to Simulate the Following CPU Scheduling Algorithms.
- FCFS CPU Scheduling Algorithm.
- SJF CPU Scheduling Algorithm.
- Round Robin CPU Scheduling Algorithm.
-
Write a C Program to Simulate IPC Techniques.
- Pipes : p1 : [Creating FIFO / Named PIPE.] p2 : [A Writing to a FIFO / Named PIPE.] p3 : [Reading from the Named PIPE.]
- Un – Named PIPE : P1 : Program for IPC using Message Queues to send data to a message queue. P2 : Program for IPC using Message Queues T]to receive/read message from the above – created message queue.
- Shared Memory. P1 : A Program for Shared Memory Sender. P2 : A Program for Shared Memory Receiver.
-
Write a C Program to Simulate Classical Problems of Synchronization.
- Readers – Writers Problem. P1: (mesg.h) Readers – Writers Problem Using Massage Passing. P2: (sender1.c) Readers – Writers Problem Using Massage Passing. P3: (receiver1.c) Readers – Writers Problem Using Massage Passing.
- Producers – Consumers Problem. P1: (shmem.h) Producer – Consumer Problem Using Shared Memory. P2: (sender.c) Producer – Consumer Problem Using Shared Memory. P3: (receiver.c) Producer – Consumer Problem Using Shared Memory.
- Dining Philosophers Problem. P1: (smop.h) Dinning – Philosophers Problem Using Semaphores P2: (dinning.c) Dinning – Philosophers Problem Using Semaphores
-
Write a C Program to Simulate Bangers Algorithm for
- Deadlock Avoidance.
- Deadlock Detection
-
Write a C Program to Simulate all Page Replacement Algorithms.
- FIFO Page Replacement Algorithm.
- LRU Page Replacement Algorithm
-
Write C programs to simulate implementation of Disk Scheduling Algorithms.
- FCFS Disk Scheduling Algorithms.
- SSTF Disk Scheduling Algorithms.