Software-Engineering
August 28, 2024Software-Engineering
August 28, 2024Software-Engineering
|
Question 381
|
Software coupling involves dependencies among pieces of software called modules. Which of the following are correct statements with respect to module coupling?
-
P: Common Coupling occurs when two modules share the same global data
Q: control Coupling occur when modules share a composite data structure and use only part of it.
R: Content coupling occurs when one module modifies or relies on the internal working of another module.
Choose a correct answer from the code given below:
Code:
|
P and Q only
|
|
|
P and R only
|
|
|
Q and R only
|
|
|
All of P, Q and R
|
Question 381 Explanation:
Control Coupling : It exists between two modules if data from one module to other is used to direct the order of instruction execution in other module.
Common Coupling : Common coupling take place when two modules share global data.
Content Coupling : Content coupling exists between two modules if their code is shared.
Common Coupling : Common coupling take place when two modules share global data.
Content Coupling : Content coupling exists between two modules if their code is shared.
Correct Answer: B
Question 381 Explanation:
Control Coupling : It exists between two modules if data from one module to other is used to direct the order of instruction execution in other module.
Common Coupling : Common coupling take place when two modules share global data.
Content Coupling : Content coupling exists between two modules if their code is shared.
Common Coupling : Common coupling take place when two modules share global data.
Content Coupling : Content coupling exists between two modules if their code is shared.
