Which of the following facilitates program maintenance?
A. More cohesive and loosely coupled programs
B. Less cohesive and loosely coupled programs
C. More cohesive and strongly coupled programs
D. Less cohesive and strongly coupled programs
Answer Posted / guest
Answer: A
Cohesion refers to the performance of a single dedicated
function by each program. Coupling refers to the
independence of the comparable units. Loosely coupled units,
when the program code is changed, will reduce the
probability of affecting other program units. More cohesive
and loosely coupled units are best for maintenance.
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers