/OS

Primary LanguageC

Operating Systems Lab

Welcome to the Operating Systems Lab! This repository contains materials for the B.Tech. II Year II Sem. Operating Systems Lab. Below you will find essential information about the course, including prerequisites, objectives, outcomes, list of experiments, and recommended textbooks.

Course Information

  • Course Code: OS Lab
  • Duration: II Year II Semester
  • Lecture Hours: 0
  • Tutorial Hours: 0
  • Practical Hours: 2
  • Credits: 1

List of Experiments

  1. Write C programs to simulate the following CPU Scheduling algorithms:

  2. Write programs using the I/O system calls of UNIX/LINUX operating system:

  3. Write a C program to simulate Bankers Algorithm for Deadlock Avoidance and Prevention.

  4. Write a C program to implement the Producer – Consumer problem using semaphores using UNIX/LINUX system calls.

  5. Write C programs to illustrate the following IPC mechanisms:

    • a) Pipes
    • b) FIFOs
    • c) Message Queues
    • d) Shared Memory
  6. Write C programs to simulate the following memory management techniques:

    • a) Paging
    • b) Segmentation
  7. Write C programs to simulate Page replacement policies:

    • a) FCFS
    • b) LRU
    • c) Optimal

Textbooks

  1. Operating System Principles - Abraham Silberschatz, Peter B. Galvin, Greg Gagne (7th Edition), John Wiley
  2. Advanced Programming in the Unix Environment - W.R. Stevens, Pearson Education.

Contributors

Feel free to contribute by submitting pull requests or by raising issues. Happy coding!