SlideShare a Scribd company logo
Page 1Data Flow Diagramming
Data Flow Diagram
(DFD)
Review
Learning Objective
This collection of slides will review the
technique of drawing data flow diagrams.
Page 2Data Flow Diagramming
What is a Data Flow Diagram?
• A data flow diagram (DFD) is a graphical
tool that allows system analysts (and system
users) to depict the flow of data in an
information system.
• The DFD is one of the methods that system
analysts use to collect information
necessary to determine information system
requirements.
Page 3Data Flow Diagramming
What is a Data Flow Diagram?
• A Data Flow Diagram is intended to serve
as a communication tool among
– systems analysts
– end users
– data base designers
– system programmers
– other members of the project team
Page 4Data Flow Diagramming
What does a DFD look like?
Page 5Data Flow Diagramming
Why Draw Data Flow Diagrams?
• To clearly and concisely communicate the
flow of data through a system.
• Why use a DFD and not just text?
– “Since we previously had no way of showing a tangible
model, we have had to build the next best thing, which is to
use English narrative to describe the proposed system. Can
you imagine spending five years’ salary on a custom built
house on the basis of an exhaustive narrative description of
how the house will be built? ... If you use English to describe
a complex system... the result takes up so much space that
it’s hard for the reader to grasp how the parts fit together
(Gane and Sarson, Structured System Analysis, 1974)
• DFD’s are easier to understand than text.
Page 6Data Flow Diagramming
DFD Symbols and Definitions
Data flow
External
Entity
Data store
Process
• Process - performs some action on data,
such as creates, modifies, stores, delete,
etc. Can be manual or supported by
computer.
• Data store - information that is kept and
accessed. May be in paper file folder or
a database.
• External entity - is the origin or
destination of data. Entities are external
to the system.
• Data flow - the flow of data into or out
of a process, datastore or entity
Page 7Data Flow Diagramming
Rules for Drawing DFD’s
A minimum of one data flow
in and one data flow out of
a process
A datastore must be
connected to a process
(either in, out, or both)
An external entity must
be connected to a process
(either in, out, or both)
A single data flow must
only flow one way
Page 8Data Flow Diagramming
DFD: Common Mistakes
• Process has no data flowing into
it, but has data flowing out.
• Data store is hooked to external
entity. This means external entity
can read and write to your data
file without auditing!!
• The data flow goes in two
directions at once. Two or more
arrows should be used to show
the flow to and from each
process.
Page 9Data Flow Diagramming
DFD Example 1
• The Broadway Entertainment Company
– An important first step to consider is to look at the key
processes under study. These can be itemized into a
hierarchical series, where the highest level (level 0)
describes a general department, or business unit, to the
lowest level. The lowest level is a point where you cannot
break a process into any more divisible components.
These are referred to as functional primitives.
Page 10Data Flow Diagramming
DFD: Adding Levels of Detail
• The highest level, called the context diagram, is only
an overview. More detail is typically needed for
system analysts.
• We add detail to a DFD by creating “levels”. The first
level added after the context diagram is called level
“0”.
• Each new level breaks apart one process and
“decomposes” the single process into a new, more
detailed DFD. A complete DFD can have many (up to
6 or 7) levels depending on the complexity of system.
• Breaking the DFD into levels is referred to as
“Decomposition”.
Page 11Data Flow Diagramming
DFD: Numbering Levels
• In a DFD with many levels it’s easy to forget
which level you are on. That’s why each level has
different numbering for the processes on the
diagram. The ‘level’ corresponds to the number of
decimal places required to define a process in it.
Here’s how it works:
– Context Diagram Process labeled “0”
– Level 0 Processes labeled 1.0, 2.0, 3.0, .
– Level 1 Processes labeled 1.1, 1.2, 1.3, .
– Level 2 Processes labeled 1.11, 1.12,...
Page 12Data Flow Diagramming
Top (0) Process Level
B r o a d w a y E n t e r t a in m e n t S y s t e m
M e m b e r s h ip
1
R e n t a l
2
S a le s
3
I n v e n t o r y
4
E m p lo y e e
5
I n - S t o r e S y s t e m
0
Page 13Data Flow Diagramming
Level 1: Membership
E n r o l
1 . 1
I s s u e N e w C a r d
1 . 2
R e in s t a t e
1 . 3
T r a n s ie n t
1 . 4
M e m b e r s h ip
1
Page 14Data Flow Diagramming
Level 1: Rental
(note this is the primitive level for this series of processes)
R e n t
2 . 1
R e t u r n
2 . 2
R e p o r t s
2 . 3
R e n t a l
2
Page 15Data Flow Diagramming
Level 1: Sales
P r o c e s s S a le s
3 . 1
P r o c e s s R e t u r n s
3 . 2
S a le s
3
Page 16Data Flow Diagramming
Level 1: Inventory
O r d e r
4 . 1
R e c e ip t
4 . 2
R e je c t
4 . 3
T r a n s fe r
4 . 4
I n v e n t o r y
4
Page 17Data Flow Diagramming
Level 1: Employee
T im e R e p o r t in g
5 . 1
A d d / D e le t e
5 . 2
E m p lo y e e
5
Page 18Data Flow Diagramming
Level 2: Membership
I n p u t M e m b e r D a t a
1 . 1 . 1
A s s ig n M e m b e r N u m b e r
1 . 1 . 2
U p d a t e M e m b e r F ile
1 . 1 . 3
E n r o l
1 . 1
I n p u t M e m b e r N u m b e r
1 . 2 . 1
P r in t C a r d
1 . 2 . 2
I s s u e N e w C a r d
1 . 2
I n p u t M e m b e r N u m b e r
1 . 3 . 1
U p d a t e M e m b e r F ile
1 . 3 . 2
R e in s t a t e
1 . 3
I n p u t M e m b e r N u m b e r
1 . 4 . 1
U p d a t e T r a n s ie n t R e n t a l F ile
1 . 4 . 2
T r a n s ie n t
1 . 4
M e m b e r s h ip
1
Page 19Data Flow Diagramming
Level 2: Sales
I n p u t M e m b e r N u m b e r
3 . 1 . 1
I n p u t I t e m D a t a
3 . 1 . 2
U p d a t e S a le s F ile
3 . 1 . 3
P r in t R e c e ip t
3 . 1 . 4
P r o c e s s S a le s
3 . 1
I n p u t I t e m D a t a
3 . 2 . 1
U p d a t e S a le s F ile
3 . 2 . 2
P r in t R e c e ip t
3 . 2 . 3
P r o c e s s R e t u r n s
3 . 2
S a le s
3
Page 20Data Flow Diagramming
Level 2: Inventory
I s s u e P u r c h a s e O r d e r
4 . 1 . 1
4 . 1 . 2
O r d e r
4 . 1
I n p u t I t e m D a t a
4 . 2 . 1
U p d a t e I n v e n t o r y F ile
4 . 2 . 2
U p d a t e R e c e ip t s F ile
4 . 2 . 3
R e c e ip t
4 . 2
I n p u t O r d e r I t e m
4 . 3 . 1
U p d a t e R e je c t io n R e p o r t F ile
4 . 3 . 2
R e je c t
4 . 3
I n p u t I t e m N u m b e r
4 . 4 . 1
U p d a t e I n v e n t o r y F ile s
4 . 4 . 2
T r a n s fe r
4 . 4
I n v e n t o r y
4
Page 21Data Flow Diagramming
Level 2: Employee
I n p u t E m p lo y e e N u m b e r
5 . 1 . 1
I n p u t T im e S h e e t D a t a
5 . 1 . 2
T im e R e p o r t in g
5 . 1
I n p u t E m p lo y e e D a t a
5 . 2 . 2
A s s ig n E m p lo y e e N u m b e r
5 . 2 . 3
U p d a t e E m p lo y e e F ile
5 . 2 . 4
A d d
5 . 2 . 1
I n p u t E m p lo y e e N u m b e r
5 . 3 . 1
U p d a t e E m p lo y e e F ile
5 . 3 . 2
D e le t e
5 . 3
A d d / D e le t e
5 . 2
E m p lo y e e
5
Page 22Data Flow Diagramming
DFD Levels: Context Diagram
• First we can start to draw a general
overview. This general overview is called a
“Context Diagram”.
• A Context Diagram shows three things:
– all external entities
– a single process labeled “0”that represents the
entire system (food ordering system)
– the major information flows between the
external entities and the system.
Page 23Data Flow Diagramming
DFD Levels: Context Diagram
• It would be impossible to understand all of
the data flows, and to identify all of the
‘external entities’ relating to our
information system in one pass, so we tend
to draw DFD’s incrementally.
Page 24Data Flow Diagramming
Building a DFD
• We tend to start at the context level, break
processes down to Level 0, and then start to
consider where data enters and exits our
information system, where it is stored, and
how a process converts it from one form to
another. We are interested here in the
movement of data and its conversion.
Page 25Data Flow Diagramming
Building a DFD
• Note that a DFD is NOT time-sensitive, and
that it is NOT a flowchart. It simply shows
how and where data itself progresses
through our system.
• There are other ways to add information to
a chart, such as what departments are
responsible for certain activities, or which is
batch, realtime, etc.
Page 26Data Flow Diagramming
DFD: Logical vs Physical
• Note that the Context Diagram did NOT
record the movement of merchandise, but
rather the information flow surrounding the
underlying business processes.
– A DFD that shows the movement of
information is called a “logical” DFD.
– A DFD that shows the movement of physical
stuff (such as merchandise) is called a
“physical” DFD.
• The logical DFD is by far the most common
type of DFD and therefore we will focus on
this in this class.
Page 27Data Flow Diagramming
DFD for Broadway
• Corresponding to the Process Structure
Charts previously outlined, Broadway’s
DFD can be drawn as per the following
charts:
Page 28Data Flow Diagramming
Context Level
(note there are no storage elements at this level)
Page 29Data Flow Diagramming
Level 0
Page 30Data Flow Diagramming
DFD: Some Final Notes
• How many processes on a diagram?
– rule of thumb is to have 5 - 7 processes, if you
need more, create a new level.
• Are there conventions for naming objects?
– process names are verb phrases
– all others are noun phrases
• How many levels should you go?
– Only as many as you need to communicate
adequately. The key is efficient communication.
Page 31Data Flow Diagramming
What have we learned?
• What is a DFD and Why do we use DFD’s?
• What are the rules for drawing DFD?
• What is a Context Diagram?
• What is the difference between logical and
physical DFD?
• What is a Level 0 DFD?
• What is balancing and decomposition?
Page 32Data Flow Diagramming
Epilogue
• The Broadway Entertainment Company
DFD was created with the IBM Case tool –
Rationale Rose

