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.
Recognition of Prior Learning is associated with which of the following Scheme?
In which year was IREDA founded, and who is its current Chairman & MD?
How much total funding was sanctioned under SASCI for PM Ekta Malls in FY 2023–24?
What was the percentage decline in private sector investment plans in Q3 of 2024-25?
Consider the following statements about an Initiative “ Niveshak Didi ”:
I . This initiative was launched by India Post Payments Bank .
...Which global tech company is not listed among the partners supporting the Indian Institute of Creative Technology (IICT)?
The Financial Action Task Force (FATF), an inter-governmental body that sets anti-money laundering standards, has removed which tax haven country from i...
According to the Women and Men in India 2022 report published by the Ministry of Statistics and Programme Implementation, India’s sex ratio (females p...
Recently International solar alliance has launched a tender to establish 1150 MW solar plant in which country?
What is the theme for World Cancer Day 2025-2027?