asked 191k views
0 votes
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

asked
User Macha
by
8.0k points

1 Answer

3 votes

Final answer:

Shortest remaining time first scheduling and preemptive scheduling may cause starvation, while it is not necessarily true that Round Robin is always better than FCFS in terms of response time.

Step-by-step explanation:

I. Shortest remaining time first (SRTF) scheduling may cause starvation. Starvation occurs when a process with a short service time continuously gets preempted by processes with shorter service times, leading to the short process never completing.

II. Preemptive scheduling can also lead to starvation if not implemented properly. For example, if a low-priority process is continuously preempted, it may never get a chance to execute.

III. It is not accurate to say that Round Robin (RR) scheduling is always better than First-Come, First-Served (FCFS) in terms of response time. FCFS tends to have shorter response times when the arrival times of the processes are close together, whereas RR may give faster response times when there are long gaps between process arrivals.

answered
User WenHao
by
6.6k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.