More Related Content

What's hot

Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
Puneet Arora
 
Ch05
Ch05Ch05
Ch05
Kodok Ngorex
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
Upendra Sengar
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
Shreya Chatterjee
 
Introduction to Data Flow Diagram (DFD)
Introduction to Data Flow Diagram (DFD)Introduction to Data Flow Diagram (DFD)
Introduction to Data Flow Diagram (DFD)
Gurpreet singh
 
Dfd examples
Dfd examplesDfd examples
Dfd examples
patel chirantan
 
DFD
DFDDFD
DFD Slides
DFD SlidesDFD Slides
DFD Slides
Alfred Septio
 
Dfd final
Dfd finalDfd final
Dfd final
Mukund Trivedi
 
DFD and Class diagram
DFD and Class diagramDFD and Class diagram
DFD and Class diagram
Rao Faizan
 
Data flow diagrams
Data flow diagramsData flow diagrams
Data flow diagrams
shhajira
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
nethisip13
 
Data flow diagrams - DFD
Data flow diagrams - DFDData flow diagrams - DFD
Data flow diagrams - DFD
mbedlabs Technosolutions
 
Data Flow Diagrams
Data Flow DiagramsData Flow Diagrams
Data Flow Diagrams
Reetesh Gupta
 
Dfd mechanics
Dfd mechanicsDfd mechanics
Dfd mechanics
rishisinghgaur
 
