Bölüm 5 · SimülatörCPU Scheduling? ← Bölüm 5 FCFS SJF SRTF Priority P-Priority RR Speed 2/s Scenario Course Short jobs Priority clash RR demo Random Quantum 2 CompareNot arrivedReady queueCPUFinished Time 0/0 ✓ Done 0/0 Avg W – Avg T – Avg R – CloseCPU SchedulingProcesses move between Not arrived, the ready queue, the CPU and Finished while the Gantt chart is drawn one time unit at a time. The table on the right shows each process’s waiting (W), turnaround (T) and response (R) time as it finishes, with the averages underneath.How to usePick an algorithm and a scenario, or edit the process table directly (name, arrival, burst, priority; + adds a process, up to 8; × removes one).▶ plays; the step buttons move one time unit back or forward, or jump to the start or end. Speed sets time units per second.Quantum is the Round Robin time slice (1–10).Compare runs all six algorithms on the same processes and sweeps the RR quantum from 1 to 6; click an algorithm there to switch to it.AlgorithmsFCFSRun in arrival order, to completion.SJFShortest burst among arrived; no preemption.SRTFShortest remaining time; arrivals can preempt.PrioritySmallest number first; no preemption.P-PriorityA strictly higher priority arrival preempts.RROne quantum per turn, then back of the queue.TiesEarlier arrival, then table order. RR: arrivals queue before the preempted process.MetricsTTurnaround = completion − arrivalWWaiting = turnaround − burstRResponse = first run − arrivalLegend arrival waiting running ✓ finished preemptedKeys←→ stepSpace playHomeEndEsc close