Arrange the following types of Cohesion from the best to worst type. (A)…
2020
Arrange the following types of Cohesion from the best to worst type.
(A) Logical Cohesion
(B) Sequential Cohesion
(C) Communication Cohesion
(D) Temporal Cohesion
(E) Procedural Cohesion
Choose the correct answer from the options given below:
- A.
A
\(\rightarrow\)D\(\rightarrow\)E\(\rightarrow\)C\(\rightarrow\)B - B.
A
\(\rightarrow\)E\(\rightarrow\)D\(\rightarrow\)C\(\rightarrow\)B - C.
B
\(\rightarrow\)E\(\rightarrow\)C\(\rightarrow\)D\(\rightarrow\)A - D.
B
\(\rightarrow\)C\(\rightarrow\)E\(\rightarrow\)D\(\rightarrow\)A
Attempted by 169 students.
Show answer & explanation
Correct answer: D
Key idea: cohesion strength reflects how focused and related the responsibilities within a module are; stronger cohesion means clearer, more maintainable modules.
Sequential cohesion — Strongest among the listed types: module elements are ordered so that output from one is input to the next, giving a clear data-flow and tight coupling of responsibilities.
Communication cohesion — Elements operate on the same data or contribute to the same task; less strict than sequential but still a good cohesion level.
Procedural cohesion — Elements are grouped because they follow a specific control sequence; related but not as tightly connected as communication or sequential cohesion.
Temporal cohesion — Elements are grouped because they are executed at the same time (e.g., initialization or shutdown); the connection is based on timing rather than task relevance.
Logical cohesion — Weakest among these: unrelated operations are grouped because they are of the same general category and selected by a control flag, leading to poor modularity.
Correct order: Sequential → Communication → Procedural → Temporal → Logical
A video solution is available for this question — log in and enroll to watch it.