Dfd over flowcharts
Dfd over flowcharts Dfd over flowcharts
Dfd over flowcharts
Ashwathy Nair
 
DFD (DATA FLOW DIAGRAM)
DFD (DATA FLOW DIAGRAM) DFD (DATA FLOW DIAGRAM)
DFD (DATA FLOW DIAGRAM)
Gagandeep Nanda
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
Jyaasa Technologies
 
Understanding Data Flow Diagram
Understanding Data Flow DiagramUnderstanding Data Flow Diagram
Understanding Data Flow Diagram
Ankur Biswas
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
Mukesh Mahto
 

What's hot (20)

Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
 
Ch05
Ch05Ch05
Ch05
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
 
Introduction to Data Flow Diagram (DFD)
Introduction to Data Flow Diagram (DFD)Introduction to Data Flow Diagram (DFD)
Introduction to Data Flow Diagram (DFD)
 
Dfd examples
Dfd examplesDfd examples
Dfd examples
 
DFD
DFDDFD
DFD
 
DFD Slides
DFD SlidesDFD Slides
DFD Slides
 
Dfd final
Dfd finalDfd final
Dfd final
 
DFD and Class diagram
DFD and Class diagramDFD and Class diagram
DFD and Class diagram
 
Data flow diagrams
Data flow diagramsData flow diagrams
Data flow diagrams
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
 
