This is the code for the assigned project for COM-310.
Assumptions for the project:
- Up to 10 processes can be in the ready queue at one time.
- The burst times of each process can range from 1 time unit to 50 time units.
- The arrival time of each process can range from 0 time units (i.e. arrive immediately) to 200 time units.
- If there are two or more processes which arrive at the same time, the one which gets executed first is the one with the shortest burst time (see Assumption #7).
- The priority of any given process can range from 1 to 100 where a higher number implies a higher priority.
a) If a process is created, by the user or randomly, with priority, initial priority ranges from 0 to 20. - If there are two processes with the same priority, the one which gets executed first is the one with the shortest burst time (see Assumption #7).
- If two processes has the same burst time, then the process with the lowest ID number gets executed first.