(a) Explain the three types of potential mistake which could occur if concurrency control is not properly enforced in the database system. Support your answer with appropriate example for each.
(b) Explain the data access protocol based on the compatibility matrix.
(c) Describe "deadlock" and give an example.
(d) Describe how a deadlock state can be detected and how the system can break such a state.