SlideShare a Scribd company logo
1 of 39
1
Data Flow Diagram
Structuring System Process Requirements
2
Overview
 Process Modeling and Data Flow Diagrams (DFDs).
 Draw DFDs of well structured process models.
 Decompose DFDs into lower-level diagrams.
 Balance high-level and low-level DFDs.
 The differences between current physical, current logical, new physical, and
new logical DFDs.
 Using DFDs for analyzing information systems.
3
System Development Life Cycle “SDLC”
4
Process Modeling
 A technique for graphically representing the processes that are used to capture,
manipulate, store, and distribute data;
 between a system and its environment,
 among system components.
 Build a DFD using information gathered during requirements gathering and
determination.
 Both processes and data structures are modeled in DFDs.
5
Process Modeling
Deliverables and Outcomes
 Context data flow diagram (DFD).
 Shows the scope of a system (i.e., a top-level view).
 Often DFDs are created showing the current physical and logical system.
 It enables analysts to understand how the current system operates.
 DFDs of new logical system.
 The DFD is independent of technology.
 It shows data flows, structure, and functional requirements of the new system.
 Includes a thorough description of each DFD component.
6
Data Flow Diagram (DFD)
 A picture of the movement of data between external entities and the processes and
data stores within a system.
 How does a DFD differ from a systems flowchart?
 DFDs depict logical data flow independent of technology.
 The focus is on data flows, not process flows alone.
7
Comparison between DFD Symbols Sets
8
DFD Symbols
 Process: work or actions performed on data (inside the system).
 Data Store: data at rest (inside the system).
 Source/Sink: external entity that is origin or destination of data (outside the system).
 Data flow: arrows depicting movement of data.
9
DFD Diagramming Rules
Process
No process can have only outputs or only inputs.
Processes must have both outputs and inputs.
Process labels should be verb phrases.
10
DFD Diagramming Rules
Data Store
Data Store labels should be noun phrases.
All flows to or from a data store must
move through a process.
11
DFD Diagramming Rules
Source/Sink
Source and Sink labels should be noun phrases.
No data moves directly between external entities without
going through a process.
Interactions between external entities without intervening
processes are outside the system and therefore not
represented in the DFD.
12
Bidirectional flow
between process
and data store is
represented by two
separate arrows.
Forked data flow
must refer to exact
same data item (not
different data items)
from a common
location to multiple
destinations.
DFD Diagramming Rules
Data Flow
13
Joined data flow
must refer to exact
same data item (not
different data items)
from multiple
sources to a
common location.
Data flow cannot
go directly from a
process to itself,
must go through
intervening
processes.
DFD Diagramming Rules
Data Flow
14
DFD Diagramming Rules
Data Flow
 Data flow from a process to a data store means update (insert, delete or change).
 Data flow from a data store to a process means retrieve or use.
 Data flow labels should be noun phrases.
15
Functional Decomposition
 An iterative process of breaking a system description down into finer and finer detail.
 High-level processes described in terms of lower-level sub-processes.
 DFD charts created for each level of detail.
16
DFD Levels
 Context DFD
 Overview of the organizational system.
 Level-0 DFD
 Representation of system’s major processes at high level of abstraction.
 Level-1 DFD
 Results from decomposition of Level 0 diagram.
 Level-n DFD
 Results from decomposition of Level n-1 diagram.
17
Context Diagram
of Hoosier Burger’s food ordering system
Context diagram shows the
system boundaries, external
entities that interact with
the system, and major
information flows between
entities and the system.
NOTE: only one process symbol, and no data stores shown.
18
Level-0 DFD
Level-0 DFD shows the
system’s major
processes, data flows,
and data stores at a high
level of abstraction.
Processes are labeled
1.0, 2.0, etc. These will
be decomposed into
more primitive (lower-
level) DFDs.
19
Level-1 DFD
Level-1 DFD shows the
sub-processes of one of
the processes in the Level-
0 DFD.
This is a Level-1 DFD for
Process 4.0.
Processes are labeled 4.1,
4.2, etc. These can be
further decomposed in
more primitive (lower-level)
DFDs if necessary.
20
Level-n DFD
Level-n DFD shows the sub-
processes of one of the
processes in the Level n-1 DFD.
This is a Level-2 DFD for
Process 4.3.
Processes are labeled 4.3.1,
4.3.2, etc. If this is the lowest
level of the hierarchy, it is
called a primitive DFD.
21
DFD Balancing
 The conservation of inputs and outputs to a data flow process when that process is
