Problem:
Question- part 1- What is the difference among deadlock, avoidance, detection, and prevention?
Part 2- Consider a system consisting of 4 resources of the same type that are shared by 3 processes, each of which needs at most two recourses. Show that the system is deadlock-free.
Please read all the questions carefully and answer them.