Open In App

Algorithms Quiz | SP Contest 4 | Question 9

Like Article
Like
Save
Share
Report

What should you strive for with reference to cohesion and coupling while designing software?
(A) High Coupling with High Cohesion
(B) Low coupling with Low Cohesion
(C) High Cohesion with Low Coupling
(D) Low Cohesion with High Coupling


Answer: (C)

Explanation: Coupling refers to the relationship of a module with another module. A module is said to be highly coupled with another module if changes to it will result to changes in other module. And a module is said to be loosely coupled if a module is independent of any other modules.
Cohesion refers to the measure of how strongly-related the functions of a module are. Low cohesion refers to modules that have different unrelated responsibilities. High cohesion refers to modules that have functions that are similar in many aspects.

Quiz of this Question


Last Updated : 01 Aug, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads