SlideShare a Scribd company logo
1 of 44
IT Applications Theory Slideshows
IT Applications Theory Slideshows

Data Flow Diagrams
Data Flow Diagrams
(DFD)
(DFD)
& Context diagrams
& Context diagrams
By Mark Kelly
McKinnon Secondary College
Vceit.com
Context Diagram
• A high-level Data Flow Diagram (DFD).
• Shows a system in relation to other external
systems
• Does not show details within the system
• The simplest form of a DFD.
Context Diagram
• Contains:
– One Process – the whole system as a single shape
– No Data Store
– One or more External Entities – other systems
with a data flow to the system being described.
– Two or more Data Flows

• Later will zoom in and expand a context
diagram into sub-processes, creating more
detailed DFDs.
Context Diagram
External entity

Data flow

The
entire
system
DFD/Context diagram shapes
• External Entity: sources or
destinations of data
• Data Flow: movement of data.

Entity
name

data name

• Data Store: where data is stored
(e.g. database)
data store name

…OR…

data store name …OR…

data store name
DFD/Context diagram shapes
• Process: an activity that transforms or
manipulates the data (combines,
reorders, converts, etc.).

Process
name
EXTERNAL
ENTITIES
External Entities:
– Can be duplicated on the diagram one or
more times, to avoid line crossing.
– Are not part of the system being studied.
– May be part of the same organisation, but
are beyond the influence of the system
being described.
External Entities:
– Can represent another system or subsystem
within the same organisation.
– Must receive data from or send data to the
system being described.
– Are placed on the edges of the DFD
External entities

The system
External Entities
• Rule 1: In a DFD do not show direct data
flow from one external entity to
another.
• They are irrelevant to the system being
described because they are external.
• Like how a conversation between two
people you don’t know is irrelevant to
you.
DATA
FLOWS
Data Flows:
• Rule 2: Only represent data, not material
goods like books, goods.
• Shown as arrows with labels.
• Must be named.
• Rule 3: Only include one type of data per
arrow. E.g. “Orders”, “Customer Data”
• Do not use arrows with heads on each end.
Identify each flow separately.
Data Flows:
• A fork in a data flow means that the same
data goes to two destinations.
• The same data coming from several locations
can also be joined.
r
orde
d
Vali

New order

Validat
e
order

Inva
lid o

rder
DATA
STORES
Data Stores:
• Where data is stored
• They look the same whether stored
electronically (e.g. Database) or manually (e.g.
paper files)
• Must be named
r
orde
d
Vali

New order

Validat
e
order

Inva
lid o
rder

Orders
Data Stores:
• Name is usually the plural form of the data
being flowed into it.
• E.g. An ‘order’ is stored in a datastore called
‘orders’
• Makes sense!
r
orde
d
Vali

New order

Validat
e
order

Inva
lid o
rder

Orders
Data Stores:
• Can be duplicated one or more times to avoid
line crossing.
• Can be shared by two or more systems.
• Contents of datastore are detailed elsewhere
in a data dictionary.
• Sometimes show as
Data store

Data Store
Data store
Data store
• Can also appear like this if it’s a duplicate
Data Store

• Duplicates are used to avoid having data flow
arrows crossing each other.
• The extra vertical line reminds you that this
data store already appears in the chart and is
not a new store.
Sample DFD with 3 data stores
PROCESSE
S
Processes
• Rule 7: Processes must have at least one
data flow in and one data flow out.
• Show data transformation or change
• Data coming into a process must be
"worked on“ in some way and then
output.
• Otherwise it can’t transform data!
Processes
• Are named with a verb and an object of
the verb (the thing being processed)
– E.g. “Calculate (verb) wages (object)”.
Processes
• Each process should represent only one
function or action.
• An "and" in the name probably betrays
the presence of more than one process.
Processes
• Are numbered based on their level of detail
– e.g. in a level 1 DFD, a top level process may be Process
14.
– Zoom in to a level 2 DFD and Process 14 opens up to
reveal the next level of detail: processes 14.1, 14.2, 14.3,
14.4.
– Zoom in to process 14.3 in a level 3 DFD and show
processes 14.3.1 to 14.3.6.