Data flow diagrams - DFD
Data flow diagrams - DFDData flow diagrams - DFD
Data flow diagrams - DFD
 
Data Flow Diagrams
Data Flow DiagramsData Flow Diagrams
Data Flow Diagrams
 
Dfd mechanics
Dfd mechanicsDfd mechanics
Dfd mechanics
 
Dfd over flowcharts
Dfd over flowcharts Dfd over flowcharts
Dfd over flowcharts
 
DFD (DATA FLOW DIAGRAM)
DFD (DATA FLOW DIAGRAM) DFD (DATA FLOW DIAGRAM)
DFD (DATA FLOW DIAGRAM)
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
 
Understanding Data Flow Diagram
Understanding Data Flow DiagramUnderstanding Data Flow Diagram
Understanding Data Flow Diagram
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
 

Similar to Sad 07 drawing dfd supp

Data Flow Diagram (DFD)
Data Flow Diagram (DFD)Data Flow Diagram (DFD)
Data Flow Diagram (DFD)
Ansh Kashyap
 
DFD.pptx
DFD.pptxDFD.pptx
DFD.pptx
sumitbppimt9523
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
Fizza Khan
 
DFDs_and_Algorithms.pptx
DFDs_and_Algorithms.pptxDFDs_and_Algorithms.pptx
DFDs_and_Algorithms.pptx
AliyahAli19
 
Data Flow Diagram.pptx
Data Flow Diagram.pptxData Flow Diagram.pptx
Data Flow Diagram.pptx
ubaidullah75790
 
Creative Team.pdf
Creative Team.pdfCreative Team.pdf
Creative Team.pdf
sumitbppimt9523
 
Dfd2
Dfd2Dfd2
DFD.pptx
DFD.pptxDFD.pptx
DFD.pptx
SHAHZAIBABBAS13
 
Unit-2-SE-Part-2.pptx
Unit-2-SE-Part-2.pptxUnit-2-SE-Part-2.pptx
Unit-2-SE-Part-2.pptx
RaghavGaming2
 
Design Flow Diagram for Information System
Design Flow Diagram for Information SystemDesign Flow Diagram for Information System
Design Flow Diagram for Information System
arifasyrafcp13
 
Data Flow Diagram or DFD
Data Flow Diagram  or DFDData Flow Diagram  or DFD
Data Flow Diagram or DFD
Mubassira Mahmuda Supty
 
DFD.ppt
DFD.pptDFD.ppt
DFD.ppt
sarahabbas40
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram
Nidhi Sharma
 
DFD_Context-_zero-level.ppt
DFD_Context-_zero-level.pptDFD_Context-_zero-level.ppt
DFD_Context-_zero-level.ppt
FarHana74914
 
DFD Week 08.pptx
DFD Week 08.pptxDFD Week 08.pptx
DFD Week 08.pptx
Vinc2ntCabrera
 
Process modeling
Process modelingProcess modeling
Process modeling
DEBENDRA ADHIKARI
 
