26.9k views
5 votes
Assume module A gets some data and produces one output. Then, Module B, takes this output and produces a final output. Which type of coupling exists between A and B?

a. Control
b. None of the above
c. Pathological
d. Common environment
e. Content

User Huby
by
7.5k points

1 Answer

2 votes

Final answer:

The coupling between module A and module B described is most closely related to Data coupling, where data is passed from one module to another. However, the correct answer choice given is 'None of the above' since 'Data Coupling' is not listed. Content coupling is a different, less desirable form of coupling and does not describe the scenario correctly.

Step-by-step explanation:

When module A gets some data and produces one output that is taken by module B to produce a final output, the type of coupling between module A and B is Data coupling. Data coupling is a scenario where modules share data through, for example, parameters. Each module receives and sends pieces of data, but they do not share or modify each other's data directly.

This type of coupling is generally the lowest form of coupling, which means it is highly desirable in a well-structured system, promoting module independence and reusability. In the options provided, however, there is no 'Data Coupling' mentioned, which points us towards an option 'b. None of the above' as the correct choice.

Additionally, option 'e. Content' could potentially mislead towards an incorrect choice as Content coupling does exist, but it denotes a very high and undesirable level of coupling where one module directly modifies or relies on the internal workings of another module, which is not the case described in the question.

User Pranay Kumar
by
7.9k points