DFD Tutorial Slides
DFD Tutorial Slides
DFD Tutorial Slides
(DFD)
DATA FLOW DIAGRAM
Source: slideshare
Processes
● Work or actions performed on data
● Straight line with incoming arrows are input data flows
● Straight lines with outgoing arrows are output data flows
● Labels are assigned to Data flow.
Source: slideshare
Contd..
Grade Report
Produce Grade Report
Grade Detail
Source:slideshare
Contd..
● Can have more than one outgoing data flow or more
than one incoming data flow.
Source:slideshare
Contd..
Can connect to any other symbol (including another
process symbol)
Source:slideshare
Data Stores
● A Data Store is a repository of data
● Data can be written into the data store. An incoming
arrow represents writing data
● Data can be read from a data store. An outgoing arrow
represents reading of data
Source: slideshare
Data Flows
● Data in motion
● Marks movements of data through the system pipeline
to carry data.
● Connects the processes, external entities and data
stores.
Data FLow
Source: slideshare
Data Flow
● Generally unidirectional, if same data flows in both
directions, double-headed arrow can be used.
● Can represent flow between process and data store by
two separate arrows.
Source: slideshare
Decomposition Of DFD
Levels Description Explanation
Source: slideshare
Contd..
Source: slideshare
Level 1 Diagram
● Level 1 DFD, must balance with the context diagram it
describes.
● Input going into a process are different from outputs
leaving the process.
● Data stores are first shown at this level.
Source: slideshare
Level 2 Diagram
● Level 2 DFD must balance with the Level 1 describes.
● Input going into a process are different from outputs
leaving the process.
● Continue to show data stores.
Source: slideshare
Layers of DFD Abstraction
Source: slideshare
Rules of Data Flow
Source: slideshare
Three INCORRECT Data Flow
● Miracle
● Black Hole
● Gray Hole
Source: slideshare
Good Style in Drawing DFD
● Use meaningful names for data flows, processes and data stores.
● Use top down development starting from context diagram and
successively levelling DFD
● Only previously stored data can be read
● A process can only transfer input to output. It cannot create new data
● Data stores cannot create new data
Source: slideshare
Creating the Level 0 Diagram
Source: slideshare
Creating Level 1 Diagram
Source: slideshare
Creating Level 2 Diagram
Source: slideshare
When to stop decomposing DFDs?
Source: slideshare
Validating DFD
Source: slideshare
DFD for University Admission
System
Level 0
Source: slideshare
Level 1
Source: slideshare
Level 2 Process 1, Perform Intake Procedure
Source: slideshare
Level 2 Process 2, Maintain Student Information
Source: slideshare
Logical and Physical DFD
Source: slideshare
References
● https://www.lucidchart.com/pages/data-flow-diagram/data-
flow-diagram-symbols
● https://www.lucidchart.com/blog/data-flow-diagram-tutorial
● https://www.slideshare.net/RiteshGupta113/data-flow-
diagrams-86591972
● https://www.geeksforgeeks.org/what-is-dfddata-flow-diagram/
● https://www.visual-paradigm.com/guide/data-flow-
diagram/what-is-data-flow-diagram/
● https://en.wikipedia.org/wiki/Data-flow_diagram
Thank You!