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.
What is the name of the rural housing project announced by the Bhupesh Baghel government in Chhattisgarh?
What was the theme of International Day for Biological Diversity (IDB) 2025?
Kotak Mahindra Bank became India’s first custodian to issue which of the following in a fully digital manner using electronic signatures?
The visual marker associated with ‘Valid UPI’ handles is described as a:
The first state of India, which separated on Linguistic basis?
The 29th National Awards for e-Governance (NAeG) 2026 selected how many projects across 7 award categories?
With which country India has started bilateral trade in rupees?
What is the displacement capacity of the Indian Coast Guard Ship Samudra Pratap?
What percentage of India's total FDI in FY25 came from Singapore?
The Sanctioning Russia Act of 2025 allows the U.S. President to impose tariffs of up to what percentage on countries buying Russian oil?