Coupling & Cohesion - Functions - SDLC

Q.  Which of the following is not true?
- Published on 19 Oct 15

a. Content coupling in a module is desirable
b. Logical cohesion in a module is desirable
c. Stamp coupling is preferred over functional coupling
d. All of these

ANSWER: All of these
 

    Discussion

  • Prajakta Pandit   -Posted on 30 Oct 15

    Content Coupling :

    - Coupling is a measure of the relationship that is a dependency between two modules.

    - Content coupling in a module is desirable. It occurs between two modules if one refers to the internals of the other module.

    - It is also known as pathological coupling.

    - It is a worst level of coupling.

    - Content coupling should never be used when designing modules.

    Logical Cohesion :

    - Logical cohesion in a module is desirable.

    - This module is one whose element perform similar activities and in which the activities to be executed are chosen from outside the module.

    - It contains a number of activities of the same general kind.

    Stamp Coupling :

    - Stamp coupling is preferred over functional coupling.

    - It supports activities needed for the execution for one and only one problem related task.

    - This coupling may lead to changing the way a module reads a record because a field, which the module doesn't need has been modified.

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.)