Question
Deadlock prevention in operating systems can be achieved
by ensuring which of the following conditions does NOT hold?Solution
To prevent deadlocks, the Circular Wait condition is typically avoided by imposing a strict ordering of resource allocation. Circular wait occurs when a set of processes are waiting on each other in a circular chain, creating a dependency loop that cannot be resolved. By assigning a unique order to resource requests, the system ensures no circular dependencies arise, breaking the cycle and preventing deadlock. For example, a system can allocate resources numerically (e.g., low to high resource IDs), ensuring each process requests resources in ascending order. Why Other Options Are Incorrect: 1. Mutual Exclusion: Necessary for non-shareable resources and cannot be avoided. 2. Hold and Wait: Prevented by requiring processes to request all needed resources upfront, but this approach is inefficient. 3. No Preemption: Difficult to implement universally; preempting resources can lead to data inconsistency. 4. Safe State: Refers to deadlock avoidance, not prevention. A safe state ensures that at least one process can complete. Breaking the circular wait condition is a practical and efficient strategy for deadlock prevention in modern operating systems.
What is the statutory limit u/s 16(ii) for deduction of entertainment allowance in case of government employee?
Investment in debt instrument for which the company has intention to receive contractual cash flows and for which, the debt gives contractual cash flows...
Which of the following statements are true or false?
(i) Direct material cost: Cost of the material that can be directly allocated to a cost cent...
Under the Income-tax Act, Deferred Tax Asset is recognized when:
Which of the following is true regarding consolidated financial statements?
How is the commission on reinsurance accepted typically accounted for by the reinsurer?
Which of the following is an example of capital expenditure?
Which term refers to the specific rate of interest carried by a bond?
While preparing a Bank Reconciliation Statement, which of the following is most likely to cause a difference between the balance as per the cash book an...
An auditor resigns from a listed company. Within how many days must they file Form ADT-3?