Multiple choice

Which of the following types of cohesion occurs when parts of a module are grouped as they all contribute to a single well-defined task?

  1. Communicational cohesion

  2. Functional cohesion

  3. Procedural cohesion

  4. Sequential cohesion

  5. Logical cohesion

Reveal answer Fill a bubble to check yourself
B 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).