Types of Cohesion - Software Design Concept

Q.  Which of the following is / are the type of Cohesion?
- Published on 18 Aug 15

a. Functional
b. Layer
c. Communicational
d. All of the above.

ANSWER: All of the above.
 

    Discussion

  • Prajakta Pandit   -Posted on 25 Nov 15

    - Cohesion is the degree to which its responsibilities form a meaningful unit.

    - All the elements are directed towards a single task.

    - It is a qualitative measure, where the source code is to be examined to determine the classification.

    - Higher cohesion is better for performing the operation.

    Types of Cohesion

    Functional cohesion
    Logical cohesion
    Communicational cohesion
    Layer cohesion
    Coincidental cohesion
    Temporal cohesion
    Procedural cohesion

    - Functional cohesion is the best type of cohesion. In this, parts of a module are grouped because they all contribute to a single well-defined task of the module.

    - Communicational cohesion is done when parts of a module are grouped because they operate on the same data.

    - Layer cohesion is done when parts of a module are grouped because the output from one part is input to the another part.

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