• Should generally move from top to bottom
and left to right.
Processes
• Rule 5: Processes have no order of operation
stated or implied.
• E.g. Just because one process to above or to
the left of another process does not mean
that process must take place before the other
one.
IT’S A BAD DFD
• Do not use direct data flows from one data
store to another. There must be a process
between the store.s
• Do not use direct data flows from an external
entity to a data store flows. Again, a process
is needed between them.
• Do not show direct data flows between
external entities.
Bad! Flow between external
entities
Fire brigade

Weather forecast

Weather bureau

Weather forecast

Call for help
Assess
fire risk
Bad! Flow direct to data store
Fire brigade

Weather bureau

Weather forecast
Call for help
Forecast history
Assess
fire risk

Weather forecast
Bad! Flow direct between data
stores
Customer

Order
Invoice

Process
order

Order

Inventory
Stock check

Stock numbers
Orders
Creating a DFD
1.list the external entities that provide data or
receive data from system being described;
2.list the data being sent to and from the
entities;
3.create a context diagram with the system in
the middle of the external entities sending
and receiving data flows;
Creating a DFD
4. List the processing functions carried out in
the system;
5. Identify the data connections between
these processing functions;
6. Explode each process and repeat above
steps as needed.
DFD Tipz
• Label your processes carefully. A process just
labelled "Produce Report" and has the output
of "Report" says little – what is the report
about?
• If you have trouble labelling anything on the
diagram, it may be because you don’t fully
understand what it does!
• Stick with it until a clear label is found.
DFD Tipz

• Rule 2 again - Ignore physical items like
people, products, trucks, cake ingredients
• Rule 4: Do not label processes as people (e.g.
“Secretary”).
• DFDs are not concerned with who does a
process, but what the process is.
• Besides, the secretary might have several
functions – tea maker, mail runner,
receptionist. Identify the process, not the
body.
DFD Tipz
• Rule 5 again: Time and place are not
important.
• It does not matter whether one data flow
occurs before or after another data flow, or in
which office it happens.
• Don’t worry about how or when a process
happens. It just happens!
DFD Tipz
• Data flows are pathways for data. Think about what
data is needed to perform a process or update a data
store.
• Rule 6: A DFD is not a flowchart and should not have
loops or transfer of control.
• Rule 7: Keep your DFD clear and easy to read –
avoid crowding or crossed data flow lines.
DFD Tipz
• Do not try to put everything you know on the
DFD.
• The DFD should serve as an index and outline.
• Details are fleshed out in other places such as
the data dictionary, data structure diagrams,
flowcharts etc.
EXAM DFD – SD 2006
A company, No Blots, supplies ink cartridges for printers which are sold
only through the internet.
When customers place an order, the order is checked, a confirmation is
sent back to the customer and the details of the order are sent to the
warehouse.
The diagram below shows the data flow diagram (DFD) for the No Blots
online purchasing system. The diagram does not show the data sources
and destinations.
a. In a DFD a circle represents a
process. Briefly explain what is
meant by a process. (1)
b. b. In the DFD, what do the
symbols labelled stock and
orders represent? (1)
c. Complete the context diagram below for the No
Blots system. (3)

(The previous DFD is
here again so you can
refer to it)

Proceed only when you have worked
out your solution…
A solution
DFD Analysis

In this
DFD,
which
“nonstandard
shape
represents
a data
store?
It has
“books”
appearing.
Does this
obey DFD
rules?
Acknowledgements
• Thanks to Kenneth A. Kozar for DFD info at
• http://spot.colorado.edu/%7Ekozar/DFDtechnique.html
• Another great site (even if it does naughtily show material
flows as well as data flows)...
http://yourdon.com/strucanalysis/wiki/index.php?
title=Chapter_9
IT APPLICATIONS SLIDESHOWS
By Mark Kelly
McKinnon Secondary College
vceit.com
These slideshows may be freely used, modified or distributed by teachers and students
anywhere on the planet (but not elsewhere).
They may NOT be sold.
They must NOT be redistributed if you modify them.

More Related Content

What's hot

All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbmsNaresh Kumar
 
