Software Development and Project Management

Among the types of coupling between modules, which is the weakest and gives the highest module independence?

  1. ACommon coupling
  2. BControl coupling
  3. CData coupling
Show answer and explanation

Answer: C. Data coupling

Coupling expresses how much modules depend on each other; the weaker it is, the more independent and desirable the modules. In increasing order of strength, it is classified as data, stamp, control, external, common and content coupling. Data coupling passes only the necessary data as simple arguments. Control coupling passes flags and the like that switch the flow of processing, and common coupling has several modules refer to the same global data (global variables); both make modules depend on each other's internal workings.

  • A. Several modules refer to the same global data; this is the strongest coupling after content coupling.
  • B. Flags that switch the processing are passed, so the caller depends on the callee's internal workings.
  • C. Correct. Only the necessary data are passed as arguments, which is the weakest coupling.
Practice this topic Back to topic

Related calculators

Books on Software Development and Project Management Ad

As an Amazon Associate I earn from qualifying purchases.

More Software Development and Project Management questions

  1. Which GoF design pattern makes the objects that depend on an object be notified automatically when that object's state changes?
  2. When a static analysis tool is used on firmware source code, which problem is it best suited to finding without running the program?
  3. Which describes black-box testing?
  4. An input field accepts only integers; values from 1 to 100 inclusive are accepted and all others cause an error. When the input is divided by equivalence partitioning, how many equivalence classes are there in total (valid and invalid classes combined)?
  5. A program sets the admission fee by age (an integer of 0 or more): ages 0 to 17 pay the child fee, 18 to 64 the adult fee, and 65 or older the senior fee. Which set of test values is most appropriate for boundary value analysis to check the boundaries where the fee category changes?