Procedural cohesion - Definition - Designing the System

Q.  When elements of module are grouped together that are executed sequentially in order to perform a task, is called ______ .
- Published on 22 Jul 15

a. Procedural cohesion
b. Logical cohesion
c. Emporal cohesion
d. Co-incidental cohesion

ANSWER: Procedural cohesion
 

    Discussion

  • Nirja Shah   -Posted on 15 Oct 15
    - Cohesion is a measure that defines the degree of intra-dependability within elements of a module.

    - The greater the cohesion, the better is the program design.

    - There are seven types of cohesion, viz

    Co-incidental cohesion
    - It is unplanned and random cohesion, which might be the result of breaking the program into smaller modules for the sake of modularization. - As it is unplanned, it may serve confusion to the programmers and is not-acceptable.

    Logical cohesion
    - When logically categorized elements are put together into a module, it is called logical cohesion.

    Temporal Cohesion
    - When elements of module are organized such that they are processed at a similar point in time, it is called temporal cohesion.

    Procedural cohesion
    - When elements of module are grouped together, which are executed sequentially in order to perform a task, it is called procedural cohesion.

    Communicational cohesion
    - When elements of module are grouped together, which are executed sequentially and work on same data (information), it is called communicational cohesion.

    Sequential cohesion
    - When elements of module are grouped because the output of one element serves as input to another and so on, it is called sequential cohesion.

    Functional cohesion
    - It is the highest degree of cohesion, and is highly expected.
    - Here, the elements of module are grouped because they all contribute to a single well-defined function.
    - It can also be reused.

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