Qcl 14-v3 flowchart-banasthaliuniversity_pooja kumari
Qcl 14-v3 flowchart-banasthaliuniversity_pooja kumariQcl 14-v3 flowchart-banasthaliuniversity_pooja kumari
Qcl 14-v3 flowchart-banasthaliuniversity_pooja kumari
cutipooja
 
Refer to the following figure which contains drafts of a context and l.docx
Refer to the following figure which contains drafts of a context and l.docxRefer to the following figure which contains drafts of a context and l.docx
Refer to the following figure which contains drafts of a context and l.docx
lmarie40
 
Df dtutorial
Df dtutorialDf dtutorial
Df dtutorial
Rex Mwamba
 
Df dtutorial
Df dtutorialDf dtutorial
Df dtutorial
Alex Ali
 

Similar to Sad 07 drawing dfd supp (20)

Data Flow Diagram (DFD)
Data Flow Diagram (DFD)Data Flow Diagram (DFD)
Data Flow Diagram (DFD)
 
DFD.pptx
DFD.pptxDFD.pptx
DFD.pptx
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
 
DFDs_and_Algorithms.pptx
DFDs_and_Algorithms.pptxDFDs_and_Algorithms.pptx
DFDs_and_Algorithms.pptx
 
Data Flow Diagram.pptx
Data Flow Diagram.pptxData Flow Diagram.pptx
Data Flow Diagram.pptx
 
Creative Team.pdf
Creative Team.pdfCreative Team.pdf
Creative Team.pdf
 
Dfd2
Dfd2Dfd2
Dfd2
 
DFD.pptx
DFD.pptxDFD.pptx
DFD.pptx
 
Unit-2-SE-Part-2.pptx
Unit-2-SE-Part-2.pptxUnit-2-SE-Part-2.pptx
Unit-2-SE-Part-2.pptx
 
Design Flow Diagram for Information System
Design Flow Diagram for Information SystemDesign Flow Diagram for Information System
Design Flow Diagram for Information System
 
Data Flow Diagram or DFD
Data Flow Diagram  or DFDData Flow Diagram  or DFD
Data Flow Diagram or DFD
 
DFD.ppt
DFD.pptDFD.ppt
DFD.ppt
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram
 
DFD_Context-_zero-level.ppt
DFD_Context-_zero-level.pptDFD_Context-_zero-level.ppt
DFD_Context-_zero-level.ppt
 
DFD Week 08.pptx
DFD Week 08.pptxDFD Week 08.pptx
DFD Week 08.pptx
 
Process modeling
Process modelingProcess modeling
Process modeling
 
Qcl 14-v3 flowchart-banasthaliuniversity_pooja kumari
Qcl 14-v3 flowchart-banasthaliuniversity_pooja kumariQcl 14-v3 flowchart-banasthaliuniversity_pooja kumari
Qcl 14-v3 flowchart-banasthaliuniversity_pooja kumari
 
Refer to the following figure which contains drafts of a context and l.docx
Refer to the following figure which contains drafts of a context and l.docxRefer to the following figure which contains drafts of a context and l.docx
Refer to the following figure which contains drafts of a context and l.docx
 
Df dtutorial
Df dtutorialDf dtutorial
Df dtutorial
 
Df dtutorial
Df dtutorialDf dtutorial
Df dtutorial
 

More from mentorrbuddy

Understanding C# in .NET
Understanding C# in .NETUnderstanding C# in .NET
Understanding C# in .NET
mentorrbuddy
 
Introduction to software project management for windows
Introduction to software project management for windowsIntroduction to software project management for windows
Introduction to software project management for windows
mentorrbuddy
 
Chap14 ado.net
Chap14 ado.netChap14 ado.net
Chap14 ado.net
mentorrbuddy
 
Chapter1 introduction to asp.net
Chapter1  introduction to asp.netChapter1  introduction to asp.net
Chapter1 introduction to asp.net
mentorrbuddy
 
Creating web form
Creating web formCreating web form
Creating web form
mentorrbuddy
 
Graphical user interface of web form
Graphical user interface of web formGraphical user interface of web form
Graphical user interface of web form
mentorrbuddy
 
