Cohesion is an extension of:
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: C. Information hiding concept
Explanation
Pressman states directly that cohesion is a natural extension of the information hiding concept. Information hiding says that each module should conceal its design decisions and expose only what other modules need; carried to its conclusion, that means a module should contain exactly the data and operations belonging to one purpose and nothing else, which is precisely cohesion. Abstraction is about describing a solution at different levels of detail, and refinement is the top-down elaboration of those levels — neither leads directly to cohesion. Modularity is the broader property that cohesion and coupling are used to measure, not the concept cohesion extends. Hence the answer is information hiding.More Programming Languages and Computer Graphics questions
- Given 4 GB (≈ 4.3 × 10⁹ bytes) of virtual address space and a page size of 4 KB (= 4 × 10³ bytes), with each page table entry 5 bytes: how…
- A table T with 17 rows and 1024 columns is stored in memory. T[i][j] and the variable temp are 32-bit floating-point values; memory is word…
- Using the same table T (17 rows × 1024 columns, 32-bit word-addressable entries, 16 page frames of 1024 words each, LRU) and the same colum…
- Using the same table T (17 rows × 1024 columns, 32-bit word-addressable entries, 16 page frames of 1024 words each, LRU) and the same colum…
- Using the same table T (17 rows × 1024 columns, 32-bit word-addressable entries, 16 page frames of 1024 words each, LRU) and the same colum…
- Using the same table T (17 rows × 1024 columns, 32-bit word-addressable entries, 16 page frames of 1024 words each, LRU) and the same colum…