decomposed to a lower level.
 Balanced means:
 Number of inputs to lower level DFD equals number of inputs to associated process
of higher-level DFD.
 Number of outputs to lower level DFD equals number of outputs to associated
process of higher-level DFD.
22
Unbalanced DFD
This is unbalanced because
the process of the context
diagram has only one input
but the Level-0 diagram has
two inputs.
Context Diagram
Level-0 Diagram
23
Balanced DFD
These are balanced because the
numbers of inputs and outputs of
context diagram process equal the
number of inputs and outputs of
Level-0 diagram.
3 outputs
1 input
Context Diagram
Level-0 Diagram
24
Balanced DFD
These are balanced because the numbers of
inputs and outputs to Process 1.0 of the
Level-0 diagram equals the number of
inputs and outputs to the Level-1 diagram.
1 input
4 outputs
Level-0 Diagram
Level-1 Diagram
25
Data Flow Splitting
A composite data flow at a
higher level may be split if
different parts go to
different processes in the
lower level DFD.
This remains balanced
because the same data is
involved, but split into two
parts.
Complex data flow
Disaggregated data flows
26
More DFD Rules
27
Four Different Types of DFDs
 Current Physical
 Process labels identify technology (people or systems) used to process the data.
 Data flows and data stores identify actual name of the physical media.
 Current Logical
 Physical aspects of system are removed as much as possible.
 Current system is reduced to data and processes that transform them.
28
Four Different Types of DFDs
 New Logical
 Includes additional functions.
 Obsolete functions are removed.
 Inefficient data flows are reorganized.
 New Physical
 Represents the physical implementation of the new system.
29
Four Different Types of DFDs
of Hoosier Burger’s food ordering system (List of
activities that concern inventory control system)
30
Four Different Types of DFDs
of Hoosier Burger’s food ordering system
Current physical (Context diagram)
31
Four Different Types of DFDs
of Hoosier Burger’s food ordering system
Current Logical
32
Four Different Types of DFDs
of Hoosier Burger’s food ordering system
New Logical
33
Physical vs. Logical
34
Guidelines for Drawing DFDs
 Completeness
 DFD must include all components necessary for system.
 Each component must be fully described in the project dictionary or CASE repository.
 Consistency
 The extent to which information contained on one level of a set of nested DFDs is also
included on other levels.
 Timing
 Time is not represented well on DFDs.
 Best to draw DFDs as if the system has never started and will never stop.
35
Guidelines for Drawing DFDs
 Iterative Development
 Analyst should expect to redraw diagram several times before reaching the closest
approximation to the system being modeled.
 Primitive DFDs
 Lowest logical level of decomposition.
 Decision has to be made when to stop decomposition.
36
Guidelines for Drawing DFDs
 Rules for stopping decomposition
 When each process has been reduced to a single decision, calculation or database
operation.
 When each data store represents data about a single entity.
 When the system user does not care to see any more detail.
 When every data flow does not need to be split further to show that data are handled in
various ways.
 When you believe that you have shown each business form or transaction, online display
and report as a single data flow.
 When you believe that there is a separate process for each choice on all lowest-level menu
options.
37
Using DFDs as Analysis Tools
 Gap Analysis
 The process of discovering discrepancies between two or more sets of data flow
diagrams or discrepancies within a single DFD.
 Inefficiencies in a system can often be identified through DFDs.
38
Using DFDs as Business Process Reengineering
Before: Credit approval process required six
days.
After: Process 100 times as many transactions
in the same time.
39
Exercise, Find errors??

