singular cohesion
tight cohesion
functional cohesion
sequential cohesion
Answer is Wrong!
Answer is Right!
The correct answer is: A. singular cohesion
Singular cohesion is the highest level
24.8 41.5 48.3 47.8C117.2 448 288 448 288 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zm-317.5 213.5V175.2l142.7 81.2-142.7 81.2z"/>
Subscribe on YouTube
of cohesion, and it occurs when all of the operations in a function contribute to the performance of only one task. This means that the function has a single, well-defined purpose, and all of its code is focused on achieving that purpose.
Tight cohesion is a lower level of cohesion than singular cohesion. It occurs when all of the operations in a function contribute to the performance of a related set of tasks. This means that the function has a general purpose, but it is still focused on a specific set of related tasks.
Functional cohesion is the lowest level of cohesion. It occurs when the operations in a function contribute to the performance of a task, but the function does not have a single, well-defined purpose. This means that the function may be doing multiple things, and it may not be clear what its main purpose is.
Sequential cohesion is not a type of cohesion. It is a term that is sometimes used to describe a function that has multiple operations that are performed in a specific order. However, this does not necessarily mean that the function has high cohesion. A function with sequential cohesion could still have low cohesion if the operations are not related to each other.
In conclusion, the correct answer is: A. singular cohesion.