Under what coupling category is an entire data structure transmitted across modules ?
Show answer Hide answer
Answer: B. Stamp Coupling
Explanation
Stamp coupling occurs when an entire data structure is transmitted across modules. This happens even if the receiving module only requires a small portion of that data. It represents a tighter coupling level than passing simple primitive variables as arguments. Coupling measures the degree of interdependence between software modules in a program. Low coupling is desirable because it promotes code reuse and independent module maintenance. Stamp coupling passes composite data structures like records or structs between routines.
Passing a complete customer record struct to a function that only needs the zip code is stamp coupling. Reducing coupling prevents changes in one data structure from breaking unrelated program modules. Code reviewers check for excessive stamp coupling to improve overall software architecture quality. Control coupling occurs when one module passes a flag to direct another module's internal logic. External coupling involves modules sharing an externally imposed data format or device protocol. Content coupling is the worst type, where one module directly modifies another module's internal code.
- Subject
- Computer Science
- Category
- Software Engineering
- Topic
- —
- Difficulty
- medium
Related questions
Q1. Choose the flawed statement: “Software engineers ought to:
Show answer Hide answer
Answer: C. be dependent on their colleagues.”
Professional ethics require engineers to maintain independence rather than dependence. Relying blindly on colleagues violates professional judgment standards. Engineers must uphold personal integrity and independent tech...
Q2. Structured Analysis rests upon the foundational principles of___________________?
Show answer Hide answer
Answer: D. All of the mentioned
Structured analysis relies on top-down decomposition and divide-and-conquer principles. It uses data flow diagrams to graphically represent system analysis results. Combining these foundational principles enables analyst...
Q3. __________________ is a measure of the degree of interdependence between modules ?
Show answer Hide answer
Answer: B. Coupling
Coupling is a measure of the degree of interdependence between software modules. Low coupling between modules is preferred because it minimizes the ripple effect of code changes. Measuring module interdependence helps so...
Q4. Why is Requirements Management vital ? It stems from modifications___________________?
Show answer Hide answer
Answer: D. in all of the mentioned.
Requirements management is vital because environments, technology, and expectations change. Modifications across all these areas necessitate ongoing requirement tracking. Dynamic business conditions make static requireme...
Q5. What does the Data Store Symbol depict inside a DFD_______________?
Show answer Hide answer
Answer: D. All of the mentioned
Data stores in DFDs can represent physical files, databases, or logical structures. The symbol abstracts how data is stored regardless of specific storage technology. This flexibility allows analysts to model data persis...
Q6. Which option characterizes an “Is-a-Relationship” ?
Show answer Hide answer
Answer: B. Inheritance
Inheritance is the mechanism that defines an is-a relationship between a subclass and its superclass. Object-oriented modeling uses inheritance to state that a specialized class is a type of general class. Is-a relations...