Question
Which of the following algorithms is most commonly used
in Operating Systems for deadlock prevention?Solution
Correct Option: Banker's Algorithm (A) is used in operating systems to prevent deadlocks by determining if a system can safely allocate resources to avoid deadlock situations. It ensures that processes proceed without circular waiting, a condition for deadlock. Why Other Options Are Wrong: B) Round Robin Scheduling: This is a CPU scheduling algorithm used for time-sharing systems, not for deadlock prevention. It deals with process scheduling, not resource allocation. C) First-Come, First-Served Scheduling: This is a simple scheduling algorithm where processes are executed in the order of arrival. It has no role in preventing deadlocks. D) Shortest Job Next: This is another CPU scheduling algorithm used to prioritize tasks based on their shortest execution time, which doesn’t address deadlocks. E) Least Recently Used (LRU): LRU is a page replacement algorithm in memory management, unrelated to deadlock handling.
Geoid is the ________ of earth.
Who among the following has the power to appoint the members of State Information Commission?
Which of the following persons was awarded the Padma Vibhushan posthumously in 2020?
Under which Act was the rule of British Crown established over India?
Who is the present Finance Minister of India?
What is humidity?
In which state is Kathak dance performed?
Who among the following was the founder of the Sunga dynasty, who established his kingdom by killing the last Mauryan emperor?
To whom does the Public Accounts Committee submit its report?
What cells help in osmoregulation in platyhelminthes?