Genial Presentation
3_Roy_8
Created on October 21, 2024
More creations to inspire you
HISTORY OF THE CIRCUS
Presentation
AGRICULTURE DATA
Presentation
LAS ESPECIES ANIMALES MÁS AMENAZADAS
Presentation
WATER PRESERVATION
Presentation
BIDEN’S CABINET
Presentation
YURI GAGARIN IN DENMARK
Presentation
C2C VOLUNTEER ORIENTATION
Presentation
Transcript
Worksheet Answers
- Hayden Simpson
- Alex Pallan
- Nathan Perkins
- Joseph Hennings
WK9_MON_DESIGN
Modular design means organizing code into modules so that each module has high cohesion and that modules have low coupling between them.
Define Modular Design:
Cohesion is a measure of how focused and strongly-related the responsibilities of a single module are.An element with low cohesion does many unrelated things
What is Cohesion?
Low coupling means not many interconnections. This is a good thing.
What does it mean for a module to have low coupling?
- Budget Management
- minimizing time spent fixing bugs
- Maintainability
- easier to pinpoint bugs
- Readability
What are the 3 main reasons modular design is important?
You will know your design is modular if you can:(1) identify modules and (2) test each module INDEPENDENTLY of the rest of the code.
How will you know if your design is modular?
Layering is a special case of modular design. Modules are organizedinto layers. Modules in an upper layer areallowed to use the modules in the lower layer below it.
What do you understand by layered design?
- Operating Systems
- Networking Systems
Give two examples of layered design in real-life complex software.
Layered design is an important tool for managing complexity. One canunderstand the functionality of one layer at a time. - portability. maintainability. reusability. - change in a layer can be hidden behind its interface- a layer can be substituted by another implementation of the layer.- a layer can be reused in some other system. - a blueprint for constructing the system - too many modules etc -> layering helps focus on a specific part- development can proceed a layer at a time.- specialized teams can be assigned to layers (skilled GUi developersto GUI layer)