Multiple choice

Which of the following is/are the function(s) of a scheduler?

  1. It selects which ready process is to be run next.

  2. It specifies the time slice.

  3. It waits for an event to occur before continuing execution.

  4. Both (1) and (2)

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

A scheduler performs two key functions: selecting which ready process to execute next (CPU scheduling) and specifying the time slice duration (how long each process runs). Waiting for an event is a process state (blocked/waiting), not a scheduler function - the scheduler merely selects from ready processes.