Professional Documents
Culture Documents
DFD's Notation
Data flows
Data flows represent the data being passed into or out of a process, source, sink or store. It is represented as a labeled arrow:
Taxable Income
process
process are denoted by circles with one or more incoming and outgoing information flows:
Taxable Income Tax Tables
Calculate Tax Tax owed
External Entities
Entities (Information sources and sinks) are information that come into the system, or leave the system, and are represented by squares:
Pay Hours Rate Payroll System
Pay Check
Information stores
Information Stores represent locations where information can be store for the duration of the system activity:
Total Payroll Expense
Types of DFD
Physical DFD: It shows what task are carried out and how they are performed. Logical DFD: Focus on the flow of data between process without regards for the specific device, storage location, people etc.
0.0 Process
Data Flow
Source/ Sink
Level 0 DFD
0.0 Process
Data Flow Data Flow
1.0 Process
Data Flow
DATA STORE
Source/ Sink
Data Flow
2.0 Process
Data Flow
Source/ Sink
Data Flow
3.0 Process
Data Flow
Source/ Sink
Data Flow
1.1 Process
DATA STORE
0.0 Process
Source
Data Flow
1.2 Process
DATA STORE
Data Flow
Sink
1.1 Process
DATA STORE
Source/ Sink
0.0 Process
Project Name
Data Flow
Source/ Sink
Data Flow
1.2 Process
Level 1 DFD
Project Name
1.0 Process
Date: 01/01/2002
1.2 Process
Level 1 DFD
Source/ Sink
Data Flow
Data Flow
Data Flow
DATA STORE
Data Flow
3.0 Process
Data Flow
1. Create a list of activities 2. Construct Context Level DFD (identifies sources and sink) 3. Construct Level 0 DFD (identifies manageable sub process ) 4. Construct Level 1- n DFD (identifies actual data flows and data stores )
The operations of a simple lemonade stand will be used to demonstrate the creation of dataflow diagrams.
1. Create a list of activities 2. Construct Context Level DFD (identifies sources and sink) 3. Construct Level 0 DFD (identifies manageable sub processes ) 4. Construct Level 1- n DFD (identifies actual data flows and data stores )
Think through the activities that take place at a lemonade stand. Customer Order Serve Product Collect Payment Produce Product Store Product
Also think of the additional activities needed to support the basic activities. Customer Order Serve Product Collect Payment Produce Product Store Product Order Raw Materials Pay for Raw Materials Pay for Labor
Group these activities in some logical fashion, possibly functional areas. Customer Order Serve Product Collect Payment Produce Product Store Product Order Raw Materials Pay for Raw Materials Pay for Labor
Create a context level diagram identifying the sources and sinks (users). Customer Order Serve Product Collect Payment Produce Product Store Product
Sales Forecast
0.0 Lemonade Production Schedule EMPLOYEE Pay System
VENDOR
Create a level 0 diagram identifying the logical subsystems that may exist. Customer Order Serve Product Collect Payment Produce Product Store Product
Sales Forecast
2.0 Production
Production Schedule
EMPLOYEE
Inventory
3.0 Procurement
VENDOR
4.0 Payroll
Create a level 1 decomposing the processes in level 0 and identifying data stores. Customer Order Serve Product Collect Payment Produce Product Store Product
4. Construct Level 1- n DFD (identifies actual data flows and data stores )
Level 1 DFD
CUSTOMER
Customer Order
ORDER 1.1 Record Order
Severed Order
Payment
1.2 Receive Payment PAYMENT
Sales Forecast
Create a level 1 decomposing the processes in level 0 and identifying data stores. Customer Order Serve Product Collect Payment Produce Product Store Product
Quantity Severed
RAW MATERIALS
Production Schedule
2.2 Produce Product
Quantity Used
INVENTORTY
Production Data
2.3 Store Product
Create a level 1 decomposing the processes in level 0 and identifying data stores. Customer Order Serve Product Collect Payment Produce Product Store Product
PURCHASE ORDER
Received Goods
3.2 Receive Items
Payment Approval
RECEIVED ITEMS
VENDOR
Create a level 1 decomposing the processes in level 0 and identifying data stores. Customer Order Serve Product Collect Payment Produce Product Store Product
Employee ID
EMPLOYEE
Payroll Request
4.2 Calculate Payroll
Payment Approval
PAYMENTS
Process Decomposition
1.0 Sale 1.1 Record Order 1.2 Receive Payment
2.0 Production
3.0 Procurement
4.0 Payroll
Context Level
Level 0
Level 1
Developing DFD
The analyst must first study current system. The physical system is translated into logical description focusing on data and process. Data flow diagram are of two types: 1. Physical DFD: It shows what task are carried out and how they are perform. 2. Logical DFD: Focusing on flow of data between process without regards for specific device, storage location or people in the system.
Data Dictionary
A data dictionary is a catalog, a repository of element in a system. The major elements are dataflow, data store and process.