One piece of code runs after the other. This is an example of what type of cohesion?1 pointProcedural cohesionLogical association cohesionCoincidental cohesionTemporal cohesion
Question
One piece of code runs after the other. This is an example of what type of cohesion?1 pointProcedural cohesionLogical association cohesionCoincidental cohesionTemporal cohesion
Solution
This is an example of Procedural cohesion.
Procedural cohesion is when parts of a module are grouped because they always follow a certain sequence of execution. It means that the functions inside a module are called in a specific order. This type of cohesion is stronger than logical cohesion, as it not only requires the elements to be logically grouped but also requires them to be executed in a specific order.
Similar Questions
Which of the following is not a type of Cohesion?Select one:a.Functional Cohesionb.Temporal Cohesionc.Modular Cohesiond.Sequential Cohesion
Question 5Parts of modules are together in the same file. This is an example of what type of cohesion?1 pointTemporal cohesionCoincidental cohesionLogical association cohesionProcedural cohesion
The four types of weak cohesion are:1 pointCoincidental, temporal, procedural, logical associationCommunicational, sequential, object, functionalCoincidental, temporal, sequential, logical associationThere is no such thing as loose cohesion
Which type of cohesion is considered the most desirable?Options :Coincidental CohesionLogical CohesionTemporal CohesionFunctional Cohesion
Which of the following is the worst type of module cohesion?Select one:a.Logical Cohesionb.Temporal Cohesionc.Functional Cohesiond.Coincidental Cohesion
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.