Coder Social home page Coder Social logo

nebulatris / os-practical-file Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 46 KB

This repository contains practical file related to the subject operating systems of semester-4, including shell scripts and codes for process scheduling, page replacement, and disk scheduling. The repository also includes code for the banker's algorithm.

License: MIT License

Shell 9.70% C++ 90.30%
cpp shell

os-practical-file's Introduction

OS-Practical-File

This repository contains practical file related to the subject operating systems of semester-4, including shell scripts and codes for process scheduling, page replacement, and disk scheduling. The repository also includes code for the banker's algorithm.

Folder Structure

This folder contains several shell scripts:

  1. Addition of two numbers
  2. Calculation of area of a circle (radius entered by user)
  3. Swapping two numbers (with and without a third variable)
  4. Finding the factorial of a number
  5. Printing the Fibonacci series of 'n' elements and the sum of the series
  6. Simple calculator
  7. Accepting a file name with starting and ending line numbers as arguments and displaying all lines between the given line numbers
  8. Deleting all lines containing a specified word
  9. Displaying a list of all files in the current directory

This folder contains C++ implementations of various process scheduling algorithms:

  • First Come First Serve (FCFS)
  • Shortest Job First (SJF)
  • Shortest Remaining Time First (SRTF)
  • Priority Scheduling (Preemptive)
  • Priority Scheduling (Non-preemptive)
  • Round Robin

This folder contains C++ implementations of various page replacement algorithms:

  • First In First Out (FIFO)
  • Optimal
  • Least Recently Used (LRU)

This folder contains C++ implementations of various process scheduling algorithms:

  • First Come First Serve (FCFS)
  • Shortest Seek Time First (SSTF)
  • SCAN
  • C-SCAN
  • LOOK
  • C-LOOK.

Contains code for the banker's algorithm in C++

How to Use this Repository:

To use this repository, you can simply clone it using the following command:

git clone https://github.com/NebulaTris/OS-Practical-File.git

You can then navigate to the required folder and run the respective code or script.

License

This repository is licensed under the MIT License. See the LICENSE file for more details.

os-practical-file's People

Contributors

nebulatris avatar

Stargazers

 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.