Final answer:
In regards to the coupling between software modules, common coupling involves shared global data, data coupling involves passing data items through parameters, and stamp coupling occurs when modules share a composite data structure, but only parts of it are used. The statement regarding stamp coupling is correct, while the other statements contain inaccuracies. Option C is correct.
Step-by-step explanation:
The question posed is related to the concept of module coupling in software engineering, which refers to the measure of interconnections between software modules. Reviewing the statements provided:
P: Common coupling occurs when two or more modules share the same global data. The description given in statement P about one module controlling the flow of another by passing information is not common coupling; it is more closely related to control coupling, where one module controls the flow of another module.
Q: In data coupling, the simplest form of coupling, modules interact by passing data through parameters. However, Q incorrectly states that the complete data structure is passed. Data coupling typically involves passing only the necessary data items, not entire data structures.
R: Stamp coupling, partially correct in this context, happens when modules share a composite data structure and use parts of it, which can increase the risk of unintended relationships between modules.
Considering these explanations, the correct answer would be stamp coupling as mentioned in R is accurate, while P and Q contain inaccuracies regarding the nature of common and data coupling. Therefore, the correct answer is:
c. Q and R only