Cohesion is an extension of :

2015

Cohesion is an extension of :

  1. A.

    Abstraction concept

  2. B.

    Refinment concept

  3. C.

    Information hiding concept

  4. D.

    Modularity

Attempted by 288 students.

Show answer & explanation

Correct answer: C

Answer: Cohesion is an extension of the information hiding concept.

Definition: Cohesion measures how closely related the responsibilities and elements inside a single module are. High cohesion means a module has a single, well-focused purpose.

  • Information hiding (encapsulation) hides a module's internal details behind a clear interface.

  • Cohesion extends that idea by recommending the hidden internals all serve one coherent responsibility, making the module easier to understand and change.

  • High cohesion combined with information hiding improves maintainability, reusability, and testability.

Examples: A highly cohesive module might handle only file input/output; a low-cohesion module might mix file I/O, user interface formatting, and network communication in one place.

Relation to other concepts: Modularity is about partitioning a system into modules; abstraction is about exposing essential features; cohesion specifically concerns how focused the internals of a module are and is best seen as an extension of information hiding.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Mppsc Assistant Professor