EK
eksqtr/Processes-Sorting-Procedures
Java program that will allow the user to enter 5 to 7 processes and choose from the following sorting procedures
Processes-Sorting-Procedures
Version 1.0 - September 15, 2019
NOTE This code is use for educational purposes
Java program that will allow the user to enter 5 to 7 processes and choose from the following sorting procedures
Process properties:
- ID
- Arrival Time
-
by arrival time (first come - first serve)
-
- CPU Burst Time
-
by CPU burst time (shortest CBT first). If both process have same CBT, break the tie using arrival time.
-
- Priority
-
by priority (1= highest priority, 5 = lowest priority) If both process have same priority, break the tie using CBT If both process have same priority and CBT, break the tie using arrival time.
-
A Sample Image for Main Menu
This program uses:
- Indexed Array
- Loops
- Conditional Statement / Ternary Operator
- Methods / Functions
- User-defined object with Getter and Setter
Program code highlights
- Fully functional
- User-friendly
- Readable Code
Hard Coded by: Clemente
On this page
Languages
Java100.0%
Contributors
Latest Release
1.0September 15, 2019GNU General Public License v3.0
Created September 15, 2019
Updated September 15, 2019