More Related Content

What's hot

Data Flow 2
Data Flow 2Data Flow 2
Data Flow 2MISY
 
Data Flow Diagrams
Data Flow DiagramsData Flow Diagrams
Data Flow DiagramsSinhaa Yash
 
Database approach
Database approachDatabase approach
Database approachuzmajamal
 
Lecture6 activity diagrams
Lecture6 activity diagramsLecture6 activity diagrams
Lecture6 activity diagramsShahid Riaz
 
Advance database system (part 2)
Advance database system (part 2)Advance database system (part 2)
Advance database system (part 2)Abdullah Khosa
 
SSAD; TOOLS & TECHNIQUES
SSAD; TOOLS & TECHNIQUESSSAD; TOOLS & TECHNIQUES
SSAD; TOOLS & TECHNIQUESMalvika Bansal
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagramFizza Khan
 
Database development life cycle unit 2 part 1
Database development life cycle  unit 2 part 1Database development life cycle  unit 2 part 1
Database development life cycle unit 2 part 1Ram Paliwal
 
Chapter08 structuring system requirements
Chapter08 structuring system requirementsChapter08 structuring system requirements
Chapter08 structuring system requirementsDhani Ahmad
 
Data Flow Diagram and Sequence Diagram
Data Flow Diagram and Sequence DiagramData Flow Diagram and Sequence Diagram
Data Flow Diagram and Sequence DiagramHamna Shahzad
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database systemphilipsinter
 
Fundamentals of Database Management Systems 2nd Edition Gillenson Test Bank
Fundamentals of Database Management Systems 2nd Edition Gillenson Test BankFundamentals of Database Management Systems 2nd Edition Gillenson Test Bank
Fundamentals of Database Management Systems 2nd Edition Gillenson Test Bankxyfeq
 

What's hot (20)

Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
 
Data Flow 2
Data Flow 2Data Flow 2
Data Flow 2
 
The DFD
The DFDThe DFD
The DFD
 
Data Flow Diagrams
Data Flow DiagramsData Flow Diagrams
Data Flow Diagrams
 
Chap11
Chap11Chap11
Chap11
 
Database approach
Database approachDatabase approach
Database approach
 
Lecture6 activity diagrams
Lecture6 activity diagramsLecture6 activity diagrams
Lecture6 activity diagrams
 
Advance database system (part 2)
Advance database system (part 2)Advance database system (part 2)
Advance database system (part 2)
 
Data Flow Diagram or DFD
Data Flow Diagram  or DFDData Flow Diagram  or DFD
Data Flow Diagram or DFD
 
SSAD; TOOLS & TECHNIQUES
SSAD; TOOLS & TECHNIQUESSSAD; TOOLS & TECHNIQUES
SSAD; TOOLS & TECHNIQUES
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
 
Database development life cycle unit 2 part 1
Database development life cycle  unit 2 part 1Database development life cycle  unit 2 part 1
Database development life cycle unit 2 part 1
 
Chapter08 structuring system requirements
Chapter08 structuring system requirementsChapter08 structuring system requirements
Chapter08 structuring system requirements
 
Data Flow Diagram and Sequence Diagram
Data Flow Diagram and Sequence DiagramData Flow Diagram and Sequence Diagram
Data Flow Diagram and Sequence Diagram
 
Object modeling
Object modelingObject modeling
Object modeling
 
Entities and attributes
Entities and attributesEntities and attributes
Entities and attributes
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database system
 
Intro sad
Intro sadIntro sad
Intro sad
 
Fundamentals of Database Management Systems 2nd Edition Gillenson Test Bank
Fundamentals of Database Management Systems 2nd Edition Gillenson Test BankFundamentals of Database Management Systems 2nd Edition Gillenson Test Bank
Fundamentals of Database Management Systems 2nd Edition Gillenson Test Bank
 

Similar to DFD.ppt

