Two modules are said to be common coupled in software design if __________.
2021
Two modules are said to be common coupled in software design if __________.
- A.
They share their code
- B.
They share same global data areas
- C.
They communicate via a composite data
- D.
They communicate through an elementary data item
Attempted by 120 students.
Show answer & explanation
Correct answer: B
Common coupling occurs when two or more modules have access to the same global data. This is generally considered a "loose" form of coupling but can be risky because a change in the data by one module can have unexpected side effects on all other modules sharing that data.