Best policy for a goal
Standard · Multiple choice · about 3 min
A shared server runs many interactive terminal sessions. Each session sends short commands, and some users also start long jobs. The goal: every user sees a response within a bounded time, and no job waits forever. Burst lengths are not known in advance.
Which policy fits this goal best?
Constraints
- Pick one option.
Learn the idea first: CPU scheduling: FCFS, SJF, priority, round robin, a visual lesson.
More CPU scheduling: FCFS, SJF, priority, round robin problems
- Compute waiting time Warm-up
- FCFS waiting times Warm-up
- Build the round-robin schedule Standard
- Round-robin finish times Standard
- Simulate SJF in code Challenge