Introduction to Design Structured AnalysisDesign - PowerPoint PPT Presentation

1 / 33
About This Presentation
Title:

Introduction to Design Structured AnalysisDesign

Description:

Budget System. Display. Info. Lab 4 Context Diagram. Data Flow ... What is the definition and makeup of the data in the data flows? Name: Employee Number ... – PowerPoint PPT presentation

Number of Views:38
Avg rating:3.0/5.0
Slides: 34
Provided by: Robert9
Category:

less

Transcript and Presenter's Notes

Title: Introduction to Design Structured AnalysisDesign


1
Introduction to Design/Structured Analysis/Design
  • CS2335
  • Fall 2003

2
Agenda
  • Design Principles
  • Common Design Techniques
  • SA/SD

3
Software Development Life Cycles
Project Planning
Requirements
Analysis
Design
Implementation
Testing
OM
4
What is Design?
The process of applying various techniques and
principles for the purpose of defining a device,
a process or a system in sufficient detail to
permit its physical realization.
5
Levels of Design (Formality)
  • None (Code and Fix)
  • Back of the envelope
  • Structured
  • Object-Oriented
  • Formal Methods

6
Why Design?
7
Design Stages
  • Analysis
  • Software Architecture
  • Preliminary Design
  • Detail Design

Moving from as-is to to-be
Moving from language of the user to language of
the machine
8
Design Principles
  • Good organization and control
  • Modular
  • Separable representation of data
  • Independent modules
  • Simple interfaces
  • Repeatable method
  • Build vs Buy

9
Key Design Ideas
  • Abstraction
  • Refinement (Stepwise, Elaboration)
  • Modularity (235)
  • Information Hiding (339)
  • Cohesion (single task) (232)
  • Coupling (interconnection) (229)

10
Quality Design Issues
  • Performance
  • Usability
  • Usefulness
  • Reliability
  • Extensibility
  • Modifiability
  • Reusability
  • Safety
  • Security

CONSTRAINTS
11
Design Strategies
  • Top Down (Decomposition)
  • Bottom Up (Aggregation/Composition)
  • Hybrid

12
Lab 4 Top Down Functional Decomposition
13
Lab 4 Bottom-Up Functional Composition
14
Design Techniques
  • SA/SD
  • Object Oriented
  • Object Modeling Technique (OMT)
  • Rational Unified Process (UML)
  • Shellor-Mellor
  • Objectory
  • Ad Hoc

15
Now.
Structured Analysis (SA) Structured Design
(SD)
Data Dictionaries
Context Diagrams
Data Flow Diagrams
Module Hierarchy
16
Structured Analysis
  • Context Diagram
  • Data Flow Diagram (DFD)
  • Data Dictionary (DD)
  • Procedure Specification (PSPEC)

17
Context Diagrams
What is in system? (System Boundary) What do we
have to interface with? (External Actors)
User
Display Info
Payroll System
0. System
Keypress Info
Employee Salary Info
Budget System
18
Lab 4 Context Diagram
19
Data Flow Diagrams
What are processes? What is information being
processed? How does information flow between
processes?
1. Process
Information Flow
20
Example DFD
Configuration Information
User
2. Update Config
Keypress Info
1. Input Handler
Display Info
Selection Info
4. Display Results
3. Process Salary Data
Expenditure Data
Employee Salary Info
Payroll System
21
Lab 4 Data Flow Diagram
22
Data Dictionary
What is the definition and makeup of the data in
the data flows?
Name Employee Number Alias SSN Where/How
Used Process Salary, indexes employees Descriptio
n string length 9
23
Lab 4 Data Dictionary
Name Alias Where/How Used Description
24
Procedure Specification
Pseudo-code spec of decomposed process Use for
comments in actual code.
25
Structured Design
  • Refine DFD as necessary
  • Determine type of information flow
  • Establish flow boundaries
  • Map DFD onto program structure
  • Factor control hierarchy
  • Refine program structure

26
Flow Determination
Employee Salary Info
27
First Level Factoring
Main Controller
Input Handler
Output Handler
Data Transform Engine
28
Second Level Factoring
Main Controller
Input Handler
User Display Manager
Data Transform Engine
User Input Handler
Payroll Interface
Salary Processor
Configuration Manager
Then refine structure based on principles
29
Lab 4 Structured Design
30
Unified Modeling Language
  • Three Amigos Booch, Rumbaugh (OMT), Jacobson
    (OOSE)
  • OMG Standard
  • CASE Tool Support (Rational Rose)
  • For this class Version 1.5
  • OCL Formal Specifications

31
Model and View Diagrams
Implementation View
Class Diagram Object Diagram
Component Diagrams
User View Use Case Diagrams
Structural View
Deployment Diagram
Sequence Diagram Collaboration Diagram Statechart
Diagram Activity Diagram
Behavioral View
Environment View
32
Why so many diagrams?
Different stakeholders
Different concerns
Why not just one blueprint for a skyscraper?
33
Next Time
UML Class Diagrams Sequence Diagrams
Write a Comment
User Comments (0)
About PowerShow.com