Common coupling is also known as "Global coupling" - Designing the System

Q.  Which coupling is also known as "Global coupling"?
- Published on 22 Jul 15

a. Content coupling
b. Stamp coupling
c. Data coupling
d. Common coupling

ANSWER: Common coupling
 

    Discussion

  • Nirja Shah   -Posted on 15 Oct 15
    - Coupling is a measure defining the level of inter-dependability among modules of a program like their interference and interaction with each other.

    - A program with lower coupling is a better program.

    - There are five levels of coupling, viz -

    Content coupling
    - When a module can directly access or modify or refer to the content of another module, it is called content level coupling.

    Common coupling
    - When multiple modules have read and write access to some global data, it is called common or global coupling.

    Control coupling
    - Two modules are called control-coupled if one of them decides the function of the other module or changes its flow of execution.

    Stamp coupling
    - When multiple modules share common data structure and work on different part of it, it is called stamp coupling.

    Data coupling
    - Data coupling is when two modules interact with each other by means of passing data (as parameter). If a module passes data structure as parameter, then the receiving module should use all its components.

    Ideally, no coupling is considered to be the best.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)