This set of Software Engineering Cohesion & Coupling MCQ Questions covers advanced concepts of Software Engineering, focusing on cohesion, coupling, modular design, and design principles. Useful for GATE and IBPS IT Officer exams.
Topic: Software Engineering (Cohesion & Coupling) | Set: 2
Difficulty: Medium to Hard | Total Questions: 15
Software Engineering Cohesion & Coupling MCQ (Set 2)
Q1. Which coupling occurs when modules share an environment like an I/O device?
A. External Coupling
B. Common Coupling
C. Stamp Coupling
D. Control Coupling
View Answer & Explanation
Answer: A
Explanation: External coupling involves modules sharing an external interface like an I/O device.
Q2. Passing a whole record but using only one field is:
A. Data Coupling
B. Stamp Coupling
C. Control Coupling
D. Content Coupling
View Answer & Explanation
Answer: B
Explanation: Stamp coupling passes entire structures even when partially used.
Q3. Which cohesion is better: Procedural or Communicational?
A. Procedural
B. Communicational
C. Equal
D. Neither
View Answer & Explanation
Answer: B
Explanation: Communicational cohesion is higher as it focuses on shared data.
Q4. Content coupling is worst because:
A. Uses more memory
B. Modifies internal data of another module
C. Uses globals
D. Too many parameters
View Answer & Explanation
Answer: B
Explanation: It breaks encapsulation by accessing internals.
Q5. Software design should aim for:
A. High Coupling, High Cohesion
B. Low Coupling, Low Cohesion
C. Low Coupling, High Cohesion
D. High Coupling, Low Cohesion
View Answer & Explanation
Answer: C
Explanation: This ensures modular and maintainable systems.
Q6. A module performing Input → Process → Output has:
A. Functional
B. Sequential
C. Communicational
D. Procedural
View Answer & Explanation
Answer: A
Explanation: All steps contribute to one function.
Q7. Inappropriate SDLC phase pairing impacts:
A. Coding speed
B. Design modularity
C. User manuals
D. Hardware
View Answer & Explanation
Answer: B
Explanation: Poor phase alignment leads to poor modular design.
Q8. Most reusable module:
A. Low cohesion
B. High coupling
C. High cohesion & low coupling
D. Common coupling
View Answer & Explanation
Answer: C
Explanation: Independent and focused modules are reusable.
Q9. Information hiding helps to:
A. Increase coupling
B. Reduce cohesion
C. Reduce coupling
D. Increase globals
View Answer & Explanation
Answer: C
Explanation: It hides implementation details, reducing dependency.
Q10. If change in X affects Y, they are:
A. Cohesive
B. Coupled
C. Normalized
D. Encapsulated
View Answer & Explanation
Answer: B
Explanation: Dependency between modules defines coupling.
Q11. Math library (Sin, Cos, Tan) shows:
A. Functional
B. Logical
C. Coincidental
D. Procedural
View Answer & Explanation
Answer: B
Explanation: Grouped by category, not single function.
Q12. Module relying on internal implementation:
A. Data Coupling
B. Content Coupling
C. Stamp Coupling
D. Common Coupling
View Answer & Explanation
Answer: B
Explanation: Content coupling is tight and undesirable.
Q13. Why is Common Coupling dangerous?
A. Small modules
B. Hard to track changes
C. Same file restriction
D. Only integers
View Answer & Explanation
Answer: B
Explanation: Global data can be modified by any module.
Q14. A “God Object” has:
A. High Cohesion
B. Low Cohesion
C. High Coupling
D. Both B and C
View Answer & Explanation
Answer: D
Explanation: It lacks focus and creates dependencies.
Q15. Best order of cohesion (highest → lowest):
A. Functional > Sequential > Communicational > Procedural
B. Coincidental > Logical > Temporal > Functional
C. Functional > Temporal > Logical > Coincidental
D. Sequential > Functional > Procedural > Temporal
View Answer & Explanation
Answer: A
Explanation: Functional is best, coincidental is worst.
Conclusion
These MCQs help you understand key concepts of cohesion and coupling, which are essential for software design and architecture. Practice regularly for GATE and IBPS IT Officer exams.
For detailed theory and understanding of concepts, refer to Coupling and Cohesion Software Engineering.