Chapter 7software engneeringand system development life cycle.ppt
Chapter 7software engneeringand system development life cycle.pptChapter 7software engneeringand system development life cycle.ppt
Chapter 7software engneeringand system development life cycle.pptDoaaRezk5
 
Design Flow Diagram for Information System
Design Flow Diagram for Information SystemDesign Flow Diagram for Information System
Design Flow Diagram for Information Systemarifasyrafcp13
 
Data flow oriented modeling
Data flow oriented modelingData flow oriented modeling
Data flow oriented modelingKavithaGowri
 
Dfd over flowcharts
Dfd over flowcharts Dfd over flowcharts
Dfd over flowcharts Ashwathy Nair
 
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.docxlmarie40
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram Nidhi Sharma
 
Dfd data flow diagram
Dfd   data flow diagramDfd   data flow diagram
Dfd data flow diagramPuneet Arora
 
Unit-2-SE-Part-2.pptx
Unit-2-SE-Part-2.pptxUnit-2-SE-Part-2.pptx
Unit-2-SE-Part-2.pptxRaghavGaming2
 

Similar to DFD.ppt (20)

Chapter 7software engneeringand system development life cycle.ppt
Chapter 7software engneeringand system development life cycle.pptChapter 7software engneeringand system development life cycle.ppt
Chapter 7software engneeringand system development life cycle.ppt
 
Data Flow Diagrams
Data Flow DiagramsData Flow Diagrams
Data Flow Diagrams
 
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.pptx
Data Flow Diagram.pptxData Flow Diagram.pptx
Data Flow Diagram.pptx
 
Creative Team.pdf
Creative Team.pdfCreative Team.pdf
Creative Team.pdf
 
Data flow oriented modeling
Data flow oriented modelingData flow oriented modeling
Data flow oriented modeling
 
Dfd over flowcharts
Dfd over flowcharts Dfd over flowcharts
Dfd over flowcharts
 
Dfd mechanics
Dfd mechanicsDfd mechanics
Dfd mechanics
 
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
 
DFD.pptx
DFD.pptxDFD.pptx
DFD.pptx
 
DFD.pptx
DFD.pptxDFD.pptx
DFD.pptx
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram
 
Data Flow Models part6
Data Flow Models part6Data Flow Models part6
Data Flow Models part6
 
Dfd data flow diagram
Dfd   data flow diagramDfd   data flow diagram
Dfd data flow diagram
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
 
Dfd final
Dfd finalDfd final
Dfd final
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
 
Chapter7
Chapter7Chapter7
Chapter7
 
Unit-2-SE-Part-2.pptx
Unit-2-SE-Part-2.pptxUnit-2-SE-Part-2.pptx
Unit-2-SE-Part-2.pptx
 
Garishma se
Garishma seGarishma se
Garishma se
 

More from sarahabbas40

Presentation clod.pptx
Presentation clod.pptxPresentation clod.pptx
Presentation clod.pptxsarahabbas40
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptxsarahabbas40
 
lec24-cloud-computing.ppt
lec24-cloud-computing.pptlec24-cloud-computing.ppt
lec24-cloud-computing.pptsarahabbas40
 
Introduction to Cloud Computing.pptx
Introduction to Cloud Computing.pptxIntroduction to Cloud Computing.pptx
Introduction to Cloud Computing.pptxsarahabbas40
 

More from sarahabbas40 (6)

TSO.ppt
TSO.pptTSO.ppt
TSO.ppt
 
ERD.pptx
ERD.pptxERD.pptx
ERD.pptx
 
Presentation clod.pptx
Presentation clod.pptxPresentation clod.pptx
Presentation clod.pptx
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
 
lec24-cloud-computing.ppt
lec24-cloud-computing.pptlec24-cloud-computing.ppt
lec24-cloud-computing.ppt
 
Introduction to Cloud Computing.pptx
Introduction to Cloud Computing.pptxIntroduction to Cloud Computing.pptx
Introduction to Cloud Computing.pptx
 

Recently uploaded

Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 

Recently uploaded (20)

Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 

