Title: Structured Analysis Structured Design
1Structured Analysis/Structured Design
2Agenda
- Administration
- Review
- Structured Analysis
- Structured Design
3Structured Analysis
- Context Diagram
- Data Flow Diagram (DFD)
- Data Dictionary (DD)
- Procedure Specification (PSPEC)
4Context 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
5Lab 3 Context Diagram
6Data Flow Diagrams
What are processes? What is information being
processed? How does information flow between
processes?
1. Process
Information Flow
7Example 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
8Lab 3 Data Flow Diagram
9Data 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
10Lab 3 Data Dictionary
Name Alias Where/How Used Description
11Procedure Specification
Pseudo-code spec of decomposed process Use for
comments in actual code.
12Structured Design
- Refine DFD as necessary
- Determine type of information flow
- Establish flow boundaries
- Map DFD onto program structure
- Factor control hierarchy
- Refine program structure
13Flow Determination
Employee Salary Info
14First Level Factoring
Main Controller
Input Handler
Output Handler
Data Transform Engine
15Second 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
16Lab 3 Structured Design
17Next Time
Back to teams Team Communications Farmer
Exercise