Which of the following statement(s) is/are true with respect to software…
2017
Which of the following statement(s) is/are true with respect to software architecture ?
S1 : Coupling is a measure of how well the things grouped together in a module belong together logically.
S2 : Cohesion is a measure of the degree of interaction between software modules.
S3 : If coupling is low and cohesion is high then it is easier to change one module without affecting others.
- A.
Only S1 and S2
- B.
Only S3
- C.
All of S1, S2 and S3
- D.
Only S1
Attempted by 248 students.
Show answer & explanation
Correct answer: B
Answer: Only S3 is true.
Statement S1 is incorrect. It says coupling measures how well things grouped together in a module belong together, but that describes cohesion. Cohesion measures the internal relatedness of elements within a module.
Statement S2 is incorrect. It claims cohesion measures the degree of interaction between modules, but that describes coupling. Coupling measures the degree of interdependence or interaction between separate modules.
Statement S3 is correct. Low coupling (few dependencies between modules) and high cohesion (module internals are closely related) make it easier to change or maintain one module without affecting others.
Therefore, the only true statement is S3; choose the option that states only S3 is true.
A video solution is available for this question — log in and enroll to watch it.