Question
In the context of preemptive CPU scheduling, which of
the following algorithms can potentially cause starvation, and how can this issue be mitigated?ÂSolution
Priority scheduling assigns priorities to processes, with higher priority processes getting executed first. However, this can lead to starvation if lower-priority processes are continually bypassed in favor of higher-priority processes. Starvation occurs when a low-priority process may never get executed, particularly if there is a steady stream of higher-priority processes. This issue can be mitigated using a technique called aging , where the priority of processes that have waited too long is gradually increased, ensuring that all processes eventually get CPU time. Why Other Options are Incorrect: A) FCFS: FCFS is a non-preemptive algorithm and does not cause starvation; processes are executed in the order of their arrival. B) SJF: SJF is non-preemptive and doesn’t cause starvation directly, though its preemptive counterpart (SRTF) might. C) SRTF: SRTF can cause starvation, but it is not as likely as Priority Scheduling since processes with shorter burst times will eventually complete. D) Round Robin: Round Robin uses time slices, so all processes get a fair share of the CPU, preventing starvation.
Fill in the blanks with appropriate forms of modals from the alternatives given below each sentence.
You _____ come and have dinner with me. ...
The ________ between the two nations resulted in years of peaceful relations.
Fill in the blank/s with suitable Word/s:
The doctor advised her to _________ regular exercise to improve her health.
The interviewers described these chats as essential in building up rapport and trust with the participant, and for ________ their concerns.
India’s policy ________ is _______ and rooted in political realism.
The unruly behaviour of the parliamentarians____________the speaker.Â
The tone of the government officer was ___________ , so I preferred to leave the place rather than __________ myself in the argument.
Although it was a beautiful day with a clear blue sky, the runner feeling (A) / tired and sore, yet with the determination to reach the finish line, de...
When requested by a student, family members were _____________ of the difficulties faced by the student.
Directions :Â In the following passage, some of the words have been left out and replaced by a blank represented by a letter. First read the passage and...