In object-oriented analysis, what is cohesion ?

2026

In object-oriented analysis, what is cohesion ?

  1. A.

    Degree of interaction between modules

  2. B.

    Degree to which elements within a module belong together

  3. C.

    Number of classes in a system

  4. D.

    Inheritance hierarchy depth

Attempted by 49 students.

Show answer & explanation

Correct answer: B

Cohesion in object-oriented analysis refers to the degree of strength of relationship between elements within a module. High cohesion is desirable as it indicates focused functionality.

Explore the full course: Niacl Ao It Specialist