Question 59Asked in DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2

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.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
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.

From DSSSB TGT Computer Science PYQ (Technical), 8 Aug 2021, Shift 2

This is question 59 of DSSSB TGT Computer Science PYQ (Technical), 8 Aug 2021, Shift 2. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.