Full report on blood bank management system
Full report on  blood bank management systemFull report on  blood bank management system
Full report on blood bank management systemJawhar Ali
 
Centralised and distributed databases
Centralised and distributed databasesCentralised and distributed databases
Centralised and distributed databasesForrester High School
 
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSCS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSKathirvel Ayyaswamy
 
File organization 1
File organization 1File organization 1
File organization 1Rupali Rana
 
Database Design
Database DesignDatabase Design
Database Designlearnt
 
Rdbms
RdbmsRdbms
Rdbmsrdbms
 
Distributed databases
Distributed databasesDistributed databases
Distributed databasessourabhdave
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System IntroductionSmriti Jain
 
database language ppt.pptx
database language ppt.pptxdatabase language ppt.pptx
database language ppt.pptxAnusha sivakumar
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database DesignArchit Saxena
 
Er model ppt
Er model pptEr model ppt
Er model pptPihu Goel
 
Data Modeling PPT
Data Modeling PPTData Modeling PPT
Data Modeling PPTTrinath
 
SQL, Embedded SQL, Dynamic SQL and SQLJ
SQL, Embedded SQL, Dynamic SQL and SQLJSQL, Embedded SQL, Dynamic SQL and SQLJ
SQL, Embedded SQL, Dynamic SQL and SQLJDharita Chokshi
 

What's hot (20)

All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
 
Full report on blood bank management system
Full report on  blood bank management systemFull report on  blood bank management system
Full report on blood bank management system
 
Centralised and distributed databases
Centralised and distributed databasesCentralised and distributed databases
Centralised and distributed databases
 
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSCS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMS
 
File organization 1
File organization 1File organization 1
File organization 1
 
Database Design
Database DesignDatabase Design
Database Design
 
Rdbms
RdbmsRdbms
Rdbms
 
Tcp/ip server sockets
Tcp/ip server socketsTcp/ip server sockets
Tcp/ip server sockets
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
 
Distributed databases
Distributed databasesDistributed databases
Distributed databases
 
Client Server Architecture ppt
Client Server Architecture pptClient Server Architecture ppt
Client Server Architecture ppt
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System Introduction
 
database language ppt.pptx
database language ppt.pptxdatabase language ppt.pptx
database language ppt.pptx
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
 
Er model ppt
Er model pptEr model ppt
Er model ppt
 
RAID
RAIDRAID
RAID
 
Data Modeling PPT
Data Modeling PPTData Modeling PPT
Data Modeling PPT
 
SQL, Embedded SQL, Dynamic SQL and SQLJ
SQL, Embedded SQL, Dynamic SQL and SQLJSQL, Embedded SQL, Dynamic SQL and SQLJ
SQL, Embedded SQL, Dynamic SQL and SQLJ
 
Current trends in DBMS
Current trends in DBMSCurrent trends in DBMS
Current trends in DBMS
 

Viewers also liked

Data Flow Diagrams
Data Flow DiagramsData Flow Diagrams
Data Flow DiagramsSinhaa Yash
 
208 dataflowdgm
208 dataflowdgm208 dataflowdgm
208 dataflowdgmTCT
 
Example of dfd with answer
Example of dfd with answerExample of dfd with answer
Example of dfd with answerMahmoud Bakeer
 
Course registration system dfd
Course registration system dfdCourse registration system dfd
Course registration system dfdUtsav mistry
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram Nidhi Sharma
 
Dfd examples
Dfd examplesDfd examples
Dfd examplesMohit
 
Data Flow Diagram Example
Data Flow Diagram ExampleData Flow Diagram Example
Data Flow Diagram ExampleKaviarasu D
 

Viewers also liked (8)

Data Flow Diagrams
Data Flow DiagramsData Flow Diagrams
Data Flow Diagrams
 
208 dataflowdgm
208 dataflowdgm208 dataflowdgm
208 dataflowdgm
 
Dfd final
Dfd finalDfd final
Dfd final
 
Example of dfd with answer
Example of dfd with answerExample of dfd with answer
Example of dfd with answer
 
Course registration system dfd
Course registration system dfdCourse registration system dfd
Course registration system dfd
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram
 
