Start learning 50% faster. Sign in now
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.
Train ‘A’ travelling with a speed of 84 km/h can cross a pole in 12 seconds. If the length of train ‘B’ is 20% less than that of train ‘A’ a...
Two cars start from a place with a speed of 50 km/hr at an interval of 12 minutes. What is the speed of a man coming from the opposite direction towards...
Train A running at a speed of 48 km/hr crosses train B in 30 seconds. Find the speed of train B (in km/hr), if the sum of the length of train A and B is...
A 150-meter-long train requires 'p' seconds to pass a tree. When the train runs at 75% of its original speed, it takes 20 seconds to pass a 90-meter-lon...
Two trains approach each other at 21 kmph and 25 kmph from 2 places 230 km apart. After how many hours they will meet?
A 130 m long train crosses another 250 m long train running in the opposite direction in 10 seconds. If the shorter train crosses a pole in 10 seconds, ...
Ratio of the lengths of two trains ‘X’ and ‘Y’ is 3:4 respectively and the ratio of time taken by them to cross a pole is 2:3 respectively. If s...
A train travelling with a speed of 54 km/h can cross a pole in 6 seconds. Find the time taken by the train to cross a 180 metres long platform if the sp...
Train X running at a speed of 35 km/hr crosses train Y in 18 seconds. Find the speed of train Y (in km/hr), if the sum of the length of train X and Y is...