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 does the principle of Caveat Emptor imply in the context of a contract of sale according to Section 16 of the Sale of Goods Act?
Under Section 2(10) of the Consumer Protection Act, 2019, which of the following would NOT constitute a "defect" in goods?Â
What is the imprisonment under CPC for default in decree for the payment of money below Rs 5000?
Consider the following statements regarding amendments to PMLA in 2012:
Statement 1: The 2012 amendments expanded scheduled offences to include c...
What is the definition of “counterfeit” as per Section 2(4)?
Before the mediation starts, what must a mediator disclose to the parties under The Mediation Act, 2023?
When did the Real Estate Regulation and Development) Act, 2016 came into effect?
Under Section 20(9), the Assistant Director of Prosecution monitors cases in which offences are punishable—Â
According to Austin’s theory of law, which of the following is not a feature of a law properly so called?
Who has the power to designate authorities as Special Courts for trial of offences under the PMLA?Â