1 votes 1 votes The coupling between different modules of a software is categorized as follows: Content coupling Common coupling Control coupling Stamp coupling Data coupling Coupling between modules can be ranked in the order of strongest (least desirable) to weakest (most desirable) as follows: I-II-III-IV-V V-IV-III-II-I I-III-V-II-IV IV-II-V-III-I IS&Software Engineering gatecse-2009 is&software-engineering normal + – Kathleen asked Sep 22, 2014 retagged Nov 13, 2017 by Arjun Kathleen 13.7k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 4 votes 4 votes 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. Rajarshi Sarkar answered May 28, 2015 selected May 30, 2015 by Arjun Rajarshi Sarkar comment Share Follow See all 0 reply Please log in or register to add a comment.
2 votes 2 votes 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 Source: https://en.wikipedia.org/wiki/Coupling_(computer_programming) Arunav Khare answered Apr 1, 2017 Arunav Khare comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes Ranked highest to lowest: 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. Common coupling: access to global data. modules bound together by global data structures. Control coupling: passing control flags (as parameters or globals) so that one module controls the sequence of processing steps in another module. 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. Data coupling: use of parameter lists to pass data items between routines. so, ans A ref: https://courses.cs.washington.edu/courses/cse403/96sp/coupling-cohesion.html rishu_darkshadow answered Dec 4, 2017 rishu_darkshadow comment Share Follow See all 0 reply Please log in or register to add a comment.