Question 10Module A and B both rely on the same composite data structure. This is an example of what type of coupling?1 pointMedium data structure couplingMedium control coupling
Question
Question 10Module A and B both rely on the same composite data structure. This is an example of what type of coupling?1 pointMedium data structure couplingMedium control coupling
Solution
This is an example of Medium data structure coupling.
Here's why:
Coupling refers to the degree to which one module (or component) of a system relies on other modules. The types of coupling, in increasing order of severity, are as follows:
- Simple data coupling: Modules share data through, for example, parameters. Each datum is an elementary type.
- Stamp coupling (Data-structured coupling): Modules share a composite data structure and use only a part of it, possibly different parts.
- Control coupling: One module controlling the flow of another, by passing it information on what to do.
- Common coupling: Two modules share the same global data (e.g., a global variable).
- Content coupling: When one module uses the code of another module, for instance a branch.
In the case of Module A and B both relying on the same composite data structure, they are sharing a data structure and likely using different parts of it. This fits the definition of Stamp Coupling or Medium data structure coupling.
Similar Questions
Question 9Module A controls the logical flow of module B. This is an example of what type of coupling?1 pointMedium data structure couplingMedium control coupling
Question 6Modules A and B both rely on global data or a global variable. This is an example of what type of coupling?1 pointTight content couplingTight external couplingTight common coupling
In what type of coupling, the complete data structure is passed from one module to another?Select one:a.Control Couplingb.Stamp Couplingc.External Couplingd.Content Coupling
Module A relies directly on local data of module B. This is an example of what type of coupling?1 pointTight content couplingTight external couplingTight common coupling
Which of the following is the best type of module coupling?Select one:a.Control Couplingb.Stamp Couplingc.Data Couplingd.Content Coupling
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.