Cohesion is an extension of :
2015
Cohesion is an extension of :
- A.
Abstraction concept
- B.
Refinment concept
- C.
Information hiding concept
- 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.