Using the Banker’s Algorithm, we determine if the system can execute all processes without entering a deadlock. 1. Available resources initially: R1=1,R2=0,R3=0 2. If P1 finishes first, it releases R1=2,R2=1,R3=2. Available becomes R1=3,R2=1,R3=2. 3. Now P2 can execute, releasing R1=1,R2=1,R3=1. Available becomes R1=4,R2=2,R3=3. 4. Finally, P3 completes, releasing all its resources. Hence, no deadlock occurs if P1 is completed first. Why Other Options Are Incorrect: • B) No, deadlock is inevitable: Incorrect because deadlock can be avoided by choosing the correct execution order. • C) & D): Incorrect as P2 or P3 cannot execute first due to insufficient resources. • E) Insufficient data: Incorrect as the problem provides all necessary data.
Which two signs should be interchanged to make the given equation correct?
396 ÷ 2 × 4 – 217 + 74 = 935
Select the correct mirror image of the given figure, when the mirror is placed at line MN as shown.
Giridar was at a temple and was facing west. He turns 45° in the clockwise direction to collect a token, then another 180° in clockwise direction. He ...
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 ...
Which of the following options is the option of which all members remain on the same floor?
Which of the answer figures is the exact mirror image of the given problem figure when the mirror is held at the right side?
Problem figure:
...Select the option that arranges the following words in a logical and meaningful order.
1. Pupa
2. Egg
3. Adult
4. Larva
In a certain code language, 'ACD' is coded as '12', and 'BEA' is coded as '10'. How will 'ECG' be coded in that language?
When the below given diagram is folded in the shape of a cube which symbol will face opposite to ‘^’?
Three of the following four are alike in a certain way and thus form a group. Which is the one that does NOT belong to that group?
(NOTE: Operati...