Skip to content

pauljacobv/OS-Lab

Repository files navigation

CS010 607: Operating Systems Lab

Objectives • To provide a practical exposure of all algorithms and behaviour of processes in the system with respect to all its timings. • This lab also explains the allocation of process in the memory with some memory management techniques.

(Implement the following on LINUX platform. Use C for high level language implementation)

  1. Basic UNIX commands
  2. Shell programming
  • Command syntax
  • Write simple functions with basic tests, loops, patterns
  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
  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
  6. Implement the Producer – Consumer problem using semaphores.
  7. Implement inter-process communication using shared memory.
  8. Implement some memory management schemes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published