7th Structuring System Requirements - DFD
7th Structuring System Requirements - DFD
DATA FLOW
DIAGRAMS (DFD)
OUTLINE
▪ DFD Recap
▪ Entity, Process, Data Store, Data Flow
I ENT
CI P
RE
PROCESS
▪ Represented by Circle or Rounded Rectangle
▪ For CONTEXT DIAGRAMS, this contains the SYSTEM NAME.
▪ You cannot use a combination of circle and rounded rectangle in a DFD diagram.
▪ Represent either a system, work being done or an activity
▪ As much as possible, names should be in the form Verb or Verb-Adjective-Noun
▪ The exception is a process that represents an entire system or subsystem.
Clinic Calculate
Clinic Identify
Recording Student
System Recording Item
Grade
System
DATA STORE
▪ Represented by a rectangle (open-ended or not)
▪ This is NOT included in a Context Diagram
▪ Label it with a noun, describing the data ex. Student Masterfile, Customer Info,
Grades
▪ This is a storage of data or information, whether physical or digital.
▪ Include any data stored, such as:
▪ A computer file or database.
▪ A transaction file .
▪ A set of tables in the database.
▪ A manual file of records such as folders, index cards, etc.
Queue Number
0 SECRETARY
Patient Information
Clinic
PATIENT Management
Chief Complaint
System Patient’s complaint
DOCTOR
Prescription
Patient findings
Patient Prescription
DEVELOPING DFD AND
EXPLODING LEVELS
▪ Steps in developing data flow diagrams
1 2
Consult
Queue
Queued
Patient
Patient
DEVELOPING DFD AND
EXPLODING LEVELS
▪ You have to review your list and analyze what Data does an Entity
give to the Process.
n
??????
PATIENT ???
DEVELOPING DFD AND
EXPLODING LEVELS
▪ You have to review your list and analyze what happens to an input
Data Flow from an Entity.
Wh
at h
This inp app
is an ut d ens
inpu ata on
t da flo the
ta f l w?
ow
n
?????? ??????
DOCTOR
PATIENT ???
DEVELOPING DFD AND
EXPLODING LEVELS
▪ You have to review your list and analyze what Data is stored to the
Data Store.
n
??????
???
???
DEVELOPING DFD AND
EXPLODING LEVELS
▪ You have to analyze and investigate unclear areas.
Are
th
unc ere
are lear
as?
??
1 2
??????
??? ??? ???
DFD Level 0
DFD LEVEL 0
▪ Example of DFD Level 0
in a simple
Food Ordering System
DFD LEVEL 0
▪ Remember that your DFD Levels depends on the
complexity of your system and requirements of your case,
business or clients.
▪ Always analyze the DATA.
DFD EXAMPLES – CONTEXT
DIAGRAM
DFD EXAMPLES – DFD LEVEL 0
DFD EXAMPLES – DFD LEVEL 1
DFD EXAMPLES – DFD LEVEL 2