Which of the following best defines turnaround time in process scheduling?
Think about the entire duration a process is in the system.
Turnaround time measures the total time from when a process enters the system until it finishes execution, including waiting and running times.
What does waiting time represent in CPU scheduling?
Consider the time before the process actually starts running.
Waiting time is the total time a process spends waiting in the ready queue before it gets CPU time.
Given 5 processes completed in 20 seconds total, what is the throughput?
Throughput is the number of processes completed divided by total time.
Throughput = Number of processes completed / Total time = 5 / 20 = 0.25 processes per second.
Which scheduling criterion focuses on maximizing the number of processes completed in a given time?
Think about the rate of process completion.
Throughput measures how many processes finish per unit time, so maximizing throughput means completing more processes quickly.
Consider three processes with burst times 4, 3, and 2 units arriving at the same time. Which scheduling method will minimize the average waiting time?
Think about which method runs shorter processes first.
SJF schedules the shortest processes first, reducing waiting time for shorter jobs and minimizing average waiting time overall.