COMPILER DESIGN

TOOLS AND TECHNIQUES FOR COMPILER DESIGN

MISCELLENOUS

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: -Sequential cohesion-When elements of a module are grouped because the output of one element serves as input to another and so on, it is called sequential cohesion. Functional cohesion-It is considered to be the highest degree of cohesion, and it is highly expected.

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: -Cohesion measures the relative functional strength of a module. It represents the strength of bond between the internal elements of the modules. The tighter the elements are bound to each other, the higher will be the cohesion of a module.

Detailed explanation-4: -7. Which of the following is the best type of module cohesion? Explanation: Functional Cohesion is a type of cohesion in which the tasks performed by a software module all contribute to the performance of a single function.

There is 1 question to complete.