Want to create interactive content? It’s easy in Genially!
CS309_10.21
34
Created on October 21, 2024
Start designing with a free template
Discover more than 1500 professional designs like these:
Transcript
Modular Design
Modular design means organizing code into modules so that each module has hign cohesion and that modules have low coupling between them
Define Modular Design
Cohesion is a measure of how focused or strongly-related the responsibilities of a single module are. An element with low cohesion does many unrelated things.
Q.2 What is Cohesion?
Coupling is a measure of howmodules are interconnected. High coupling means lots of interconnections (BAD) Low coupling means not many interconnections (GOOD)
Q3.What is coupling?
- Maintainability
- Reliability
- Budget Management
Q4. What are the three main rasons that modular design is important?
- If you can idenitfy modules and test each module independently, then it is modular.
Q5. How do you know if a design is modular?
Layered design is a special case of modular design where modules are organized by layered architecture.
Q6. What do you understand by layered design?
1. Operating Systems : They are complex systmes made understandable through layered and moduler design. 2. Networking Systems: These systems are also complex but are made learnable through their layers of specific functionality.
Q.7 Give two examples of layered design in real-life complete software.
- Understanding one layer at a time enchancing portability, maintenance, and reliabiltiy.