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.
The average office employee receives number of emails and text messages each day. If each takes 5 minutes, each employee would need more hours just to d...
Who among the following can issue Certificate of Deposits to raise short term resources?
When did the Securities and Exchange Board of India (Sebi) implemented a T+0 (same day) settlement cycle for the cash segment on an optional basis, and...
RBI has updated instructions in the Master Direction on Know Your Customer (KYC) related to wire transfers.Under the new rules,domestic wire transfers o...
Which Theory focuses on outcome rather than on needs?
Consider the following Statements about the Sukanya Samriddhi Account and choose the option with correct Statements.
I- It was launched in 201...
Which of the following is a specific provision under Section 9 of the MSMED Act, 2006, aimed at promoting MSME growth?
Money received against share warrant is shown under which head?
Which city is ranked as the most polluted city in the world according to IQAir?
Which regulator is responsible for overseeing the functioning of REIT and InvIT in India?