A software design is highly modular if:
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. Cohesion is functional and coupling is data type
Explanation
Good modular design maximises cohesion and minimises coupling, so the ideal combination is the strongest cohesion with the weakest coupling. On the cohesion scale functional cohesion is the highest (the module performs exactly one well-defined task) and coincidental is the lowest. On the coupling scale data coupling is the weakest form of useful coupling (modules exchange only simple, necessary data items) while content coupling is the worst, with stamp coupling — passing whole records where only a field is needed — in between. Only option 1 pairs the best cohesion with the best coupling, so it describes the most modular design.More Programming Languages and Computer Graphics questions
- Cohesion is an extension of:
- 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…