Coupling
Coupling betwixt 2 modules is a stair out of the flat of interdependence or interaction betwixt the 2 modules. H5N1 module having high cohesion in addition to depression coupling is said to move functionally independent of other modules. If 2 modules interchange large amounts of data, in addition to thus they are highly interdependent. The flat of coupling betwixt 2 modules depends on their interface complexity.
Types of coupling
Stamp coupling: Two modules are postage stamp coupled, if they communicate using a composite information exceptional such every bit a tape inwards PASCAL or a construction inwards C.
Control coupling: Control coupling exists betwixt 2 modules, if information from i module is used to straight the firm of instructions execution inwards another. An illustration of command coupling is a flag educate inwards i module in addition to tested inwards around other module.
Common coupling: Two modules are mutual coupled, if they portion information through around global information items.
Content coupling: Content coupling exists betwixt 2 modules, if they portion code, e.g. a branch from i module into around other module.
Sumber http://how2mechanicalengineering.blogspot.com/
Coupling betwixt 2 modules is a stair out of the flat of interdependence or interaction betwixt the 2 modules. H5N1 module having high cohesion in addition to depression coupling is said to move functionally independent of other modules. If 2 modules interchange large amounts of data, in addition to thus they are highly interdependent. The flat of coupling betwixt 2 modules depends on their interface complexity.
Types of coupling
- Data coupling
- Stamp coupling
- Control coupling
- Common coupling
- Content coupling
Stamp coupling: Two modules are postage stamp coupled, if they communicate using a composite information exceptional such every bit a tape inwards PASCAL or a construction inwards C.
Control coupling: Control coupling exists betwixt 2 modules, if information from i module is used to straight the firm of instructions execution inwards another. An illustration of command coupling is a flag educate inwards i module in addition to tested inwards around other module.
Common coupling: Two modules are mutual coupled, if they portion information through around global information items.
Content coupling: Content coupling exists betwixt 2 modules, if they portion code, e.g. a branch from i module into around other module.