Multiple choice

Which of the following types of cohesion is considered to be the best?

  1. Coincidental cohesion

  2. Sequential cohesion

  3. Functional cohesion

  4. Logical cohesion

  5. Procedural cohesion

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Functional cohesion is when parts of a module are grouped because they all contribute to a single well-defined task of the module (e.g. tokenizing a string of XML). .It is considered to be of the best type.