GATE 2013 CS (CS1) – Question 48
Filled circles in the shown access graphs are methods, unfilled circles attributes. Move method m from M₁ to M₂ while keeping attributes fixed. What happens to average cohesion and intermodule coupling?

Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (A) No change
Explanation
Method m has the same number of attribute accesses into each module. Moving it exchanges which of those accesses are internal and external without changing their total counts. Under the graph-based measure assumed by the paper, average cohesion and coupling therefore remain unchanged, A.