System and Data Modelling Tools 1
System and Data Modelling Tools 1
modelling tools
We cover the following modelling
tools:
• Context diagrams (Level 0 Data flow
diagrams)
Modelling • Data flow diagrams
tools • Structure charts
• Data dictionary
• Storyboard
• Decision trees (and decision tables)
Context diagrams represent the entire system as a single
Context process. They do not attempt to describe the processes
within the system; rather they identify the data entering
diagrams or and the information leaving the system together with its
source and its destination (sink).
Level 0 Data
The sources and sinks are called “external entities”. As is
Flow implied by the word external, these entities are present
within the system’s environment. Context diagrams are
really top-level data flow diagrams and are often known
Diagram as level 0 data flow diagrams.
Format of
a context
diagram
• Squares are used to represent each of the external entities.
• Common examples of external entities include users, other
organisations and other systems. These entities are not part of the
system being described, as they do not perform any of the system’s
processes.
• The entire system is represented using a circle, with labelled data
flow arrows used to describe the data and its direction of flow
Rules between the system and its external entities. Data flows from each
source into the system, and data (information) flows from the
system to each sink.
• Each data flow label should clearly identify the nature of the data
using simple clear words. Remember each data flow describes
data not a process, for example if a user enters a password then an
appropriate data flow label would be “User password”, not “Enter
password”.
Example
Example
• Squares are used to represent each of the external entities.
• Common examples of external entities include users, other
organisations and other systems. These entities are not part of the
system being described, as they do not perform any of the system’s
processes.
• The entire system is represented using a circle, with labelled data
flow arrows used to describe the data and its direction of flow
Rules between the system and its external entities. Data flows from each
source into the system, and data (information) flows from the
system to each sink.
• Each data flow label should clearly identify the nature of the data
using simple clear words. Remember each data flow describes
data not a process, for example if a user enters a password then an
appropriate data flow label would be “User password”, not “Enter
password”.
Data flow diagrams describe the path data takes
through a system. No attempt is made to indicate the
timing of events. Think of a DFD as a railroad map:
it shows where the train tracks are laid, but it does not
Data Flow give the timetables.
Diagrams As all processes alter data then the data leaving or output from a
DFD • External entities must be present on context diagrams (level 0 DFDs) but
are optional on lower-level DFDs.
• Data flows into and out of a data store must be connected to a process.
summary They can never directly connect to an external entity or another data
store.
• A single output data flow can be the input to multiple other processes.
• Labels for processes should include verbs that describe the action taking
place.