4. You are given the following Resource Allocation Graph (RAG) at a particular instance of time.
Now, answer the following questions.
(a) For each process, describe whether it will be able to complete its task or not referring to the resources it requires, holds or can hold. [3 marks]
(b) Referring to your analysis in the previous answer, discuss whether this system will lead to deadlock or not. [2 marks]
(c) There are two edges P1 -> R2 and R2-> P6. How can you change these arrows to cause a potential deadlock in this scenario? [2 marks]