Download Data flow diagream (PRACTIICALS) and more Lecture notes Software Engineering in PDF only on Docsity!
Data Flow Diagram
Identifying Data Flows
During the analysis stage of a project it is important
to find out how data flows through a system:
- Where does the data originate
- What processing is performed on it and by whom
- Who uses the data
- What data is stored and where
- What output is produced and who receives it
PROCESS
DATA FLOW
E.g. Result of a query to a database,
contents of a printed report : data
that moves together to common
destinations
Actions performed on data so that
they are transformed, stored or
distributed. This can be a
computerised or manual
transformation
SYMBOLS USED IN A DFD
DATA STORE
A physical location to hold data e.g.
a file folder or notebook etc.
SOURCE/SINK
Origin and/or destination of the
data. Often referred to as external
entities as they are outside the
system. We are only interested in
how data flows in to or from the
system to them.
SYMBOLS USED IN A DFD
Main steps when constructing a Level 0 Diagram :
± Identify where data is captured from
± Identify where data is distributed to
± Describe the overall process
± Map these out in a diagram using the correct
symbols
± Link them with data flows that are labelled
Context or Level 0 Diagram
The highest level view of a system. This only
has one process which represents the overall
function of the system and has no data stores
as all the data is stored within the process.
7 Raheela Nasim
Constructing a Level 1 diagram
± Identify and draw the processes that make up
the Level 0 process
± Allocate descriptions to these
± Lay out the sources/sinks and data flows
from the Level 0 diagram
± Draw in any data stores used in the process
± Link the new processes and data stores with
named data links
Food ordering system
CUSTOMER KITCHEN
RESTAURANT
MANAGER
Food Order
Management Reports
Customer Order
Receipt
Level 0 Context diagram
Food ordering system
CUSTOMER KITCHEN
RESTAURANT
MANAGER
Food Order
Management Reports
Customer Order
Receipt
Level 0 Context diagram
Does this show enough detail?
In this example, having
constructed our Level 1 diagram
it is decided there is no need to
further breakdown the data flow
processes within this organisation.
Our data flow diagram is
therefore complete.
Do’s and Don’ts when constructing a
Data Flow Diagram
Do’s and Don’ts when constructing a
Data Flow Diagram
Context Level Diagram of Salary
management system
Figure 3 of Salary management system
DFD Example: Bus Garage Repairs
Buses come to a garage for repairs. A mechanic and helper
perform the repair, record the reason for the repair and
record the total cost of all parts used on a Shop Repair Order.
Information on labor, parts and repair outcome is used for
billing by the Accounting Department, parts monitoring by
the inventory management computer system and a
performance review by the supervisor.