CS FundamentalsHardGATE CS · Infosys
Module A passes an entire customer record (a composite structure) to module B, but B uses only the customer ID field. This is an example of:
- A. Data coupling
- B. Control coupling
- C. Stamp coupling
- D. Common coupling
Correct answer: C. Stamp coupling
Passing a composite data structure when only part of it is needed is stamp (data-structured) coupling. Data coupling passes only the needed elementary values, control coupling passes a flag that steers the callee's logic, and common coupling shares global data.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- In function point analysis the weights (simple, average, complex) are: external inputs 3, 4, 6; external outputs 4, 5, 7; external…
- Basic COCOMO for an embedded-mode project uses effort E = 3.6 (KLOC)^1.20 person-months and development time D = 2.5 E^0.32 months. For a…
- A program has 14 distinct operators, 22 distinct operands, 82 operator occurrences and 61 operand occurrences. Using Halstead's measures…
- The control-flow graphs of a program's two separate routines have E = 16, N = 13 and E = 9, N = 8 edges and nodes respectively (each graph…
- A project has these activities (duration in days; predecessors): A (3; none), B (4; none), C (5; A), D (2; A, B), E (6; B), F (4; C, D), G…
- The critical path of a project has four activities with (optimistic, most likely, pessimistic) durations in days: (2, 4, 8), (3, 5, 13)…