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.
Which of the following statements is/are correct in the context of River Brahmaputra?
1. It is known as Tsangpo in Tibet and Yarlung Zangbo in Ch...
In which year did King George V assume the crown of India?
Which one of the following is India’s largest Butterfly?
By how many basis points was the interest rate applicable to the Sukanya Samriddhi scheme increased?
Which of the following exoplanets of the size between Mars and Earth was discovered by NASA’s Transiting Exoplanet Survey Satellite in June 2019?
What was approved by the Union Cabinet chaired by Prime Minister Shri Narendra Modi regarding the establishment of the International Big Cat Alliance (I...
‘Fyn', an integrated digital platform for business banking and corporate clients, offering digital banking and value-added services across all produc...
"Indian Forest Act" was enacted in the year ______.Â
The Khalji Dynasty ruled over Delhi from ______.
Which description is appropriate among the following for ‘E-Governance’?