DFD Example: University Admission System
DFD Example: University Admission System
DFD Example
University Admission System
Level 1 Diagram
1. Intake Procedure
2. Maintain Student Information
3. Generate Reports
1
DFD Example
University Admission System
Level 2 Diagram
Level 1 Process 1, Perform Intake Procedure
DFD Example
University Admission System
Level 2 Diagram
Level 1 Process 2, Maintain Student Information
2
DFD Reading-Correction
University’s class registration system
Context Diagram
DFD Reading-Correction
Identify three errors (DFD rule violations)
3
Structured Analysis: Garage Repairs
Buses come to a garage for repairs
4
Garage Repairs (Context Diagram)
Bus
Mechanical Fixed
problem mechanical
to be repaired problems
Repair Supervisor
Helper Labor Bus summary
Repair
Process List of
System parts used Inventory
Labor Management
Labor, System
parts cost
Mechanic details
Accounting
9
DFD Creation
A Book Supplier, supplies books to customers; no
stocks maintained; books sourced directly from
publishers
Prepare Context Diagrams
Source/Sink
Process
10
5
DFD Creation
A Book Supplier, supplies books to customers; no
stocks maintained; books sourced directly from
publishers
Prepare Overview Diagrams
Identify Data Stores, Processes, Data Flows
11
DFD Creation
12
6
DFD Creation
Process 2 further decomposed
13
7
Creating Data Flow Diagrams
Example 1. Create a list of activities
Think through the
activities that take
place at a lemonade
stand Customer Order
Serve Product
Collect Payment
Produce Product
Store Product
8
Creating Data Flow Diagrams
Example 1. Create a list of activities
Group these activities
in some logical
fashion, possibly
functional areas Customer Order
Serve Product
Collect Payment
Produce Product
Store Product
Store Product
9
Creating Data Flow Diagrams
Example 3. Construct Level 0 DFD
Create a level 0 diagram (identifies manageable sub processes )
identifying the logical Level 0 DFD
subsystems that may
__ 1.0___
exist
Sale
Customer Order Sales Forecast
Customer Order
Product Ordered
Serve Product
Payment
Collect Payment
CUSTOMER __ 2.0___ Production EMPLOYEE
Product Served Production Schedule
Produce Product
Received Goods Inventory
Store Product
__ 3.0___
VENDOR Procure- Order
Purchase Order
Order Raw Materials ment Decisions
Pay for Raw Materials Payment
Pay Time Worked
Process Decomposition
__ 1.1___ __ 1.2___
__ 1.0___
Record Receive
Sale
Order Payment
__ 0.0___
Lemonade
System __ 3.1___
__ 3.0___ __ 3.2___ __ 3.3___
Produce
Procure- Receive Pay
Purchase
ment Items Vender
Order
__ 4.1___
__ 4.0___ __ 4.2___ __ 4.3___
Record
Payroll Calculate Pay
Time
Payroll Employee
Worked
10
Creating Data Flow Diagrams
Example 4. Construct Level 1- n DFD
Create a level 1 (identifies actual data flows and data stores)
decomposing the Level 1 DFD
processes in level 0 and
CUSTOMER
identifying data stores
Customer Order
Request for Forecast
Customer Order ORDER
__ 1.1___
Serve Product Record
Collect Payment Order __ 1.3___
Produce
Severed Order Sales
Produce Product Payment Forecast Sales Forecast
Store Product
__ 1.2___ PAYMENT
Receive
Order Raw Materials Payment
Pay for Raw Materials
11
Creating Data Flow Diagrams
Example 4. Construct Level 1 (continued)
Create a level 1
decomposing the Level 1 DFD
processes in level 0 and Order Decision
PURCHASE
identifying data stores __ 3.1___ ORDER
Produce
Purchase
Customer Order Order
Quantity On-Hand
Serve Product Quantity
RAW
MATERIALS
Collect Payment Received Received
Goods
__ 3.2___
Produce Product Receive
Store Product Items RECEIVED
ITEMS
Payment Approval
Order Raw Materials
VENDOR
Pay for Raw Materials __ 3.3___
Pay
Vender
Pay for Labor
Payment
Payment Approval
Order Raw Materials
Pay for Raw Materials __ 4.3___
Pay
Employee PAYMENTS
Pay for Labor
Payment
12
2.1 2.1
Customer Customer Store
Store
Information Information Customer
Customer
Data Data
Customer Customer
Data Data Customer
Preferences
Customer
Preferences
D2Customer Preferences
D2Customer Preferences
2.1 2.1
Customer Customer Store
Store
Information Information Customer
Customer
Data Data
Customer
Customer Data
Data
D1 Customer Data
D2Customer Preferences
D2Customer Preferences
13