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 options is most suitable for blank 1?
Fill in blank 46 with the most appropriate word.
Select the most appropriate option for blank No. 3.
1) Vivekananda advocated bodybuilding and exercise to help boost one’s morale and strength.
2) It was a call to action, to karma, rather th...
What did the friends do when they saw the chocolate sea?
Alyssa Healy and her merry bunch will be the team that most squads, including old rival England, will be want to knock off the pedestal.
What happened to the kids after their realisation that the skin colour was a trivial matter?
Blank 27
1) year                       2) quarter                          3) fiscal             ...
In the sentence marked as (6) in the passage, find out an error, if there is any. If there is no error, mark option 5, ‘No error’ as the answer.