Work through the concepts, then test yourself with the knowledge check.
In Round-Robin scheduling, what determines the maximum time a process runs before being preempted?
Round-Robin doesn't use priorities. Each process gets an equal time quantum (e.g., 10ms). Priority scheduling is a separate algorithm.
CPU scheduling in RR is time-based, not memory-based. Memory affects page faults but not the scheduling quantum.
RR uses a fixed time quantum. Open files are an OS resource tracked in the PCB but don't influence scheduling quantum.
Shortest Job First (SJF) scheduling minimizes:
SJF optimizes for average waiting time by running the shortest process next. Context switch count depends on process count, not job length.
Interactive response is better served by preemptive algorithms that give CPU time quickly to newly arriving tasks. SJF optimizes batch throughput.
SJF is purely about CPU burst time ordering. Memory management is handled separately by the memory manager.