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
Question
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
Solution
Sure, let's analyze the options step by step to determine the correct type of coupling where the complete data structure is passed from one module to another.
-
Control Coupling:
- This occurs when one module controls the behavior of another by passing it information on what to do (e.g., passing a control flag).
- It does not involve passing complete data structures.
- Not the correct answer.
-
Stamp Coupling:
- This occurs when modules share a composite data structure and use only a part of it.
- The complete data structure is passed, but only parts of it are used by the receiving module.
- This is the correct answer.
-
External Coupling:
- This occurs when modules share an externally imposed data format, communication protocol, or device interface.
- It does not specifically involve passing complete data structures.
- Not the correct answer.
-
Content Coupling:
- This occurs when one module directly modifies or relies on the internal workings of another module (e.g., accessing local data of another module).
- It does not involve passing complete data structures.
- Not the correct answer.
Based on the analysis, the correct answer is:
b. Stamp Coupling
Similar Questions
Which of the following is the best type of module coupling?Select one:a.Control Couplingb.Stamp Couplingc.Data Couplingd.Content Coupling
Entire data structure is passed from one module to another in...............................................Options :Content CouplingControl Couplingcommon Couplingnone of above
Module 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
Which of the following is the worst type of module coupling?Select one:a.Control Couplingb.Stamp Couplingc.External Couplingd.Content Coupling
Modules only share parameters. This is an example of what type of coupling?1 pointLoose message couplingLoose data couplingLoose no 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.