Skip to content

🤹 A C++ implementation of the Round Robin Scheduler algorithm for process scheduling.

License

Notifications You must be signed in to change notification settings

OSSpk/Round-Robin-Scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤹 Round-Robin-Scheduler

views Open Source Love svg1 GitHub Forks GitHub Issues contributions welcome

Round-robin (RR) is one of the algorithms employed by process and network schedulers in computing. As the term is generally used, time slices (also known as time quanta) are assigned to each process in equal portions and in circular order, handling all processes without priority.

For more info read: Round Robin Scheduler Wiki

Problem Statement

You have to write a code which acts like a Round Robin scheduler. Your program will read an input file named Assign-1.ip. It will be a comma separated file containing a table like following (see the sample comma separated input file)

table 1

When user will start your program it will ask the user to enter the length of the quantum as following

[pc@user ~ ]$ Enter the length of the quantum [1-100]:

When a user enters any value between 1 to 100, it will schedule the jobs according to that quantum and save the order in which they execute into a comma separated file named Assign-1.op. In the above example suppose the value of quantum was given to be as 10, then its result will be the following table. The table will be saved in the form of a comma separated file as provided in the sample.

table 2

How to Run

Simply run the "Round Robin Scheduler.cpp" file in any C++ compliant IDE. In order to open the Assign-1.ip and Assign-1.op files, you can use any editor like Notepad ++


Author

You can get in touch with me on my LinkedIn Profile: LinkedIn Link

You can also follow my GitHub Profile to stay updated about my latest projects: GitHub Follow

If you liked the repo then kindly support it by giving it a star ⭐ and share in your circles so more people can benefit from the effort.

Contributions Welcome

GitHub Issues

If you find any bugs, have suggestions, or face issues:

  • Open an Issue in the Issues Tab to discuss them.
  • Submit a Pull Request to propose fixes or improvements.
  • Review Pull Requests from other contributors to help maintain the project's quality and progress.

This project thrives on community collaboration! Members are encouraged to take the initiative, support one another, and actively engage in all aspects of the project. Whether it’s debugging, fixing issues, or brainstorming new ideas, your contributions are what keep this project moving forward.

With modern AI tools like ChatGPT, solving challenges and contributing effectively is easier than ever. Let’s work together to make this project the best it can be! 🚀

License

MIT

Copyright (c) 2018-present, harismuneer


Waving hand Hey there, I'm Haris Muneer 👨🏻‍💻

Total Github Stars Total Github Followers


  • 🕸️ Founder of Cyfy Labs: At Cyfy Labs, we provide advanced social media scraping tools to help businesses, researchers, and marketers extract actionable data from platforms like Facebook, Instagram, and X (formerly Twitter). Our tools support lead generation, sentiment analysis, market research, and various other use cases. To learn more, visit: www.cyfylabs.com

  • 🌟 Open Source Advocate: I’m passionate about making tech accessible. I’ve open-sourced several projects that you can explore on my GitHub profile and on the Open Source Software PK page.

  • 📫 How to Reach Me: You can learn more about my skills/work at LinkedIn. You can also reach out via email for collaboration or inquiries. For Cyfy Labs related queries, please reach out through the company website.


🤝 Follow my journey