Which of the following statement(s) is/are true about CPU scheduling algorithm?
Which of the following statement(s) is/are true about CPU scheduling algorithm?
I. Shortest remaining time first scheduling may cause starvation.
II. Round Robin is better than First Come First Serve in terms of response time.
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
SRTF keeps choosing short jobs, so long jobs can starve. Round Robin gives every process a time slice quickly, so its response time is better than FCFS. Both statements are true.