Software-Engineering
December 9, 2023Question 14108 – NIC-NIELIT STA 2020
December 9, 2023Software-Engineering
Question 405 |
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 :
P and Q only
| |
P and R only | |
Q and R only | |
All of P, Q and R
|
Question 405 Explanation:
Common Coupling: Common coupling occurs if two modules share same global data.
Data Coupling: Data coupling occurs when two modules communicate using elementary data items that are passed as parameters between two modules.
Stamp Coupling: Stamp coupling occurs if two modules communicate using composite items such as records in Pascal or structure in C.
Data Coupling: Data coupling occurs when two modules communicate using elementary data items that are passed as parameters between two modules.
Stamp Coupling: Stamp coupling occurs if two modules communicate using composite items such as records in Pascal or structure in C.
Correct Answer: C
Question 405 Explanation:
Common Coupling: Common coupling occurs if two modules share same global data.
Data Coupling: Data coupling occurs when two modules communicate using elementary data items that are passed as parameters between two modules.
Stamp Coupling: Stamp coupling occurs if two modules communicate using composite items such as records in Pascal or structure in C.
Data Coupling: Data coupling occurs when two modules communicate using elementary data items that are passed as parameters between two modules.
Stamp Coupling: Stamp coupling occurs if two modules communicate using composite items such as records in Pascal or structure in C.