Recall & Review
beginner
What is coupling in software engineering?
Coupling is the measure of how much one module or component depends on another. Low coupling means modules work independently, which is good for easier maintenance.
Click to reveal answer
beginner
Define cohesion in the context of software modules.
Cohesion refers to how closely related the tasks performed by a single module are. High cohesion means a module focuses on one task, making it easier to understand and maintain.
Click to reveal answer
intermediate
Why is low coupling preferred in software design?
Low coupling reduces dependencies between modules, so changes in one module have less impact on others. This makes the system easier to update and less error-prone.
Click to reveal answer
intermediate
What does high cohesion help achieve in a software module?
High cohesion helps a module do one thing well, improving clarity, reusability, and ease of testing.
Click to reveal answer
beginner
Give a real-life example to explain coupling and cohesion.
Think of a car: the engine parts have high cohesion because they all work together to make the engine run. The engine and the radio have low coupling because they work independently; changing the radio doesn't affect the engine.
Click to reveal answer
What does low coupling mean in software modules?
✗ Incorrect
Low coupling means modules have few dependencies and work independently.
Which of the following best describes high cohesion?
✗ Incorrect
High cohesion means a module focuses on one task or closely related tasks.
Why is high cohesion beneficial?
✗ Incorrect
High cohesion improves clarity and makes modules easier to maintain.
Which scenario shows tight coupling?
✗ Incorrect
Tight coupling means modules depend heavily on each other, so changes affect many parts.
In the car analogy, which pair shows low coupling?
✗ Incorrect
The engine and radio work independently, showing low coupling.
Explain in your own words what coupling and cohesion mean in software design.
Think about how modules depend on each other and how focused their tasks are.
You got /4 concepts.
Describe a real-life example that helps you understand coupling and cohesion.
Use everyday objects or systems you know well.
You got /3 concepts.