FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which one of cohesion level that has the strongest internal strength of a module?
A
Logical cohesion
B
Temporal cohesion
C
Sequential cohesion
D
Functional cohesion
Explanation: 

Detailed explanation-1: -Functional cohesion-It is considered to be the highest degree of cohesion, and it is highly expected. Elements of modules in functional cohesion are grouped because they all contribute to a single well-defined function.

Detailed explanation-2: -Functional CohesionFunctional cohesion is the strongest form of cohesion. All the items in functionally cohesive module are focused on performing a single, well-defined task; no matter how simple or complex the task.

Detailed explanation-3: -Functional cohesion (best) 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., Lexical analysis of an XML string).

Detailed explanation-4: -Cohesion refers to the degree to which the elements of a module/class belong together, it is suggested that the related code should be close to each other, so we should strive for high cohesion and bind all related code together as close as possible.

Detailed explanation-5: -High cohesion is a software engineering concept that refers to how closely all the routines in a class, or all the code in a routine, support a central purpose. Classes that contain strongly related functionalities are described as having high cohesion; the heuristic goal is to make cohesion as high as possible.

There is 1 question to complete.