GithubHelp home page GithubHelp logo

rakibul73 / operating_system_code Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 0.0 56 KB

Operating System Code in Python 3

Jupyter Notebook 50.52% Python 49.48%
python banker-algorithm bankers-algorithm deadlock-avoidance deadlock-detection mutex-lock peterson-algorithm dining-philosophers-problem dining-philosophers-problem-semaphore-solution semaphore-dining-philosopher

operating_system_code's Introduction

Operating System Code in Python 3
Python NumPy SciPy Matplotlib OpenCV Jupyter Notebook Visual Studio Code

Installations

  • Python 3 can be downloaded from here. Make sure to check Add Python 3.x to PATH during installation.
  • NumPy, SciPy, and matplotlib etc libraries can be downloaded and installed using the commands:
pip install numpy
pip install scipy
pip install matplotlib
pip install library-name

or if you have multiple python version installed use this

py -3.9 -m pip install numpy
py -3.11 -m pip install numpy
.....

Code for Academic Course CIT-322 (Operating System Sessional)


Mahabub Sir Part


First Come First Serve (FCFS) (With Different Arrival Time)

jupyter File
Python File

Shortest Job First Non-Preemptive (SJF) (With Different Arrival Time)

jupyter File
Python File

Shortest Job First Preemptive (SRT) (With Different Arrival Time)

jupyter File
Python File

Priority Primptive (With Different Arrival Time)

jupyter File
Python File

Priority Non-Primptive (With Different Arrival Time)

jupyter File
Python File

Round Robin (With Different Arrival Time)

jupyter File
Python File

FCFS With Concurent Process

jupyter File
Python File



Masud Sir Part


Lab - 1 == Peterson Solution (Producer Consumer Problem)

jupyter File
Python File    /    Python File Alternative

Lab - 2 == Mutex Lock (Protect Critical-Sections & Prevent Race-Conditions)

jupyter File
Python File

Lab - 3 == Semaphore Solution in Process-Synchronization (Producer Consumer Problem)

jupyter File
Python File    /    Python File Alternative

Lab - 4 == Semaphore Solution in Process-Synchronization (Dining Philosopher Problem)

jupyter File
Python File

Lab - 5 == Banker’s Algorithm (Deadlock Avoidance)

jupyter File
Python File    /    Python File Alternative 2    /    Python File Alternative 3    /    Python File Alternative 4

Lab - 6 == Deadlock Detection

jupyter File
Python File    /    Python File Alternative


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.