All mock tests are FREE till 31 December — register to save your progress

Arrange the following types of Cohesion from 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:

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. B → C → E → D → A

Explanation

The standard cohesion scale, strongest to weakest, is: functional > sequential > communicational > procedural > temporal > logical > coincidental. Dropping the two types not listed here leaves Sequential (B) → Communicational (C) → Procedural (E) → Temporal (D) → Logical (A). The ranking reflects how strongly the elements of a module are related: sequential elements pass data along a chain, communicational elements at least share the same data, procedural elements share only a control sequence, temporal elements are merely executed at the same time, and logical elements are unrelated functions selected by a flag. That order is option 4.

More Programming Languages and Computer Graphics questions