can anyone pls help me to complete this questions?? i'm new in programming , n i'm not very sure how to even start to do this programs....so help needed urgently..preferably the program can be done in Java or C ++...
thank u
No1. Develop a program to simulate a computer using a Round-Robin scheduling algorithm with a time slice of 10 milliseconds and with a ready queue but no device queue. Assume that each process has a random service time of 1 to 9 seconds. Accept processes over a 20 seconds period but continue the simulation until all processes are complete.
No.2 Develop a program to simulate a computer using a preemptive Shortest Job First scheduling algorithm with a ready queue but no device queue. Assume that each process has a random service time of 1 to 9 seconds. Accept processes over a 20 seconds period but continue the simulation until all processes are complete.
No.3 One solution to the problem of avoiding indefinite post ponement of processes is aging, in which the priorities of waiting processes increase the longer they wait. Develop 2 aging algorithms and write simulation programs to examine their relative performance.