The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
0 votes

The coupling between different modules of a software is categorized as follows:

  1. Content coupling
  2. Common coupling
  3. Control coupling
  4. Stamp coupling
  5. Data coupling

Coupling between modules can be ranked in the order of strongest (least desirable) to weakest (most desirable) as follows:

  1. I-II-III-IV-V
  2. V-IV-III-II-I
  3. I-III-V-II-IV
  4. IV-II-V-III-I
asked in IS&Software Engineering by Veteran (52.1k points)
retagged by | 1.7k views

4 Answers

+3 votes
Best answer
Answer: A

Coupling between modules can be ranked in the order of strongest (least desirable) to weakest (most desirable) as follows: Content Coupling, Common Coupling, External Coupling, Control Coupling, Stamp Coupling, Data Coupling.
answered by Boss (33.8k points)
selected by
+4 votes
ans: a)
answered by (483 points)
+1 vote

Answer A

Coupling between modules can be ranked in the order of strongest to weakest as follows:

Content Coupling $>$ Common Coupling $>$ External Coupling $>$ Control Coupling $>$ Stamp Coupling $>$ Data Coupling

  • Content Coupling: Occurs when one module modifies or relies on the internal workings of another module
  • Common Coupling: Occurs when two modules share the same global data
  • External Coupling: Occurs when two modules share an externally imposed data format or communication protocol
  • Control Coupling: One module controlling the flow of another, by passing it information
  • Stamp Coupling: Occurs when modules share a composite data structure and use only parts of it
  • Data coupling: Occurs when modules share data through parameters


answered by Loyal (5.3k points)
+1 vote

Ranked highest to lowest:

  1. Content coupling: if one directly references the contents of the other.

    When one module modifies local data values or instructions in another module. (can happen in assembly language)

    if one refers to local data in another module.

    if one branches into a local label of another.

  2. Common coupling: access to global data.

    modules bound together by global data structures.

  3. Control coupling: passing control flags (as parameters or globals) so that one module controls the sequence of processing steps in another module.
  4. Stamp coupling: similar to common coupling except that global variables are shared selectively among routines that require the data. E.g., packages in Ada. More desirable than common coupling because fewer modules will have to be modified if a shared data structure is modified. Pass entire data structure but need only parts of it.
  5. Data coupling: use of parameter lists to pass data items between routines.

so, ans A


answered by Loyal (7.1k points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,811 questions
54,533 answers
75,549 users