Er
ErEr
Project scope
Project scopeProject scope
Project scope
mentorrbuddy
 
Introduction to software project management (1)
Introduction to software project management (1)Introduction to software project management (1)
Introduction to software project management (1)
mentorrbuddy
 
Creating web form
Creating web formCreating web form
Creating web form
mentorrbuddy
 

More from mentorrbuddy (10)

Understanding C# in .NET
Understanding C# in .NETUnderstanding C# in .NET
Understanding C# in .NET
 
Introduction to software project management for windows
Introduction to software project management for windowsIntroduction to software project management for windows
Introduction to software project management for windows
 
Chap14 ado.net
Chap14 ado.netChap14 ado.net
Chap14 ado.net
 
Chapter1 introduction to asp.net
Chapter1  introduction to asp.netChapter1  introduction to asp.net
Chapter1 introduction to asp.net
 
Creating web form
Creating web formCreating web form
Creating web form
 
Graphical user interface of web form
Graphical user interface of web formGraphical user interface of web form
Graphical user interface of web form
 
Er
ErEr
Er
 
Project scope
Project scopeProject scope
Project scope
 
Introduction to software project management (1)
Introduction to software project management (1)Introduction to software project management (1)
Introduction to software project management (1)
 
Creating web form
Creating web formCreating web form
Creating web form
 

Recently uploaded

How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
Rakesh Kumar R
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
pavan998932
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 
SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024
Hironori Washizaki
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni GarcĂ­a
 
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
kalichargn70th171
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 

Recently uploaded (20)

How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
What is Augmented Reality Image Tracking
What is Augmented Reality Image TrackingWhat is Augmented Reality Image Tracking
What is Augmented Reality Image Tracking
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 
SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 

