Professional Documents
Culture Documents
Session DFDs
Session DFDs
- Ensuring that all information presented in a DFD at one level is accurately represented
in the next-level DFD.
A process model has one and only one level 0 DFD.
Level 1 Diagrams
Each process on the level 0 DFD can be decomposed into
a more explicit DFD called level 1 diagram (or level 1
DFD).
It is important to ensure that level 0 and level 1 DFDs
are balanced.
All process models have as many level 1 diagrams as
there are processes on the level 0 diagram.
The parent process and the children processes are
numbered consistently.
Elements of DFDs
External Entities
People, organizations or systems that the system being modelled
communicates with
Rather like actors, except an external entity is not necessarily a direct
user of the system
Typically trigger processes
Bank
Elements of DFDs
Processes
Processes that transform data in some way
Named and numbered
Normally require at least one input and produce at least one output
Inputs / outputs (I/O) may flow to or from other processes, data stores or
external entities
1.0
Claim
proposal
Elements of DFDs
Data Stores
Data flows are always labelled with nouns – not verbs
Represent the places where data is stored
Typically files or database tables
In a manual system can represent physical data stores, like card indexes
or filing systems
Eligibility DB
Elements of DFDs
Data Flows
Flows of data between:
external entities and processes
processes and other processes
processes and data stores
Can be simple data elements or complex data structures
Sales plan
Data Dictionaries
DFDs are supported by data dictionary entries
Each element is defined in a data dictionary
Data elements - name and data type
Data flows - name and content
Data stores - name and data structures contained
Processes - name and specification of the process, for
example in Structured English
Creating Data Flow Diagrams
1. Identify the external and internal entities
2. Create a list of activities performed by each entity (How is the system being used?)
3. Information processing (changes in the states of information or adding value to the
information – for eg - verification)
4. Non information processing – transmission (receiving/sending of information)
5. Divide the list of activities in to logical parts
• (basis : same time-same place / performed by one role /conceptually related)
6. Construct Context Level DFD
(identifies external entities and processes)
7. Construct Level 0 DFD
(identifies manageable sub process )
8. Construct Level 1- n DFD
(identifies actual data flows and data stores )
9. Check against rules of DFD
Rules for creating the DFDs
Sales expenses
approval System
Transfer money to
emp account
Bank
Eligibility details
Account 4.0
claim
clerk payment Cliam
Cliam
payment
payment DB
DB
Questions?
1.0
verifica 1.1 1.2 1.3 1.4
tion
0.0 OD 2.0
Check 2.1 2.2 2.3 2.4 2.5 2.6
Process
appro
val
3.0
Interest 3.1
charge
Level 0 diagram