The following figure represents access graphs of two modules M1 and M2. The filled circles represent methods and the unfilled circles represent attributes. If method m is moved to module M2 keeping the attributes where they are, what can we say about the average cohesion and coupling between modules in the system of two modules?
A. There is no change.
B. Average cohesion goes up but coupling is reduced
C. Average cohesion goes down and coupling also reduces
D. Average cohesion and coupling increase
Answer:A
The following figure represents access graphs of two modules M1 and M2. The filled circles represent methods and the unfilled circles represent attributes. If method m is moved to module M2 keeping the attributes where they are, what can we say about the average cohesion and coupling between modules in the system of two modules?
A. There is no change. B. Average cohesion goes up but coupling is reduced C. Average cohesion goes down and coupling also reduces D. Average cohesion and coupling increase