Data Flow Diagrams
Data Flow Diagrams
A data flow diagram (DFD) is one that demonstrates how data is processed by a system in terms
of inputs and outputs. As its name indicates its focus is on the flow of information; where data
comes from, where it goes and how it gets stored.
Example
Imagine you work in a small stock control environment where goods are bought and sold
There are two job descriptions in our imaginary system: stock clerks and cashiers
An analyst has observed you and come up with the following diagram…
The DFD is a diagram that consists principally of four symbols, namely the entity, the process,
the data store and data flow. Please see table below with diagrams.
An entity.
A source
of data or
a
destination
for data.
A process
or task that
is
performed
by the
system.
A data
store, a
place
where data
is held
between
processes.
A data
flow.
Data Flow Diagrams
A context level DFD is the most basic form of DFD. It aims to show how the entire system
works at a glance. There is only one process in the system and all the data flows either into or out
of this process. Context level DFD’s demonstrates the interactions between the process and
external entities. They do not contain Data Stores.
When drawing Context Level DFD’s, we must first identify the process, all the external entities
and all the data flows. We must also state any assumptions we make about the system. It is
advised that we draw the process in the middle of the page. We then draw our external entities in
the corners and finally connect our entities to our process with the data flows.
Level 1 DFD’s
Level 1 DFD’s aim to give an overview of the full system. They look at the system in more
detail. Major processes are broken down into sub-processes. Level 1 DFD’s also identifies data
stores that are used by the major processes.
When constructing a Level 1 DFD, we must start by examining the Context Level DFD. We
must break up the single process into its sub-processes. We must then pick out the data stores
from the text we are given and include them in our DFD. Like the Context Level DFD’s, all
entities, data stores and processes must be labelled. We must also state any assumptions made
from the text.