Question 6
What is the worst (least desirable) form of coupling between modules?
Content coupling occurs when one module directly modifies or relies on the internal workings or data of another module.
What is the worst (least desirable) form of coupling between modules?
Content coupling occurs when one module directly modifies or relies on the internal workings or data of another module.
What is the best (most desirable) form of coupling between modules?
Data coupling is the weakest and most desirable coupling, where modules communicate purely by passing simple primitive data parameters.
What is the highest and most desirable form of cohesion?
Functional cohesion means every element within the module contributes to executing a single, well-defined task.
In Function Point (FP) analysis, function points are computed based on -
Function Point analysis measures software size based on functional user requirements across 5 information domain characteristics.
Which formula is used to calculate Cyclomatic Complexity V(G) of a control flow graph with E edges, N nodes, and P connected components?
McCabe's Cyclomatic Complexity formula is V(G) = E - N + 2P (or V(G) = P_decision + 1 for single component).