Quiz 4 Flashcards
T/F: CPU scheduling decisions will take place when a new process is created
False
When the current process runs until it uses up its entire time quantum, it will switch to state
ready
What should the value of alpha be so that each prediction is based solely on the last observations
1
T/F: If processes have exactly the same total CPU time requirement, then SJF and SRT could lead to starvation.
False
4 Processes, P1-P4, each of length 4, execute under RR.
The time slice is 1 time unit.
P1 will terminate at the time
13
When time quantum in RR is very large, RR approaches to
FIFO
T/F: Multilevel scheduling is prone to starvation
False
T/F: In multi-level feedback queue, if priority(A) > Priority(B) then process B will run.
False
T/F: In priority-based scheduling, if high-priority processes use up a lot of CPU time, lower priority processes may starve and be postponed indefinitely.
True
what is the ‘waiting time’ of a process defined as
the total time spent in the ready queue
Which of the following statements are true?
1. Shortest remaining time first scheduling may cause starvation
2. Preemptive scheduling may cause starvation
3. Round robin is better than FCFS in terms of response time
1,2,3