Coupling is a measure of the strength of the interconnections between software modules.
Which of the following are correct statements with respect to module coupling?
P: Common coupling occurs when one module controls the flow of another module by passing it information on what to do.
Q: In data coupling, the complete data structure is passed from one module to another through parameters.
R: Stamp coupling occurs when modules share a composite data structure and use only parts of it.
Code:
1
P and Q only
2
P and R only
3
Q and R only
4
All of P, Q and R