Dfd examples
Dfd examplesDfd examples
Dfd examples
 
Data Flow Diagram Example
Data Flow Diagram ExampleData Flow Diagram Example
Data Flow Diagram Example
 

Similar to Data flow diagrams (2)

DFDs_and_Algorithms.pptx
DFDs_and_Algorithms.pptxDFDs_and_Algorithms.pptx
DFDs_and_Algorithms.pptxAliyahAli19
 
__Stude_DATA FLOW DIAGRAMS.ppt
__Stude_DATA FLOW DIAGRAMS.ppt__Stude_DATA FLOW DIAGRAMS.ppt
__Stude_DATA FLOW DIAGRAMS.pptVinayShekarReddy
 
Data Flow Diagram (DFD)
Data Flow Diagram (DFD)Data Flow Diagram (DFD)
Data Flow Diagram (DFD)Ansh Kashyap
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagramnethisip13
 
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 diagram(19th march)
Data flow diagram(19th march)Data flow diagram(19th march)
Data flow diagram(19th march)Ravi Shekhar
 
Unit-2-SE-Part-2.pptx
Unit-2-SE-Part-2.pptxUnit-2-SE-Part-2.pptx
Unit-2-SE-Part-2.pptxRaghavGaming2
 
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
 
Dfd data flow diagram
Dfd   data flow diagramDfd   data flow diagram
Dfd data flow diagramPuneet Arora
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagramFizza Khan
 
dtata flow digram
dtata flow digramdtata flow digram
dtata flow digramamrelshaikh
 

Similar to Data flow diagrams (2) (20)

DFD.pptx
DFD.pptxDFD.pptx
DFD.pptx
 
DFDs_and_Algorithms.pptx
DFDs_and_Algorithms.pptxDFDs_and_Algorithms.pptx
DFDs_and_Algorithms.pptx
 
__Stude_DATA FLOW DIAGRAMS.ppt
__Stude_DATA FLOW DIAGRAMS.ppt__Stude_DATA FLOW DIAGRAMS.ppt
__Stude_DATA FLOW DIAGRAMS.ppt
 
Data Flow Diagram (DFD)
Data Flow Diagram (DFD)Data Flow Diagram (DFD)
Data Flow Diagram (DFD)
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
 
Data Flow Diagrams
Data Flow DiagramsData Flow Diagrams
Data Flow Diagrams
 
Data Flow Diagram or DFD
Data Flow Diagram  or DFDData Flow Diagram  or DFD
Data Flow Diagram or DFD
 
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
 
Data flow diagram(19th march)
Data flow diagram(19th march)Data flow diagram(19th march)
Data flow diagram(19th march)
 
DFD ppt
DFD pptDFD ppt
DFD ppt
 
Unit-2-SE-Part-2.pptx
Unit-2-SE-Part-2.pptxUnit-2-SE-Part-2.pptx
Unit-2-SE-Part-2.pptx
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
 
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
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
 
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.ppt
DFD.pptDFD.ppt
DFD.ppt
 
dtata flow digram
dtata flow digramdtata flow digram
dtata flow digram
 

More from Ujjwal 'Shanu' (20)

Risk return trade off
Risk return trade offRisk return trade off
Risk return trade off
 
Risk perceprtion of ads of infosys
Risk perceprtion of ads of infosysRisk perceprtion of ads of infosys
Risk perceprtion of ads of infosys
 
Mutual funds
Mutual fundsMutual funds
Mutual funds
 
Corporate governance
Corporate governanceCorporate governance
Corporate governance
 
Whistle blower final
Whistle blower finalWhistle blower final
Whistle blower final
 
M&a
M&aM&a
M&a
 
T test
T testT test
T test
 
Research design
Research designResearch design
Research design
 
Business research
Business researchBusiness research
Business research
 
Measurement and scaling techniques
Measurement  and  scaling  techniquesMeasurement  and  scaling  techniques
Measurement and scaling techniques
 
Taxation
TaxationTaxation
Taxation
 
Shri palaniappan chidambram
Shri palaniappan chidambramShri palaniappan chidambram
Shri palaniappan chidambram
 
Planning
PlanningPlanning
Planning
 
