Coder Social home page Coder Social logo

os-cpu-scheduler-assignment's Introduction

CPU Scheduler Project

Overview

This project aims to implement a CPU Scheduler application that supports various scheduling algorithms. The application allows users to simulate the execution of processes with different scheduling algorithms, visualize the scheduling process through a Gantt Chart, and calculate average waiting time and average turnaround time.

Supported Schedulers

  1. First-Come, First-Served (FCFS)
  2. Shortest Job First (SJF) - Preemptive and Non-Preemptive
  3. Priority - Preemptive and Non-Preemptive (Lower priority numbers indicate higher priority)
  4. Round Robin

Features

  • Dynamic addition of processes during execution
  • Live scheduling with each time unit mapped to 1 second
  • Real-time update of remaining burst time for processes
  • Option to run existing processes without live scheduling
  • Graphical User Interface (GUI) desktop application

Usage

  1. Download the executable file from the provided link.
  2. Launch the application.
  3. Select the desired scheduling algorithm.
  4. Enter the necessary information for each process according to the selected algorithm.
  5. Optionally, add new processes dynamically during execution.
  6. Run the scheduler to visualize the scheduling process and view the Gantt Chart.
  7. Review the calculated average waiting time and average turnaround time.

Screenshots

Screenshot 1 Screenshot 2

Requirements

  • Java Runtime Environment (JRE)
  • Operating System: Windows

Build Instructions

  1. Clone the repository: git clone <repository-url>
  2. Navigate to the project directory: cd cpu-scheduler
  3. Build the project: mvn package

Contributors

os-cpu-scheduler-assignment's People

Contributors

semomoh avatar karim-308 avatar mahmoud-abdelraouf avatar d3cypherd avatar ahmed-khaled-abdelmaksod avatar adhamkhaled312 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.