Question: OS , I want someone to convert this algorithm into complete Java code. please. I want to solve the entire project as code without any
OS I want someone to convert this algorithm into complete Java code. please. I want to solve the entire project as code without any loss. I want the complete code from you and you tested it And Im just copying the code from here, please.
Comp
ProjectF
Due :midnight
The project is a simulation for some of the CPU scheduling algorithms and making a comparison between them. The project will:
Simulates the CPU scheduling algorithms FCFS SRTF SJF with preemption RR Multilevel Feedback Queues.
Creates processes in the ready queue with a random CPUburst for each process between & time units. You should use a suitable data structure for each process representing in a way the PCB which may contain the data you think you need it in your program.
When creating the processes, assign some kind of order arrival time for their arrival.
For RR use a slice time quantum units
In multilevel feedback Queue, consider queues,
Q: with units
Q: RR with units.
Q: FCFS
For each of the scheduling algorithms above, you should compute the average turnaround time ATT and average waiting time AWT
Repeat steps to for times, times, times, and times.
Create a table summarizing your results showing ATT & AWT for all cases:
For example, in case FCFS:
No of iterations
tableATTAWT
FCFS
Same thing for SJF RR Multilevel Feedback Queues.
Your program will be graded according to correctness, style, and documentation.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