Sad 07 drawing dfd supp

  • 1. Page 1Data Flow Diagramming Data Flow Diagram (DFD) Review Learning Objective This collection of slides will review the technique of drawing data flow diagrams.
  • 2. Page 2Data Flow Diagramming What is a Data Flow Diagram? • A data flow diagram (DFD) is a graphical tool that allows system analysts (and system users) to depict the flow of data in an information system. • The DFD is one of the methods that system analysts use to collect information necessary to determine information system requirements.
  • 3. Page 3Data Flow Diagramming What is a Data Flow Diagram? • A Data Flow Diagram is intended to serve as a communication tool among – systems analysts – end users – data base designers – system programmers – other members of the project team
  • 4. Page 4Data Flow Diagramming What does a DFD look like?
  • 5. Page 5Data Flow Diagramming Why Draw Data Flow Diagrams? • To clearly and concisely communicate the flow of data through a system. • Why use a DFD and not just text? – “Since we previously had no way of showing a tangible model, we have had to build the next best thing, which is to use English narrative to describe the proposed system. Can you imagine spending five years’ salary on a custom built house on the basis of an exhaustive narrative description of how the house will be built? ... If you use English to describe a complex system... the result takes up so much space that it’s hard for the reader to grasp how the parts fit together (Gane and Sarson, Structured System Analysis, 1974) • DFD’s are easier to understand than text.
  • 6. Page 6Data Flow Diagramming DFD Symbols and Definitions Data flow External Entity Data store Process • Process - performs some action on data, such as creates, modifies, stores, delete, etc. Can be manual or supported by computer. • Data store - information that is kept and accessed. May be in paper file folder or a database. • External entity - is the origin or destination of data. Entities are external to the system. • Data flow - the flow of data into or out of a process, datastore or entity
  • 7. Page 7Data Flow Diagramming Rules for Drawing DFD’s A minimum of one data flow in and one data flow out of a process A datastore must be connected to a process (either in, out, or both) An external entity must be connected to a process (either in, out, or both) A single data flow must only flow one way
  • 8. Page 8Data Flow Diagramming DFD: Common Mistakes • Process has no data flowing into it, but has data flowing out. • Data store is hooked to external entity. This means external entity can read and write to your data file without auditing!! • The data flow goes in two directions at once. Two or more arrows should be used to show the flow to and from each process.
  • 9. Page 9Data Flow Diagramming DFD Example 1 • The Broadway Entertainment Company – An important first step to consider is to look at the key processes under study. These can be itemized into a hierarchical series, where the highest level (level 0) describes a general department, or business unit, to the lowest level. The lowest level is a point where you cannot break a process into any more divisible components. These are referred to as functional primitives.
  • 10. Page 10Data Flow Diagramming DFD: Adding Levels of Detail • The highest level, called the context diagram, is only an overview. More detail is typically needed for system analysts. • We add detail to a DFD by creating “levels”. The first level added after the context diagram is called level “0”. • Each new level breaks apart one process and “decomposes” the single process into a new, more detailed DFD. A complete DFD can have many (up to 6 or 7) levels depending on the complexity of system. • Breaking the DFD into levels is referred to as “Decomposition”.
  • 11. Page 11Data Flow Diagramming DFD: Numbering Levels • In a DFD with many levels it’s easy to forget which level you are on. That’s why each level has different numbering for the processes on the diagram. The ‘level’ corresponds to the number of decimal places required to define a process in it. Here’s how it works: – Context Diagram Process labeled “0” – Level 0 Processes labeled 1.0, 2.0, 3.0, . – Level 1 Processes labeled 1.1, 1.2, 1.3, . – Level 2 Processes labeled 1.11, 1.12,...
  • 12. Page 12Data Flow Diagramming Top (0) Process Level B r o a d w a y E n t e r t a in m e n t S y s t e m M e m b e r s h ip 1 R e n t a l 2 S a le s 3 I n v e n t o r y 4 E m p lo y e e 5 I n - S t o r e S y s t e m 0
  • 13. Page 13Data Flow Diagramming Level 1: Membership E n r o l 1 . 1 I s s u e N e w C a r d 1 . 2 R e in s t a t e 1 . 3 T r a n s ie n t 1 . 4 M e m b e r s h ip 1
  • 14. Page 14Data Flow Diagramming Level 1: Rental (note this is the primitive level for this series of processes) R e n t 2 . 1 R e t u r n 2 . 2 R e p o r t s 2 . 3 R e n t a l 2
  • 15. Page 15Data Flow Diagramming Level 1: Sales P r o c e s s S a le s 3 . 1 P r o c e s s R e t u r n s 3 . 2 S a le s 3
  • 16. Page 16Data Flow Diagramming Level 1: Inventory O r d e r 4 . 1 R e c e ip t 4 . 2 R e je c t 4 . 3 T r a n s fe r 4 . 4 I n v e n t o r y 4
  • 17. Page 17Data Flow Diagramming Level 1: Employee T im e R e p o r t in g 5 . 1 A d d / D e le t e 5 . 2 E m p lo y e e 5
  • 18. Page 18Data Flow Diagramming Level 2: Membership I n p u t M e m b e r D a t a 1 . 1 . 1 A s s ig n M e m b e r N u m b e r 1 . 1 . 2 U p d a t e M e m b e r F ile 1 . 1 . 3 E n r o l 1 . 1 I n p u t M e m b e r N u m b e r 1 . 2 . 1 P r in t C a r d 1 . 2 . 2 I s s u e N e w C a r d 1 . 2 I n p u t M e m b e r N u m b e r 1 . 3 . 1 U p d a t e M e m b e r F ile 1 . 3 . 2 R e in s t a t e 1 . 3 I n p u t M e m b e r N u m b e r 1 . 4 . 1 U p d a t e T r a n s ie n t R e n t a l F ile 1 . 4 . 2 T r a n s ie n t 1 . 4 M e m b e r s h ip 1
  • 19. Page 19Data Flow Diagramming Level 2: Sales I n p u t M e m b e r N u m b e r 3 . 1 . 1 I n p u t I t e m D a t a 3 . 1 . 2 U p d a t e S a le s F ile 3 . 1 . 3 P r in t R e c e ip t 3 . 1 . 4 P r o c e s s S a le s 3 . 1 I n p u t I t e m D a t a 3 . 2 . 1 U p d a t e S a le s F ile 3 . 2 . 2 P r in t R e c e ip t 3 . 2 . 3 P r o c e s s R e t u r n s 3 . 2 S a le s 3
  • 20. Page 20Data Flow Diagramming Level 2: Inventory I s s u e P u r c h a s e O r d e r 4 . 1 . 1 4 . 1 . 2 O r d e r 4 . 1 I n p u t I t e m D a t a 4 . 2 . 1 U p d a t e I n v e n t o r y F ile 4 . 2 . 2 U p d a t e R e c e ip t s F ile 4 . 2 . 3 R e c e ip t 4 . 2 I n p u t O r d e r I t e m 4 . 3 . 1 U p d a t e R e je c t io n R e p o r t F ile 4 . 3 . 2 R e je c t 4 . 3 I n p u t I t e m N u m b e r 4 . 4 . 1 U p d a t e I n v e n t o r y F ile s 4 . 4 . 2 T r a n s fe r 4 . 4 I n v e n t o r y 4
  • 21. Page 21Data Flow Diagramming Level 2: Employee I n p u t E m p lo y e e N u m b e r 5 . 1 . 1 I n p u t T im e S h e e t D a t a 5 . 1 . 2 T im e R e p o r t in g 5 . 1 I n p u t E m p lo y e e D a t a 5 . 2 . 2 A s s ig n E m p lo y e e N u m b e r 5 . 2 . 3 U p d a t e E m p lo y e e F ile 5 . 2 . 4 A d d 5 . 2 . 1 I n p u t E m p lo y e e N u m b e r 5 . 3 . 1 U p d a t e E m p lo y e e F ile 5 . 3 . 2 D e le t e 5 . 3 A d d / D e le t e 5 . 2 E m p lo y e e 5
  • 22. Page 22Data Flow Diagramming DFD Levels: Context Diagram • First we can start to draw a general overview. This general overview is called a “Context Diagram”. • A Context Diagram shows three things: – all external entities – a single process labeled “0”that represents the entire system (food ordering system) – the major information flows between the external entities and the system.
  • 23. Page 23Data Flow Diagramming DFD Levels: Context Diagram • It would be impossible to understand all of the data flows, and to identify all of the ‘external entities’ relating to our information system in one pass, so we tend to draw DFD’s incrementally.
  • 24. Page 24Data Flow Diagramming Building a DFD • We tend to start at the context level, break processes down to Level 0, and then start to consider where data enters and exits our information system, where it is stored, and how a process converts it from one form to another. We are interested here in the movement of data and its conversion.
  • 25. Page 25Data Flow Diagramming Building a DFD • Note that a DFD is NOT time-sensitive, and that it is NOT a flowchart. It simply shows how and where data itself progresses through our system. • There are other ways to add information to a chart, such as what departments are responsible for certain activities, or which is batch, realtime, etc.
  • 26. Page 26Data Flow Diagramming DFD: Logical vs Physical • Note that the Context Diagram did NOT record the movement of merchandise, but rather the information flow surrounding the underlying business processes. – A DFD that shows the movement of information is called a “logical” DFD. – A DFD that shows the movement of physical stuff (such as merchandise) is called a “physical” DFD. • The logical DFD is by far the most common type of DFD and therefore we will focus on this in this class.
  • 27. Page 27Data Flow Diagramming DFD for Broadway • Corresponding to the Process Structure Charts previously outlined, Broadway’s DFD can be drawn as per the following charts:
  • 28. Page 28Data Flow Diagramming Context Level (note there are no storage elements at this level)
  • 29. Page 29Data Flow Diagramming Level 0
  • 30. Page 30Data Flow Diagramming DFD: Some Final Notes • How many processes on a diagram? – rule of thumb is to have 5 - 7 processes, if you need more, create a new level. • Are there conventions for naming objects? – process names are verb phrases – all others are noun phrases • How many levels should you go? – Only as many as you need to communicate adequately. The key is efficient communication.
  • 31. Page 31Data Flow Diagramming What have we learned? • What is a DFD and Why do we use DFD’s? • What are the rules for drawing DFD? • What is a Context Diagram? • What is the difference between logical and physical DFD? • What is a Level 0 DFD? • What is balancing and decomposition?
  • 32. Page 32Data Flow Diagramming Epilogue • The Broadway Entertainment Company DFD was created with the IBM Case tool – Rationale Rose