85.7k views
0 votes
Which best defines cohesion in the context of software development?

- A) The complexity of the code
- B) The strength of relationships between module components
- C) The execution speed of the program
- D) The length of the code

User Izaya
by
7.7k points

1 Answer

5 votes

Final answer:

In software development, cohesion refers to b. the strength of relationships between module components.

Step-by-step explanation:

In the context of software development, cohesion refers to b. the strength of relationships between module components. It measures how closely related the tasks and functions performed by the modules are to each other.

High cohesion means that a module or component is focused on a single task or function, while low cohesion indicates that the module or component has multiple unrelated tasks or functions.

User Meloney
by
7.3k points