Operating Systems Lab Manual: Sri Ramanathan Engineering College
Operating Systems Lab Manual: Sri Ramanathan Engineering College
NADUPATTI
1. Write programs using the following system calls of UNIX operating system:
fork, exec, getpid, exit, wait, close, stat, opendir, readdir
2. Write programs using the I/O system calls of UNIX operating system (open,
read, write, etc)
3. Write C programs to simulate UNIX commands like ls, grep, etc.
4. Given the list of processes, their CPU burst times and arrival times,
display/print the Gantt chart for FCFS and SJF. For each of the scheduling
policies, compute and print the average waiting time and average turnaround
time. (2 sessions)
5. Given the list of processes, their CPU burst times and arrival times,
display/print the Gantt chart for Priority and Round robin. For each of the
scheduling policies, compute and print the average waiting time and average
turnaround time. (2 sessions)
6. Developing Application using Inter Process communication (using shared
memory, pipes or message queues)
7. Implement the Producer – Consumer problem using semaphores (using UNIX
system calls).
8. Implement some memory management schemes – I
9. Implement some memory management schemes – II
10. Implement any file allocation technique (Linked, Indexed or Contiguous)