Git Product home page Git Product logo

gajendra-ingle / cpu-scheduling-simulator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 8.11 MB

The CPU Scheduling Algorithm Visualizer is a Web-Based UI that shows How to CPU Scheduling Algorithms work Internally in the CPU.

Home Page: https://gajendra-ingle.github.io/CPU-Scheduling-Simulator/

License: MIT License

HTML 34.77% CSS 12.30% JavaScript 52.92%
cpu-scheduling operating-system scheduling-algorithms scheduling-simulator

cpu-scheduling-simulator's Introduction

CPU Scheduling Simulator Project - Frontend

Overview

This repository contains the frontend implementation for a CPU Scheduling Algorithm Simulator Project, aiming to provide an interactive visualization of various CPU scheduling algorithms commonly used in operating systems.

Theory

CPU Scheduling Algorithms

In the realm of operating systems, CPU scheduling is a critical task responsible for determining the order in which processes are executed by the CPU. The following algorithms are visualized in this project:

  1. First-Come, First-Served (FCFS)

    • FCFS is the simplest scheduling algorithm, where processes are executed in the order they arrive in the ready queue. It suffers from the "convoy effect" and may lead to poor turnaround times.
  2. Shortest Job Next (SJN) / Shortest Job First (SJF)

    • SJN aims to minimize the total processing time by selecting the process with the shortest burst time first. This algorithm can lead to optimal average turnaround time but requires knowledge of the burst times in advance.
  3. Round Robin (RR)

    • RR is a preemptive scheduling algorithm where each process is assigned a fixed time slice or quantum. If a process's burst time exceeds the quantum, it is moved to the back of the queue, allowing other processes to execute.
  4. Priority Scheduling

    • Priority Scheduling assigns priorities to processes, and the process with the highest priority is selected for execution. This can lead to potential starvation of low-priority processes.

Features

  • Visualization: Interactive charts and diagrams provide a real-time representation of CPU scheduling algorithms in action.
  • User Input: Users can input process details, including arrival times and burst times, to observe the impact on different scheduling algorithms.
  • Real-Time Updates: Dynamic updates showcase the progress of CPU scheduling algorithms during execution, aiding in understanding their behavior.

Technologies Used

  • HTML
  • CSS
  • JavaScript

Getting Started

Follow these instructions to get the project up and running on your local machine.

  1. Clone the repository:

    https://github.com/gajendra-ingle/Frontend-Final-year-project.git
    
  2. Open index.html in your browser.


cpu-scheduling-simulator's People

Contributors

gajendra-ingle avatar

Watchers

 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.