CS FundamentalsModerateCognizant · Capgemini pattern

Arrange these types of module coupling from WORST (tightest) to BEST (loosest).

  1. A. Data → Stamp → Control → Common → Content
  2. B. Common → Content → Control → Data → Stamp
  3. C. Content → Common → Control → Stamp → Data
  4. D. Content → Control → Common → Stamp → Data

Correct answer: C. Content → Common → Control → Stamp → Data

Content coupling (one module reaching into another's internals) is worst, then common (shared global data), control (passing flags that steer the other module's logic), stamp (passing a whole structure when only part is needed), and data coupling (passing only needed values) is best.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic