Software Engineering Report Part 6,7,8
Software Engineering Report Part 6,7,8
• EXTERNAL ENTITIES
• PROCESSES
• DATA STORES
• DATA FLOWS
DFD Components
Level 1 DFD
To develop the level 1 DFD, examine the high-level functional
requirements. If there are between 3 to 7 high-level functional
requirements, then these can be directly represented as bubbles in the
level 1 DFD.
Context Diagram
LEVEL 0
LEVEL 0
LEVEL 1
LEVEL 1
Types of DFD
Data Flow Diagrams are either Logical or Physical.
Logical DFD - This type of DFD concentrates on the system process and flow of data in
the system. For example in a Banking software system, how data is moved between
different entities.
Physical DFD - This type of DFD shows how the data flow is actually implemented in the
system. It is more specific and close to the implementation.
Types of DFD
Creating Data Flow Diagrams
Steps:
Produce Product
Store Product
INVENTORTY
Order Raw Materials Production Data
Pay for Raw Materials
2.3 Quantity Produced &
Store Location Stored
Pay for Labor Product
Creating Data Flow Diagrams
Example 4. Construct Level 1 (continued)
Create a level 1
decomposing the processes Level 1 DFD
in level 0 and identifying Order Decision
PURCHASE
data stores. 3.1 ORDER
Produce
Purchase
Customer Order Order Quantity On-Hand
Serve Product RAW
Quantity MATERIALS
Collect Payment Received Received
Goods
3.2
Produce Product Receive
Items
Store Product RECEIVED
ITEMS
Payment Approval
Order Raw Materials
VENDOR
Pay for Raw Materials 3.3
Pay
Vendor
Pay for Labor
Payment
Creating Data Flow Diagrams
Example 4. Construct Level 1 (continued)
Create a level 1
decomposing the processes Level 1 DFD
in level 0 and identifying Time Worked
Payment Approval
Order Raw Materials
4.3
Pay for Raw Materials Pay
Employe
e PAYMENTS
Pay for Labor
Payment
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 Vendor
Order
4.1 4.3
4.2
4.0 Record Pay
Calculate
Payroll Time Employe
Payroll
Worked e
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
details
Mechanic
Accounting
CSUB Burger’s Order Processing System
• External entities
• Kitchen
• Restaurant
• Customer
• Processes
• Customer order
• Receipt
• Food order
• Management report