I have a piece of software which i have created which is written in java therefore i would like somebody with a bit more experience then me to help on developing it a bit further. The software is used to calculate the CPU scheduling time according to the algorithms used in it. This project requires understanding of the shortest job first, first come first served and priority scheduling algorithms which are used when process are run on the CPU. I have the program written in java which does some of what i need but it needs more work therefore i can upload it to anyone who is interested if they are willing to help.
What is required
When the user selects which algorithm to use after that he should be able to enter the number of processes which he would like to run for example 50 processes, after this the menu should come up for the short, medium or long processes in which the user should be able to enter the percentage of the total process which are long medium or short,
so if there are 50 processes and the user selects short as 10 percent and medium as 50 percent and long as 40 percent then all these processes should run according to the algorithm which has been selected and output the result on the screen. the short processes should be between 1 and 10 nanosecond and the medium processes should be between 10 and 500 nanoseconds and the long processes should be between 500 and 1000 nanoseconds, if nanoseconds are not possible then milliseconds can be used, these processes should be generated randomly like you did before. The arrival times should also be displayed for each process as the burst times are displayed.
the output could look something like this in a table format if it is possible...:
Process ID Arrival Time Burst time
1 0 5
2 4 2
3 6 6
etc
but all this data for the arrival time and burst time should be genreated randomly according to the short medium or long processes, but all run at once.
If you need more info then just inbox me.
Thanks
Hi, I am a qualified java programmer and understand the SJF,FCFS and priority algorithms. I can help you in this project. Can you provide the details and code of your current code?. Thank you.