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:
View
Frayer Model
View
Math Calculations
View
Interactive QR Code Generator
View
Interactive Scoreboard
View
Interactive Bingo
View
Interactive Hangman
View
Secret Code
Transcript
Modular Design
Define Modular Design
Modular design means organizing code into modules so that each module has hign cohesion and that modules have low coupling between them
Q.2 What is Cohesion?
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.
Q3.What is coupling?
Coupling is a measure of howmodules are interconnected. High coupling means lots of interconnections (BAD) Low coupling means not many interconnections (GOOD)
Q4. What are the three main rasons that modular design is important?
- Maintainability
- Reliability
- Budget Management
Q5. How do you know if a design is modular?
- If you can idenitfy modules and test each module independently, then it is modular.
Q6. What do you understand by layered design?
Layered design is a special case of modular design where modules are organized by layered architecture.
Q.7 Give two examples of layered design in real-life complete software.
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.
What are the few outstanding benefits of using layered design?
- Understanding one layer at a time enchancing portability, maintenance, and reliabiltiy.