COMPILER DESIGN

TOOLS AND TECHNIQUES FOR COMPILER DESIGN

MISCELLENOUS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which one of the following is the correct ordering of the coupling of modules from strongest (least desirable) to weakest (most desirable)?
A
content, common, control, stamp, data
B
common, content, control, stamp, data
C
content, data, common, stamp, common
D
data, control, common, stamp, content
Explanation: 

Detailed explanation-1: -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.

Detailed explanation-2: -Levels of Coupling Coupling can be low / loose / weak or high / tight / strong.

Detailed explanation-3: -Content coupling (high) Content coupling is the process in which one module relies on the internal workings of another module. Common coupling. Common coupling is the process in which two modules share the same global data. Control coupling. Stamp coupling.

Detailed explanation-4: -Content coupling: if one directly references the contents of the other. Common coupling: access to global data. Control coupling: passing control flags (as parameters or globals) so that one module controls the sequence of processing steps in another module. More items

There is 1 question to complete.