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

harismuneer/Round-Robin-Scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 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 that enable businesses, researchers, and marketers to extract actionable insights from platforms like Facebook, Instagram, and X (formerly Twitter). Our tools are designed for use cases such as lead generation, market research, social listening, and more. Learn more at www.cyfylabs.com

  • 🌟 Open Source Advocate: Passionate about making technology accessible, I’ve developed and open-sourced several software projects for web, mobile, desktop, and AI on my GitHub profile. These projects have been used by thousands of learners worldwide to enhance their skills and knowledge.

  • 📫 How to Reach Me: To learn more about my skills and work, visit my LinkedIn profile. For collaboration or inquiries, feel free to reach out via email. For Cyfy Labs related queries, please contact us through our company website.


🤝 Follow my journey