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.
Select the correct mirror image of the given combination when the mirror is placed at MN as shown below.
Out of the following five figures, four are alike in some manner and one differs from these in that manner. Select the odd figure.
Select the figure from the options that when placed in the blank space of the given figure will complete the pattern.
Three statements are given, followed by three conclusions numbered I, II and III. Assuming the statements to be true, even if they seem to be at varianc...
Statement:
I. Cases of obesity, diabetes and other similar diseases are increasing.
II. Fast food also has very few antioxidants and les...
i) Who is sitting in the second place on the left side of the Dani, Chintu is sitting at the fourth place on the right side.
ii) There are three ...
In a certain code language, if GIFTED is written in TRUGVW, how will LUCID be written in the same code language?
Select the correct mirror image of the given combination when the mirror is placed at MN as shown below.

In a certain code language, 'COBBLESTONES' is written as 'BBOCTSELSENO', and 'SATISFACTORY' is written as 'ITASCAFSYROT'. How will 'TACHYCARDIAS' be wri...