Open Yuvraj960 opened 3 months ago
Hey @Yuvraj960, Welcome to the project CalcDiverse! 🎊 Thanks for opening an issue! 🙌 Please wait for the issue to be assigned. Happy Coding!! ✨
@Rakesh9100 Kindly review this issue, because the newly merged CPU Scheduling calculator is not working correctly. The code written is whole wrong. Also if possible please remove this calculator from your already live CalcDiverse app, because the output of the calculator is highly inefficient. I will design this calculator from scratch as the code written for this is not reusable and confusing also so can't be repaired.
@Rakesh9100 Kindly assign issues
@Rakesh9100 this issue can be assigned
Okay go ahead @Yuvraj960
can you assign me this ? I want to contribute
Description
The output of the CPU Scheduling calculator is totally wrong. FCFS input: And output:
Which is totally wrong, because CPU doesn't wait for 2 seconds. Here one process is coming at 1second. Algorithm says that CPU should be allocated to that process which will come first now which is written first in the textbox.
And the Round Robin process is totally wrong: Input:
Output:
You can identify here the waiting time is written to be -2 which is practically not possible.
Also I want to rename this calculator to
Non Preemptive CPU Scheduling Calculator
. Because It consists of non preemptive version of the Scheduling Algorithms. This will help user to recognize algorithms before opening calculator.Please assign this issue to me @Rakesh9100
Checklist
Code of Conduct