Lompat ke konten

Labs · 9618 A2 16.1

CPU Scheduler

Be the operating system. Choose which process gets the CPU at each moment, and watch the Gantt chart and the waiting times change.

7 levelsFree bench

In the exam

9618/32 October/November 2022 · Question 9(a) · 3 marks

Explain why an operating system needs to schedule processes.

Points that gain marks

  • So that several programs seem to run at the same time (multitasking).
  • So that high-priority jobs are completed first.
  • To keep the CPU busy all the time, so all processes run efficiently.
  • To reduce waiting times and give every process fair use of the CPU, so no process waits for ever (starvation).

In this lab: The race table in free mode compares the average waiting time of each algorithm on the same processes.

More real experiments

Masuk atau buat akun

IGCSE, A-Level & AP