Your question is Deadlock Conditions. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Describe the conditions of a deadlock.
State the four necessary Coffman conditions, explain why each is required, and describe how you would identify a deadlock using a resource-allocation graph or wait-for graph. Also distinguish deadlock from starvation and livelock, and name one practical prevention or recovery technique.