Skip to content

csc-mec/OS_Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OS LAB

CSL204 Operating Systems Lab KTU Semester 4

Lab Cycles

  • Cycle 1: Basic Linux Commands

  • Cycle 2: Shell Programming

    • 2.1 Shell Script to print numbers from 1 to 100
    • 2.2 Shell Script to print the sum of digits of a number
    • 2.3 Shell Script to find the Factorial of a number
  • Cycle 3: System Calls

    • 3.1 C Program to implement fork , wait , getpid and exec system calls
    • 3.2 C Program to implement stat system call
    • 3.3 C Program to implement opendir and readdir system calls
  • Cycle 4: Inter Process Communication

    • 4.1 C Program to implement First Come First Serve (FCFS) CPU Scheduling Algorithm
    • 4.2 C Program to implement Shortest Job First (SJF) CPU Scheduling Algorithm
    • 4.3 C Program to implement Priority CPU Scheduling Algorithm
    • 4.4 C Program to implement Round Robin CPU Scheduling Algorithm
  • Cycle 5: Inter Process Communication using Shared Memory

    • 5.1 Writer Process
    • 5.2 Reader Process
    • 5.3 Implementing Reader Writer Problem using Child and Parent Process
    • 5.4 Calculating Sum of Elements in Array Using IPC.
  • Deadlock Detection

    • 6.1.0Banker's Algorithm
  • Disk Scheduling Algorithm's

    • 6.1 FCFS Algorithm
    • 6.2 SCAN Algorithm
    • 6.3 CSCAN Algorithm
  • Memory Allocation Algorithm's

    • 7.1 Firstfit, Worstfit and Bestfit.
  • Page Replacement Algorithm's

    • 8.0 FIFO Algorithm
    • 8.0 LRU Algorithm
    • 8.0 LFU Algorithm