Which of the following statements are true? I. Shortest remaining time first scheduling may cause starvation II. Preemptive scheduling may cause starvation III. Round robin is better than FCFS in terms of response time *
Answers
Answered by
0
Answer:
all of the above
Explanation:
Answered by
0
Answer: All three statements are true.
Explanation:
Statement 1: Shortest remaining time first scheduling may cause starvation.
- This statement is true.
- Shortest remaining time first (SRTF) is a pre-emptive version of shortest job scheduling.
- First the jobs with the shortest CPU burst are scheduled.
- The constant scheduling of short jobs can lead to starvation as jobs with large CPU bursts will not be scheduled.
Statement 2: Preemptive scheduling may cause starvation.
- The statement is true
- Preemptive scheduling means a process is stopped even before completing the execution, and the other process is started.
- This method leads to starvation because a process in the queue will always have higher priority than the ongoing process.
Statement 3: Round robin is better than FCFS in terms of response time.
- The statement is true.
- In the round robin the process is executed up to time quantum rather than the complete burst time.
Final Answer:
All 3 statements (I,II,III) are true.
#SPJ3
Similar questions
English,
3 months ago
English,
3 months ago
English,
3 months ago
History,
11 months ago
Social Sciences,
11 months ago
Social Sciences,
11 months ago