In a system, there are three types of resources: and . Four processes and execute concurrently. At the outset, the processes have declared their maximum resource requirements using a matrix named Max as given below. For example, Max[] is the maximum number of instances of that would require. The number of instances of the resources allocated to the various processes at any given state is given by a matrix named Allocation.
Consider a state of the system with the Allocation matrix as shown below, and in which 3 instances of and 3 instances of are the only resources available.
Allocation
E F G
1 0 1
1 1 2
1 0 3
2 0 0
Max
E F G
4 3 1
2 1 4
1 3 3
5 4 1
From the perspective of deadlock avoidance, which one of the following is true?
- AThe system is in safe state.
- BThe system is not in safe state, but would be safe if one more instance of E were available
- CThe system is not in safe state, but would be safe if one more instance of F were available
- DThe system is not in safe state, but would be safe if one more instance of G were available

