-
The coupling between different modules of a software is categorized as follows
1. Content coupling 2. Common coupling 3. Control coupling 4. Stamp coupling 5. Data coupling
Coupling between modules can be ranked in the order of strongest (least desirable) to weakest (most desirable) as follows
-
- 1, 2, 3, 4, 5
- 5, 4, 3, 2, 1
- 1, 3, 5, 2, 4
- 4, 2, 5, 3, 1
- 1, 2, 3, 4, 5
Correct Option: A
Content coupling (high)
Content coupling is the process in which one module relies on the internal workings of another module.
Common coupling
Common coupling is the process in which two modules share the same global data.
Control coupling
Control coupling is the process in which one module controls the flow of another, by passing it information. This information is basically what work is to be done.
Stamp coupling
Stamp coupling is the process in which modules share a composite data structure however use only a part of it.