Modules X and Y operate on the same input and output, then the cohesion is
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: D. Communication cohesion
Explanation
Communicational (communication) cohesion is defined precisely as the case where the elements of a module operate on the same input data or contribute to the same output data, which is what the question states. In sequential cohesion the output of one element becomes the input of the next, forming a chain rather than a shared data set. In procedural cohesion the elements are grouped only because they must execute in a particular control order. In logical cohesion elements belong to the same general class of functions and one is selected by a flag. Hence option 4.More Programming Languages and Computer Graphics questions
- Arrange the following types of Cohesion from best to worst type. A. Logical Cohesion B. Sequential Cohesion C. Communication Cohesion D. Te…
- Which of the following UML diagrams has a static view?
- Which of the following statements is/are TRUE? P: In software engineering, defects that are discovered earlier are more expensive to fix. Q…
- Software coupling involves dependencies among pieces of software called modules. Which of the following are correct statements with respect…
- Match each UML diagram in List-I with the appropriate description in List-II: List-I (a) State Diagram (b) Use-Case Diagram (c) Class Diagr…
- Coupling is a measure of the strength of the interconnections between software modules. Which of the following are correct statements with…