DFD.ppt

  • 1. 1 Data Flow Diagram Structuring System Process Requirements
  • 2. 2 Overview  Process Modeling and Data Flow Diagrams (DFDs).  Draw DFDs of well structured process models.  Decompose DFDs into lower-level diagrams.  Balance high-level and low-level DFDs.  The differences between current physical, current logical, new physical, and new logical DFDs.  Using DFDs for analyzing information systems.
  • 3. 3 System Development Life Cycle “SDLC”
  • 4. 4 Process Modeling  A technique for graphically representing the processes that are used to capture, manipulate, store, and distribute data;  between a system and its environment,  among system components.  Build a DFD using information gathered during requirements gathering and determination.  Both processes and data structures are modeled in DFDs.
  • 5. 5 Process Modeling Deliverables and Outcomes  Context data flow diagram (DFD).  Shows the scope of a system (i.e., a top-level view).  Often DFDs are created showing the current physical and logical system.  It enables analysts to understand how the current system operates.  DFDs of new logical system.  The DFD is independent of technology.  It shows data flows, structure, and functional requirements of the new system.  Includes a thorough description of each DFD component.
  • 6. 6 Data Flow Diagram (DFD)  A picture of the movement of data between external entities and the processes and data stores within a system.  How does a DFD differ from a systems flowchart?  DFDs depict logical data flow independent of technology.  The focus is on data flows, not process flows alone.
  • 8. 8 DFD Symbols  Process: work or actions performed on data (inside the system).  Data Store: data at rest (inside the system).  Source/Sink: external entity that is origin or destination of data (outside the system).  Data flow: arrows depicting movement of data.
  • 9. 9 DFD Diagramming Rules Process No process can have only outputs or only inputs. Processes must have both outputs and inputs. Process labels should be verb phrases.
  • 10. 10 DFD Diagramming Rules Data Store Data Store labels should be noun phrases. All flows to or from a data store must move through a process.
  • 11. 11 DFD Diagramming Rules Source/Sink Source and Sink labels should be noun phrases. No data moves directly between external entities without going through a process. Interactions between external entities without intervening processes are outside the system and therefore not represented in the DFD.
  • 12. 12 Bidirectional flow between process and data store is represented by two separate arrows. Forked data flow must refer to exact same data item (not different data items) from a common location to multiple destinations. DFD Diagramming Rules Data Flow
  • 13. 13 Joined data flow must refer to exact same data item (not different data items) from multiple sources to a common location. Data flow cannot go directly from a process to itself, must go through intervening processes. DFD Diagramming Rules Data Flow
  • 14. 14 DFD Diagramming Rules Data Flow  Data flow from a process to a data store means update (insert, delete or change).  Data flow from a data store to a process means retrieve or use.  Data flow labels should be noun phrases.
  • 15. 15 Functional Decomposition  An iterative process of breaking a system description down into finer and finer detail.  High-level processes described in terms of lower-level sub-processes.  DFD charts created for each level of detail.
  • 16. 16 DFD Levels  Context DFD  Overview of the organizational system.  Level-0 DFD  Representation of system’s major processes at high level of abstraction.  Level-1 DFD  Results from decomposition of Level 0 diagram.  Level-n DFD  Results from decomposition of Level n-1 diagram.
  • 17. 17 Context Diagram of Hoosier Burger’s food ordering system Context diagram shows the system boundaries, external entities that interact with the system, and major information flows between entities and the system. NOTE: only one process symbol, and no data stores shown.
  • 18. 18 Level-0 DFD Level-0 DFD shows the system’s major processes, data flows, and data stores at a high level of abstraction. Processes are labeled 1.0, 2.0, etc. These will be decomposed into more primitive (lower- level) DFDs.
  • 19. 19 Level-1 DFD Level-1 DFD shows the sub-processes of one of the processes in the Level- 0 DFD. This is a Level-1 DFD for Process 4.0. Processes are labeled 4.1, 4.2, etc. These can be further decomposed in more primitive (lower-level) DFDs if necessary.
  • 20. 20 Level-n DFD Level-n DFD shows the sub- processes of one of the processes in the Level n-1 DFD. This is a Level-2 DFD for Process 4.3. Processes are labeled 4.3.1, 4.3.2, etc. If this is the lowest level of the hierarchy, it is called a primitive DFD.
  • 21. 21 DFD Balancing  The conservation of inputs and outputs to a data flow process when that process is decomposed to a lower level.  Balanced means:  Number of inputs to lower level DFD equals number of inputs to associated process of higher-level DFD.  Number of outputs to lower level DFD equals number of outputs to associated process of higher-level DFD.
  • 22. 22 Unbalanced DFD This is unbalanced because the process of the context diagram has only one input but the Level-0 diagram has two inputs. Context Diagram Level-0 Diagram
  • 23. 23 Balanced DFD These are balanced because the numbers of inputs and outputs of context diagram process equal the number of inputs and outputs of Level-0 diagram. 3 outputs 1 input Context Diagram Level-0 Diagram
  • 24. 24 Balanced DFD These are balanced because the numbers of inputs and outputs to Process 1.0 of the Level-0 diagram equals the number of inputs and outputs to the Level-1 diagram. 1 input 4 outputs Level-0 Diagram Level-1 Diagram
  • 25. 25 Data Flow Splitting A composite data flow at a higher level may be split if different parts go to different processes in the lower level DFD. This remains balanced because the same data is involved, but split into two parts. Complex data flow Disaggregated data flows
  • 27. 27 Four Different Types of DFDs  Current Physical  Process labels identify technology (people or systems) used to process the data.  Data flows and data stores identify actual name of the physical media.  Current Logical  Physical aspects of system are removed as much as possible.  Current system is reduced to data and processes that transform them.
  • 28. 28 Four Different Types of DFDs  New Logical  Includes additional functions.  Obsolete functions are removed.  Inefficient data flows are reorganized.  New Physical  Represents the physical implementation of the new system.
  • 29. 29 Four Different Types of DFDs of Hoosier Burger’s food ordering system (List of activities that concern inventory control system)
  • 30. 30 Four Different Types of DFDs of Hoosier Burger’s food ordering system Current physical (Context diagram)
  • 31. 31 Four Different Types of DFDs of Hoosier Burger’s food ordering system Current Logical
  • 32. 32 Four Different Types of DFDs of Hoosier Burger’s food ordering system New Logical
  • 34. 34 Guidelines for Drawing DFDs  Completeness  DFD must include all components necessary for system.  Each component must be fully described in the project dictionary or CASE repository.  Consistency  The extent to which information contained on one level of a set of nested DFDs is also included on other levels.  Timing  Time is not represented well on DFDs.  Best to draw DFDs as if the system has never started and will never stop.
  • 35. 35 Guidelines for Drawing DFDs  Iterative Development  Analyst should expect to redraw diagram several times before reaching the closest approximation to the system being modeled.  Primitive DFDs  Lowest logical level of decomposition.  Decision has to be made when to stop decomposition.
  • 36. 36 Guidelines for Drawing DFDs  Rules for stopping decomposition  When each process has been reduced to a single decision, calculation or database operation.  When each data store represents data about a single entity.  When the system user does not care to see any more detail.  When every data flow does not need to be split further to show that data are handled in various ways.  When you believe that you have shown each business form or transaction, online display and report as a single data flow.  When you believe that there is a separate process for each choice on all lowest-level menu options.
  • 37. 37 Using DFDs as Analysis Tools  Gap Analysis  The process of discovering discrepancies between two or more sets of data flow diagrams or discrepancies within a single DFD.  Inefficiencies in a system can often be identified through DFDs.
  • 38. 38 Using DFDs as Business Process Reengineering Before: Credit approval process required six days. After: Process 100 times as many transactions in the same time.

Editor's Notes

  1. - Process 1 has no output - Process 2 has no input - Data store D2 should not connect directly to an external entity - Data store D1 should not connect directly to another data store - Data flow “Employee record” should not be bidirectional