Skip to content

AmitMaity123-bit/Operating-Systems-Lab-Programs

Repository files navigation

🚀 Operating Systems Lab Programs in C

C Operating Systems Algorithms Status


📖 Overview

This repository contains implementations of important Operating System algorithms written in C Programming.

The programs are designed for:

  • 🎓 University Laboratory Work
  • 📚 Academic Learning
  • 📝 Viva Preparation
  • 💻 Practical Demonstrations
  • 🚀 GitHub Portfolio Enhancement

Each program is implemented with proper logic and produces scheduling statistics such as:

  • Completion Time (CT)
  • Turnaround Time (TAT)
  • Waiting Time (WT)
  • Page Fault Analysis

📂 Programs Included

CPU Scheduling Algorithms

Algorithm Type
First Come First Serve (FCFS) Non-Preemptive
Shortest Job First (SJF) Non-Preemptive
Shortest Job First (SJF) Preemptive
Priority Scheduling Non-Preemptive
Priority Scheduling Preemptive
Round Robin Preemptive

Memory Management

Algorithm
Least Recently Used (LRU)

🛠 Technologies Used

  • C Programming
  • GCC Compiler
  • Turbo C++
  • VS Code
  • Windows Command Prompt

⚡ How to Run

GCC

gcc filename.c -o output
./output

Turbo C++

  1. Open Turbo C++
  2. Create New File
  3. Paste Source Code
  4. Compile (Alt + F9)
  5. Run (Ctrl + F9)

📊 Concepts Covered

  • CPU Scheduling
  • Process Management
  • Waiting Time Calculation
  • Turnaround Time Calculation
  • Completion Time Calculation
  • Memory Management
  • Page Replacement Algorithms

📁 Repository Structure

Operating-Systems-Lab-Programs/
│
├── README.md
├── First-Come-First-Serve/
├── Shortest-Job-First-Non-Preemptive/
├── Shortest-Job-First-Preemptive/
├── Priority-Scheduling-Non-Preemptive/
├── Priority-Scheduling-Preemptive/
├── Round-Robin-Scheduling/
└── Least-Recently-Used/

🎯 Learning Outcomes

After completing these programs, students will be able to:

✔ Understand Scheduling Algorithms

✔ Compare Scheduling Techniques

✔ Calculate CT, TAT and WT

✔ Understand Memory Management

✔ Analyze Page Replacement Methods


👨‍💻 Author

Amit Kumar Maity

B.Sc Student | Computer Science

College: Midnapore College Autonomous

⭐ If you found this repository useful, please give it a Star.

Releases

No releases published

Packages

 
 
 

Contributors

Languages