Merger & acquisition
Merger & acquisitionMerger & acquisition
Merger & acquisition
 
Gaar ppt
Gaar pptGaar ppt
Gaar ppt
 
Rbi
RbiRbi
Rbi
 
Production theory
Production theoryProduction theory
Production theory
 
Perfect competition
Perfect competitionPerfect competition
Perfect competition
 
Oligopoly
OligopolyOligopoly
Oligopoly
 
National income
National incomeNational income
National income
 

Recently uploaded

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 

Recently uploaded (20)

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 

Data flow diagrams (2)

  • 1. IT Applications Theory Slideshows IT Applications Theory Slideshows Data Flow Diagrams Data Flow Diagrams (DFD) (DFD) & Context diagrams & Context diagrams By Mark Kelly McKinnon Secondary College Vceit.com
  • 2. Context Diagram • A high-level Data Flow Diagram (DFD). • Shows a system in relation to other external systems • Does not show details within the system • The simplest form of a DFD.
  • 3. Context Diagram • Contains: – One Process – the whole system as a single shape – No Data Store – One or more External Entities – other systems with a data flow to the system being described. – Two or more Data Flows • Later will zoom in and expand a context diagram into sub-processes, creating more detailed DFDs.
  • 4. Context Diagram External entity Data flow The entire system
  • 5.
  • 6. DFD/Context diagram shapes • External Entity: sources or destinations of data • Data Flow: movement of data. Entity name data name • Data Store: where data is stored (e.g. database) data store name …OR… data store name …OR… data store name
  • 7. DFD/Context diagram shapes • Process: an activity that transforms or manipulates the data (combines, reorders, converts, etc.). Process name
  • 9. External Entities: – Can be duplicated on the diagram one or more times, to avoid line crossing. – Are not part of the system being studied. – May be part of the same organisation, but are beyond the influence of the system being described.
  • 10. External Entities: – Can represent another system or subsystem within the same organisation. – Must receive data from or send data to the system being described. – Are placed on the edges of the DFD
  • 12. External Entities • Rule 1: In a DFD do not show direct data flow from one external entity to another. • They are irrelevant to the system being described because they are external. • Like how a conversation between two people you don’t know is irrelevant to you.
  • 14. Data Flows: • Rule 2: Only represent data, not material goods like books, goods. • Shown as arrows with labels. • Must be named. • Rule 3: Only include one type of data per arrow. E.g. “Orders”, “Customer Data” • Do not use arrows with heads on each end. Identify each flow separately.
  • 15. Data Flows: • A fork in a data flow means that the same data goes to two destinations. • The same data coming from several locations can also be joined. r orde d Vali New order Validat e order Inva lid o rder
  • 17. Data Stores: • Where data is stored • They look the same whether stored electronically (e.g. Database) or manually (e.g. paper files) • Must be named r orde d Vali New order Validat e order Inva lid o rder Orders
  • 18. Data Stores: • Name is usually the plural form of the data being flowed into it. • E.g. An ‘order’ is stored in a datastore called ‘orders’ • Makes sense! r orde d Vali New order Validat e order Inva lid o rder Orders
  • 19. Data Stores: • Can be duplicated one or more times to avoid line crossing. • Can be shared by two or more systems. • Contents of datastore are detailed elsewhere in a data dictionary. • Sometimes show as Data store Data Store Data store
  • 20. Data store • Can also appear like this if it’s a duplicate Data Store • Duplicates are used to avoid having data flow arrows crossing each other. • The extra vertical line reminds you that this data store already appears in the chart and is not a new store.
  • 21. Sample DFD with 3 data stores
  • 23. Processes • Rule 7: Processes must have at least one data flow in and one data flow out. • Show data transformation or change • Data coming into a process must be "worked on“ in some way and then output. • Otherwise it can’t transform data!
  • 24. Processes • Are named with a verb and an object of the verb (the thing being processed) – E.g. “Calculate (verb) wages (object)”.
  • 25. Processes • Each process should represent only one function or action. • An "and" in the name probably betrays the presence of more than one process.
  • 26. Processes • Are numbered based on their level of detail – e.g. in a level 1 DFD, a top level process may be Process 14. – Zoom in to a level 2 DFD and Process 14 opens up to reveal the next level of detail: processes 14.1, 14.2, 14.3, 14.4. – Zoom in to process 14.3 in a level 3 DFD and show processes 14.3.1 to 14.3.6. • Should generally move from top to bottom and left to right.
  • 27. Processes • Rule 5: Processes have no order of operation stated or implied. • E.g. Just because one process to above or to the left of another process does not mean that process must take place before the other one.
  • 28. IT’S A BAD DFD • Do not use direct data flows from one data store to another. There must be a process between the store.s • Do not use direct data flows from an external entity to a data store flows. Again, a process is needed between them. • Do not show direct data flows between external entities.
  • 29. Bad! Flow between external entities Fire brigade Weather forecast Weather bureau Weather forecast Call for help Assess fire risk
  • 30. Bad! Flow direct to data store Fire brigade Weather bureau Weather forecast Call for help Forecast history Assess fire risk Weather forecast
  • 31. Bad! Flow direct between data stores Customer Order Invoice Process order Order Inventory Stock check Stock numbers Orders
  • 32. Creating a DFD 1.list the external entities that provide data or receive data from system being described; 2.list the data being sent to and from the entities; 3.create a context diagram with the system in the middle of the external entities sending and receiving data flows;
  • 33. Creating a DFD 4. List the processing functions carried out in the system; 5. Identify the data connections between these processing functions; 6. Explode each process and repeat above steps as needed.
  • 34. DFD Tipz • Label your processes carefully. A process just labelled "Produce Report" and has the output of "Report" says little – what is the report about? • If you have trouble labelling anything on the diagram, it may be because you don’t fully understand what it does! • Stick with it until a clear label is found.
  • 35. DFD Tipz • Rule 2 again - Ignore physical items like people, products, trucks, cake ingredients • Rule 4: Do not label processes as people (e.g. “Secretary”). • DFDs are not concerned with who does a process, but what the process is. • Besides, the secretary might have several functions – tea maker, mail runner, receptionist. Identify the process, not the body.
  • 36. DFD Tipz • Rule 5 again: Time and place are not important. • It does not matter whether one data flow occurs before or after another data flow, or in which office it happens. • Don’t worry about how or when a process happens. It just happens!
  • 37. DFD Tipz • Data flows are pathways for data. Think about what data is needed to perform a process or update a data store. • Rule 6: A DFD is not a flowchart and should not have loops or transfer of control. • Rule 7: Keep your DFD clear and easy to read – avoid crowding or crossed data flow lines.
  • 38. DFD Tipz • Do not try to put everything you know on the DFD. • The DFD should serve as an index and outline. • Details are fleshed out in other places such as the data dictionary, data structure diagrams, flowcharts etc.
  • 39. EXAM DFD – SD 2006 A company, No Blots, supplies ink cartridges for printers which are sold only through the internet. When customers place an order, the order is checked, a confirmation is sent back to the customer and the details of the order are sent to the warehouse. The diagram below shows the data flow diagram (DFD) for the No Blots online purchasing system. The diagram does not show the data sources and destinations. a. In a DFD a circle represents a process. Briefly explain what is meant by a process. (1) b. b. In the DFD, what do the symbols labelled stock and orders represent? (1)
  • 40. c. Complete the context diagram below for the No Blots system. (3) (The previous DFD is here again so you can refer to it) Proceed only when you have worked out your solution…
  • 42. DFD Analysis In this DFD, which “nonstandard shape represents a data store? It has “books” appearing. Does this obey DFD rules?
  • 43. Acknowledgements • Thanks to Kenneth A. Kozar for DFD info at • http://spot.colorado.edu/%7Ekozar/DFDtechnique.html • Another great site (even if it does naughtily show material flows as well as data flows)... http://yourdon.com/strucanalysis/wiki/index.php? title=Chapter_9
  • 44. IT APPLICATIONS SLIDESHOWS By Mark Kelly McKinnon Secondary College vceit.com These slideshows may be freely used, modified or distributed by teachers and students anywhere on the planet (but not elsewhere). They may NOT be sold. They must NOT be redistributed if you modify them.