In this project you will simulate Round Robin scheduling algorithm. For the sake of
simulation, consider a simple system with a single CPU, single I/O device. The CPU has a
ready queue and an I/O queue. The system will select a process from the ready queue based
on RR algorithm (quantum time will be given to you) and send it to CPU. Information
about a process is maintained in process control block (PCB) during the lifetime of the
process i.e. from start until termination. Each process PCB contains all required
information to identify the process such as its id, its state, and required statistics which
include turnaround time for each process, and waiting time for each process. You can add 2
other fields to PCB to help you in programming. Your program should provide average
turnaround time, average waiting time, and CPU utilization for a given input file.
New data file (of standard format) will be provided
Statistics required in this phase are:
• Time the first process arrives.
• PID of the second process executed.
• Time the last process executed.
• PID of the last process executed.
• Finish time of every process.
• Total time for execution of all processes.
• Average turnaround time.
• Average waiting time.
(I already have the code, but it's not working for some reason)
*I need it within 6 hours maximum
1 pekerja bebas membida secara purata $30 untuk pekerjaan ini
Hi, I am an experienced java developer with 7+ years of experience. I will be pleased to do this project for you. Please inbox to discuss further details. Regards, Sharjeel