GATE / CS ARCHIVE

GATE CSE 2009 / QUESTION 19

Ranking software coupling

Engineering Mathematics & Other Topics · Software Engineering · Full GATE CSE 2009 paper

GATE 2009, Q19 1 mark · MCQ
Not in GATE 2027 syllabusReport issue

Software Engineering

Question 19, GATE 2009: Rank coupling strongest to weakest: I content, II common, III control, IV stamp, V data. A I-II-III-IV-V; B V-IV-III-II-I; C I-III-V-II-IV; D IV-II-V-III-I.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

From strongest to weakest, content coupling reaches into another module’s internals; common coupling shares global state; control coupling passes control flags; stamp coupling passes a larger composite record; data coupling passes only needed data values. Thus I, II, III, IV, V, option A.

The ordering measures how much one module relies on another’s implementation. Content coupling directly accesses internals and is most intrusive. Common coupling shares globals; control coupling tells another module which action to take; stamp coupling passes a composite structure with more fields than needed; data coupling passes only the required values. Thus I-II-III-IV-V is the conventional ranking, A. This software-engineering topic is retained as supplemental coverage.

Original paper, page 4