Software Development and Project Management

Among the levels of module strength (cohesion) used to evaluate module independence, which has the highest strength and is considered most desirable?

  1. AFunctional cohesion
  2. BLogical cohesion
  3. CCoincidental cohesion
Show answer and explanation

Answer: A. Functional cohesion

Module strength expresses how closely the processing inside one module is related; the stronger it is, the more independent the module and the easier it is to change and test. In decreasing order of strength, it is classified as functional, informational, communicational, procedural, temporal, logical and coincidental cohesion. Functional cohesion is the state in which a module implements just one clear function. Logical cohesion groups several related functions that are selected by an argument, and coincidental cohesion groups unrelated processing into one module by chance.

  • A. Correct. The module implements just one clear function, which is the highest strength.
  • B. Several related functions are selected by an argument; this is classified among the weaker levels.
  • C. Unrelated processing is grouped together by chance; this is the lowest strength.
Practice this topic Back to topic

Related calculators

Books on Software Development and Project Management Ad

As an Amazon Associate I earn from qualifying purchases.

More Software Development and Project Management questions

  1. Among the types of coupling between modules, which is the weakest and gives the highest module independence?
  2. Which GoF design pattern makes the objects that depend on an object be notified automatically when that object's state changes?
  3. When a static analysis tool is used on firmware source code, which problem is it best suited to finding without running the program?
  4. Which describes black-box testing?
  5. An input field accepts only integers; values from 1 to 100 inclusive are accepted and all others cause an error. When the input is divided by equivalence partitioning, how many equivalence classes are there in total (valid and invalid classes combined)?