Professional Documents
Culture Documents
External Entity Noun Data Flow Names of data Process verb phrase
a system name
a subsystem name
Example : Restaurant
Steps:
1. Create a list of activities
Old way: no Use-Case Diagram The operations of a simple stand will be used to New way: use Use-Case Diagram demonstrate the creation of 2. Construct Context Level DFD dataflow diagrams. (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 )
Example
Create a level 0 diagram identifying the logical subsystems that may exist.
Customer Order
Level 0 DFD
1.0 Sale
Sales Forecast
Customer Order Serve Product Collect Payment Produce Product Store Product Order Raw Materials Pay for Raw Materials Pay for Labor
Payment
CUSTOMER
EMPLOYEE
Inventory
3.0 Procurement
VENDOR
4.0 Payroll
4. Construct Level 1- n DFD (identifies actual data flows and data stores )
Example
Create a level 1 decomposing the processes in level 0 and identifying data stores.
Customer Order Serve Product Collect Payment Produce Product Store Product Order Raw Materials Pay for Raw Materials
Payment
1.2 Receive Payment PAYMENT
Level 1 DFD
CUSTOMER
Customer Order
ORDER 1.1 Record Order
Severed Order
Sales Forecast
4. Construct Level 1 (continued) Create a level 1 decomposing the processes in level 0 and identifying data stores.
Customer Order Serve Product Collect Payment Produce Product Store Product
Example
Level 1 DFD
Product Order
ORDER 2.1 Serve Product
Quantity Severed
RAW MATERIALS
Production Schedule
2.2 Produce Product
Quantity Used
INVENTORTY
Production Data
2.3 Store Product
Example
Create a level 1 decomposing the processes in level 0 and identifying data stores.
Customer Order Serve Product Collect Payment
Order Decision
3.1 Produce Purchase Order
Level 1 DFD
PURCHASE ORDER
Received Goods
3.2 Receive Items
Payment Approval
3.3 Pay Vendor
RECEIVED ITEMS
VENDOR
Example
Create a level 1 decomposing the processes in level 0 and identifying data stores.
Customer Order Serve Product Collect Payment Produce Product Store Product
Time Worked
4.1 Record Time Worked
Level 1 DFD
TIME CARDS
Employee ID
EMPLOYEE
Payroll Request
4.2 Calculate Payroll
Payment Approval
PAYMENTS
Process Decomposition
Level 0 Context Level
1.0 Sale
Level 1
1.1 Record Order 1.2 Receive Payment
2.0 Production
3.0 Procurement
4.0 Payroll
Bus Supervisor
Helper
Labor
Labor
Mechanic
Accounting
External entities
Kitchen Restaurant Customer
Processes
Customer order Receipt Food order Management report
Item Record
NEXT L
THANKS