Start learning 50% faster. Sign in now
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.
An employee shall be covered under the provisions of the Payment of Wages Act, 1936, should the employee be drawing a maximum monthly wage of:
The Indian Council of Medical Research has launched the 'Malaria Elimination Research Alliance (MERA) India' in order to prioritise, plan and scale up r...
As per a paper published in June 2022, 90% of the education loans is disbursed by?
In 2016, ISRO conducted 1st satellite-based warning system trial for Indian Railways in-
0.5 is what percentage of 20?
'Dustlik-Il' is a field training military exercise held in March, 2021 between India and_____.
The Bhima River is a tributary of which of the following rivers?
Which of the following countries does NOT have direct access to any sea?
In which Five-Year Plan were Removal of Poverty (Garibi Hatao) and Self-Reliance declared as major plan objectives?
Which regulatory body set a 30% intraday risk cap for custodian banks involved in T+1 settlement?