Chapter 5 Design
Chapter 5 Design
Chapter 5 Design
Software Design
Design activity begins with a set of requirements,
and maybe an architecture
Design done before the system is implemented
Design focuses on module view – i.e. what modules
should be in the system
Module view may have easy or complex relationship
with the C&C view
Design of a system is a blue print for implementation
Often has two levels – high level (modules are
defined), and detailed design (logic specified)
Design…
Design is a creative activity
Goal: to create a plan to satisfy requirements
Perhaps the most critical activity during system
development
Design determines the major characteristics of a
system
Has great impact on testing and maintenance
Design document forms reference for later phases
Design methodology – systematic approach for
creating a design
Design Concepts
Transformation
Input functions Output
Steps in SD
1. Draw a DFD of the system
2. Identify most abstract inputs and most
abstract outputs
3. First level factoring
4. Factoring of input, output, transform
modules
5. Improving the structure
1. Data Flow Diagrams
SD starts with a DFD to capture flow of data
in the proposed system
DFD is an important representation; provides
a high level view of the system
Emphasizes the flow of data through the
system
Ignores procedural aspects
(Purpose here is different from DFDs used in
requirements analysis, thought notation is the
same)
Drawing a DFG
outputs"
Never try to show control logic.
If thinking about loops, if-then-else, start again