Hacktoberfest-2k18 icon indicating copy to clipboard operation
Hacktoberfest-2k18 copied to clipboard

First-come, First-serve process scheduling

Open Ram-Aditya opened this issue 7 years ago • 12 comments

Description

  • Implement the First-Come, First-Serve process scheduling algorithm.

  • The input to your algorithm must be a 2-D array that contains values for(Burst Time, Arrival Time) for 10 processes. Initialize random values for each of the 2 attributes for each process and print this table.

  • The expected output is the list of statements that show the order in which processes were scheduled and at what time they were scheduled.

  • Acceptable range of values for input: Burst Time: [0,10]microseconds Arrival Time: [0,50]seconds *Burst Time is the amount of time the process requires to execute on the CPU.

Details

  • Technical Specifications:

    • You must use any one of the following programming languages: Python, Java, C, C++.
  • Type of issue: No more than one implementation will be accepted for each language. Once the implementation for a language has been taken up (i.e if it is checked in the 'Issue Progress' section), you must choose from the remaining.

  • Time Limit: Issues will be given on a first-come, first-serve basis. Once you take this issue up, you must complete it within 2 days, failing which the issue will be allocated to the next person who requested for this issue.

  • Additional Instructions:

    • While making the Pull Request, attach screenshots of 5 sample inputs and their corresponding output.

Issue progress

  • [x] Python
  • [x] C++
  • [ ] Java
  • [ ] C

Resources

https://www.tutorialspoint.com/operating_system/os_process_scheduling_algorithms.htm

Directory Structure

For this issue, use the following directory of theHacktoberfest-2k18 repository: /systems/os/process_scheduling/fcfs/language_name (where language_name is one of the languages mentioned above.)

Note

Please claim the issue first by commenting here before starting to work on it.

Ram-Aditya avatar Oct 02 '18 20:10 Ram-Aditya

I want to take upon this issue.

insane-abhi avatar Oct 07 '18 05:10 insane-abhi

@insane-abhi Which language would you like to take it up in?

Ram-Aditya avatar Oct 07 '18 06:10 Ram-Aditya

C++

insane-abhi avatar Oct 07 '18 06:10 insane-abhi

@insane-abhi Yes sure, you can go ahead. But please make sure to submit within 2 days

Ram-Aditya avatar Oct 07 '18 07:10 Ram-Aditya

I am working on it's implementation in C.

AmeyCaps avatar Oct 08 '18 14:10 AmeyCaps

@AmeyCaps Sure, you can go ahead. But please make sure to make the pull request within 2 days.

Ram-Aditya avatar Oct 08 '18 18:10 Ram-Aditya

@AmeyCaps Please try to submit by tomorrow, else the implementation in C will have to be handed over to the next person requesting it.

Ram-Aditya avatar Oct 10 '18 15:10 Ram-Aditya

@AmeyCaps Sorry, but the implementation in C will now have to be handed over to the next person requesting it. Although you can still claim the issue for implementation in Java or Python.

Ram-Aditya avatar Oct 12 '18 06:10 Ram-Aditya

@pramathabhat sure. Please mention the language you would want to take up.

mahim23 avatar Oct 12 '18 12:10 mahim23

I claim to implement in python

deepakumarvu avatar Oct 13 '18 14:10 deepakumarvu

Yes sure you can go ahead. But please make sure to submit within the time limit.

Ram-Aditya avatar Oct 13 '18 14:10 Ram-Aditya

I have done it kindly check it @Ram-Aditya

deepakumarvu avatar Oct 13 '18 18:10 deepakumarvu