Note: This syllabus is common for 

  • R18 - B.TECH II Year II Sem. - CSE, IT

CS406PC: OPERATING SYSTEMS LAB

(Using UNIX/LINUX)

B.TECH II Year II Sem. L T P C

0 0 3 1.5


Prerequisites:

  • A course on “Programming for Problem Solving”.
  • A course on “Computer Organization and Architecture”.

Co-requisite:

  • A course on “Operating Systems”.

Course Objectives:

  • To provide an understanding of the design aspects of operating system concepts through simulation
  • Introduce basic Unix commands, system call interface for process management, interprocess communication and I/O in Unix

Course Outcomes:

  • Simulate and implement operating system concepts such as scheduling, deadlock management, file management and memory management.
  • Able to implement C programs using Unix system calls

LIST OF EXPERIMENTS:

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

a) FCFS b) SJF c) Round Robin d) priority

2. Write programs using the I/O system calls of UNIX/LINUX operating system (open, read, write, close, fcntl, seek, stat, opendir, readdir)

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

TEXT BOOKS:

  1. Operating System Principles- Abraham Silberchatz, Peter B. Galvin, Greg Gagne 7th Edition, John Wiley
  2. Advanced programming in the Unix environment, W.R.Stevens, Pearson education.

REFERENCE BOOKS:

  1. Operating Systems – Internals and Design Principles, William Stallings, Fifth Edition–2005, Pearson Education/PHI
  2. Operating System - A Design Approach-Crowley, TMH.
  3. Modern Operating Systems, Andrew S Tanenbaum, 2nd edition, Pearson/PHI
  4. UNIX Programming Environment, Kernighan and Pike, PHI/Pearson Education
  5. UNIX Internals: The New Frontiers, U. Vahalia, Pearson Education
  • Created
    Nov 30, 2020
  • Updated
    Dec 12, 2020
  • Views
    1,259