Which type of coupling is considered the most desirable?Options :Data CouplingControl CouplingStamp CouplingContent Coupling
Question
Which type of coupling is considered the most desirable?
Options :
- Data Coupling
- Control Coupling
- Stamp Coupling
- Content Coupling
Solution
The most desirable type of coupling is Data Coupling.
Here's why:
-
Data Coupling: This is when two modules interact by only passing data (as parameters) from one to another. This is the simplest and most desirable type of coupling because it doesn't involve any knowledge about the inner workings of the modules.
-
Control Coupling: This is when one module controls the flow of another by passing it information on what to do (e.g., passing a control flag).
-
Stamp Coupling: This is when modules share a data structure and use only a part of it (i.e., they have a 'stamp' of data that they work with).
-
Content Coupling: This is when one module modifies or relies on the internal workings of another module (e.g., changing a variable in another module). This is the least desirable type of coupling because it creates a high degree of dependency between modules.
So, in terms of desirability, it would be: Data Coupling > Control Coupling > Stamp Coupling > Content 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
Which of the following is the worst type of module coupling?Select one:a.Control Couplingb.Stamp Couplingc.External Couplingd.Content Coupling
The three types of loose coupling are:0 / 1 pointData; Message; Data StructureContent; Common; ExternalControl; Data Structure; LooseData; Message; None
The two types of medium coupling are:1 pointData; MessageControl; Data StructureContent; CommonMessage; None
............................ is a measure of the degree of interdependence between modules.Options :couplingCohesionboth of abovenone of above
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.