Data coupling is tighter than pathological coupling
Common coupling is looser than data coupling
Data-structured coupling is looser than control coupling
Control coupling is looser than data coupling
Answer is Right!
Answer is Wrong!
The correct answer is: D. Control coupling is looser than data coupling.
Data coupling is the weakest form of coupling, and control coupling is the strongest form of coupling. In data coupling, the
only way for one module to affect another is by passing data. In control coupling, one module can directly control the execution of another module.Here is a brief explanation of each option:
- A. Data coupling is tighter than pathological coupling. This is not true. Pathological coupling is the weakest form of coupling, and data coupling is stronger than pathological coupling.
- B. Common coupling is looser than data coupling. This is true. Common coupling is a form of coupling in which two modules share a common variable. This is looser than data coupling, because the modules do not need to pass data to each other in order to affect each other.
- C. Data-structured coupling is looser than control coupling. This is true. Data-structured coupling is a form of coupling in which two modules share a common data structure. This is looser than control coupling, because the modules do not need to control each other’s execution in order to affect each other.