SlideShare a Scribd company logo
1 of 9
1
SOFTWARE ENGINEERING
DATA FLOW DIAGRAM
Learning outcomes:
 Describe the steps to approach the construction of multi-level DFDs
 Develop context diagrams
 Develop Level 0 DFDs
 Develop Level 1 DFDs
Steps to Construct DFDs:
 Build the context diagram
 Create the level 0 diagram.
 Decompose level 0 processes into level 1 DFDs
 Decompose level 1 processes into level 2 DFDs and decompose further if needed
Creating the context diagram
 Identify ‘user roles’ (external entities)
 Identify the information that each external entity sends to the system and receives from
the system
Creating the level 0 DFD
 Identify the major functions of the system (processes)
 Identify which processes produce the data sent to the external entities and which
processes require the data produced by the external entities
 Identify data flows and data stores and their interaction
 Data flow to data store means ‘update’, data flow from data store means ‘retrieve’
Creating level 1, level 2, etc. DFDs
 Functional decomposition in an iterative process which results in DFDs that give more
details about a process
 The lowest level DFDs are called primitive DFDs
 Describing a process can help to decide whether it is necessary to decompose the
corresponding DFD
 If a process requires to carry out several tasks (logical functions), it is a good candidate
for decomposition
 Ensure the conservation of inputs and outputs (data flows) when decomposing
processes (balancing)
 Ensure completeness, consistency, no timing dependence, iterative development,
creation of primitive DFDs
2
Example No 1
The DFD takes an input-process-output view of a system. That is, data objects flow into the
software, are transformed by processing elements, and resultant data objects flow out of the
software. Data objects are represented by labeled arrows, and transformations are represented
by circles (also called bubbles). The DFD is presented in a hierarchical fashion. That is, the first
data flow model (sometimes called a level 0 DFD or context diagram) represents the systemas a
whole
A level 0 DFD for the security function is shown in Figure. The primary external entities (boxes)
produce information for use by the systemand consume information generated by the system.
The level 0 DFD must now be expanded into a level 1 data flow model. Let us consider the
narrative of the Safehome
During installation, the SafeHome PC is used to program and configure the system. Each sensor
is assigned a number and type, a master password is programmed for arming and disarming the
system, and telephone number(s) are input for dialing when a sensor event occurs.
When asensor event is recognized, the software invokes an audible alarmattached to the system.
After a delay time that is specified by the homeowner during system configuration activities, the
software dials a telephone number of a monitoring service, provides information about the
location, reporting the nature of the event that has been detected. The telephone number will
be redialed every 20 seconds until telephone connection is obtained.
3
The homeowner receives security information via a control panel, the PC, or a browser,
collectively called an interface. The interface displays prompting messages and system status
information on the control panel, the PC, or the browser window.
Level 1 DFD for Safehome
4
Level 2 DFD for Monitor Sensors Process
Example No. 2
Creating Data Flow Diagrams: Lemonade Stand Example
The operations of a simple lemonade stand will be used to demonstrate the creation of
dataflow diagrams. Steps are as follows:
1. Create a list of activities
2. Construct Context Level DFD
(identifies sources and sink)
3. Construct Level 0 DFD
(identifies manageable sub processes )
4. Construct Level 1- n DFD
(identifies actual data flows and data stores )
5
Think through the activities that take place at a lemonade stand. Create a list of activities:
 Customer Order
 Serve Product
 Collect Payment
 Produce Product
 Store Product
Also think of the additional activities needed to support the basic activities.
 Customer Order
 Serve Product
 Collect Payment
 Produce Product
 Store Product
 Order Raw Materials
 Pay for Raw Materials
 Pay for Labor
Group these activities in some logical fashion, possibly functional areas:
Group 1
 Customer Order
 Serve Product
 Collect Payment
Group 2
 Produce Product
 Store Product
 Order Raw Materials
Group 3
 Pay for Raw Materials
 Pay for Labor
6
Create a context level diagram identifying the sources and sinks (users).
Create a level 0 diagram identifying the logical subsystems that may exist
7
Create a level 1 decomposing the processes in level 0 and identifying data stores.
 Customer Order
 Collect Payment
 Serve Product
 Produce Product
 Store Product
8
 Order Raw Materials
 Pay for Raw Materials
 Pay for Labor
9
Example No 3
University Registration System. The system should enable staff of each academic department to
examine the modules offered by their department, add and remove modules, and change the
information about them (e.g. the maximum number of students permitted). It should permit
students to examine currently available modules, add and drop modules to and from their
schedules, and examine the modules for which they are enrolled. Department staff should be
able to print a variety of reports about the modules and the students enrolled in them. The
system should ensure that no student takes too many modules and that students who have any
unpaid fees are not permitted to register (students can verify their fee paying status). Note:
assume that a fees data store is maintained by the university’s financial office and this data store
is accessed by the registration systembut the fees data store is not modified by the registration
system.
Class Task: Draw level 0 and level 1 diagram for the following system
Home Task: Bus Garage Repairs
 Buses come to a garage for repairs.
 A mechanic and helper perform the repair, record the reason for the repair and record
the total cost of all parts used on a Shop Repair Order.
 Information on labor, parts and repair outcome is used for billing by the Accounting
Department, parts monitoring by the inventory management computer systemand a
performance review by the supervisor.

More Related Content

What's hot

Decision table
Decision tableDecision table
Decision tableDMANIMALA
 
Overview of computing paradigm
Overview of computing paradigmOverview of computing paradigm
Overview of computing paradigmRipal Ranpara
 
Cake shop billing system
Cake shop billing systemCake shop billing system
Cake shop billing systemAkshita Pillai
 
CS8791 Cloud Computing - Question Bank
CS8791 Cloud Computing - Question BankCS8791 Cloud Computing - Question Bank
CS8791 Cloud Computing - Question Bankpkaviya
 
Training and placement
Training and placementTraining and placement
Training and placementBhavesh Parmar
 
Report On Bus Ticket Reservation
Report On Bus Ticket ReservationReport On Bus Ticket Reservation
Report On Bus Ticket ReservationAl Shahin
 
College Management System
College Management SystemCollege Management System
College Management SystemAsfaque Khalid
 
University management system
University management systemUniversity management system
University management systemVINITSAMMIR
 
Alumni Management System
Alumni Management SystemAlumni Management System
Alumni Management Systemsneha indulkar
 
Blood Bank Management System (including UML diagrams)
Blood Bank Management System (including UML diagrams)Blood Bank Management System (including UML diagrams)
Blood Bank Management System (including UML diagrams)Harshil Darji
 
Inventory Managment
Inventory ManagmentInventory Managment
Inventory Managmentsai prakash
 
School management System
School management SystemSchool management System
School management SystemHATIM Bhagat
 
Hostel Management System(HMS)
Hostel Management  System(HMS)Hostel Management  System(HMS)
Hostel Management System(HMS)Omkar Walavalkar
 
A brief history of cloud computing
A brief history of cloud computingA brief history of cloud computing
A brief history of cloud computingOneserve
 
Web Development on Web Project Report
Web Development on Web Project ReportWeb Development on Web Project Report
Web Development on Web Project ReportMilind Gokhale
 
Parallel computing and its applications
Parallel computing and its applicationsParallel computing and its applications
Parallel computing and its applicationsBurhan Ahmed
 
Decision tree- System analysis and design
Decision tree- System analysis and designDecision tree- System analysis and design
Decision tree- System analysis and designProf.Nilesh Magar
 
Issues in cloud computing
Issues in cloud computingIssues in cloud computing
Issues in cloud computingronak patel
 

What's hot (20)

Decision table
Decision tableDecision table
Decision table
 
Overview of computing paradigm
Overview of computing paradigmOverview of computing paradigm
Overview of computing paradigm
 
Cake shop billing system
Cake shop billing systemCake shop billing system
Cake shop billing system
 
FAKE Review Detection
FAKE Review DetectionFAKE Review Detection
FAKE Review Detection
 
CS8791 Cloud Computing - Question Bank
CS8791 Cloud Computing - Question BankCS8791 Cloud Computing - Question Bank
CS8791 Cloud Computing - Question Bank
 
Training and placement
Training and placementTraining and placement
Training and placement
 
Report On Bus Ticket Reservation
Report On Bus Ticket ReservationReport On Bus Ticket Reservation
Report On Bus Ticket Reservation
 
College Management System
College Management SystemCollege Management System
College Management System
 
Slides chapter 8
Slides chapter 8Slides chapter 8
Slides chapter 8
 
University management system
University management systemUniversity management system
University management system
 
Alumni Management System
Alumni Management SystemAlumni Management System
Alumni Management System
 
Blood Bank Management System (including UML diagrams)
Blood Bank Management System (including UML diagrams)Blood Bank Management System (including UML diagrams)
Blood Bank Management System (including UML diagrams)
 
Inventory Managment
Inventory ManagmentInventory Managment
Inventory Managment
 
School management System
School management SystemSchool management System
School management System
 
Hostel Management System(HMS)
Hostel Management  System(HMS)Hostel Management  System(HMS)
Hostel Management System(HMS)
 
A brief history of cloud computing
A brief history of cloud computingA brief history of cloud computing
A brief history of cloud computing
 
Web Development on Web Project Report
Web Development on Web Project ReportWeb Development on Web Project Report
Web Development on Web Project Report
 
Parallel computing and its applications
Parallel computing and its applicationsParallel computing and its applications
Parallel computing and its applications
 
Decision tree- System analysis and design
Decision tree- System analysis and designDecision tree- System analysis and design
Decision tree- System analysis and design
 
Issues in cloud computing
Issues in cloud computingIssues in cloud computing
Issues in cloud computing
 

Viewers also liked

Lecture 14 requirements modeling - flow and behavior
Lecture 14   requirements modeling - flow and  behaviorLecture 14   requirements modeling - flow and  behavior
Lecture 14 requirements modeling - flow and behaviorIIUI
 
BTEC National in ICT: Unit 3 - Data vs Information
BTEC National in ICT: Unit 3 - Data vs InformationBTEC National in ICT: Unit 3 - Data vs Information
BTEC National in ICT: Unit 3 - Data vs Informationmrcox
 
Data Flow 2
Data Flow 2Data Flow 2
Data Flow 2MISY
 
Data Flow Diagram_DFD
Data Flow Diagram_DFDData Flow Diagram_DFD
Data Flow Diagram_DFDCoT
 
BTEC National in ICT: Unit 3 - Data Flow Diagrams Introduction
BTEC National in ICT: Unit 3 - Data Flow Diagrams IntroductionBTEC National in ICT: Unit 3 - Data Flow Diagrams Introduction
BTEC National in ICT: Unit 3 - Data Flow Diagrams Introductionmrcox
 
BTEC National in ICT: Unit 3 - MIS Tools
BTEC National in ICT: Unit 3 - MIS ToolsBTEC National in ICT: Unit 3 - MIS Tools
BTEC National in ICT: Unit 3 - MIS Toolsmrcox
 
BTEC National in ICT: Unit 3 - More on DFDs
BTEC National in ICT: Unit 3 - More on DFDsBTEC National in ICT: Unit 3 - More on DFDs
BTEC National in ICT: Unit 3 - More on DFDsmrcox
 
BTEC National in ICT: Unit 3 - Introduction in Access
BTEC National in ICT: Unit 3 - Introduction in AccessBTEC National in ICT: Unit 3 - Introduction in Access
BTEC National in ICT: Unit 3 - Introduction in Accessmrcox
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and DesignHaitham El-Ghareeb
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram Nidhi Sharma
 
Structured Vs, Object Oriented Analysis and Design
Structured Vs, Object Oriented Analysis and DesignStructured Vs, Object Oriented Analysis and Design
Structured Vs, Object Oriented Analysis and DesignMotaz Saad
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case DiagramAshesh R
 
Dfd examples
Dfd examplesDfd examples
Dfd examplesMohit
 
Data Flow Diagram Example
Data Flow Diagram ExampleData Flow Diagram Example
Data Flow Diagram ExampleKaviarasu D
 
Hospital management system project
Hospital management system projectHospital management system project
Hospital management system projectHimani Chopra
 

Viewers also liked (17)

Lecture 14 requirements modeling - flow and behavior
Lecture 14   requirements modeling - flow and  behaviorLecture 14   requirements modeling - flow and  behavior
Lecture 14 requirements modeling - flow and behavior
 
BTEC National in ICT: Unit 3 - Data vs Information
BTEC National in ICT: Unit 3 - Data vs InformationBTEC National in ICT: Unit 3 - Data vs Information
BTEC National in ICT: Unit 3 - Data vs Information
 
Data Flow 2
Data Flow 2Data Flow 2
Data Flow 2
 
Data Flow Diagram_DFD
Data Flow Diagram_DFDData Flow Diagram_DFD
Data Flow Diagram_DFD
 
BTEC National in ICT: Unit 3 - Data Flow Diagrams Introduction
BTEC National in ICT: Unit 3 - Data Flow Diagrams IntroductionBTEC National in ICT: Unit 3 - Data Flow Diagrams Introduction
BTEC National in ICT: Unit 3 - Data Flow Diagrams Introduction
 
BTEC National in ICT: Unit 3 - MIS Tools
BTEC National in ICT: Unit 3 - MIS ToolsBTEC National in ICT: Unit 3 - MIS Tools
BTEC National in ICT: Unit 3 - MIS Tools
 
BTEC National in ICT: Unit 3 - More on DFDs
BTEC National in ICT: Unit 3 - More on DFDsBTEC National in ICT: Unit 3 - More on DFDs
BTEC National in ICT: Unit 3 - More on DFDs
 
BTEC National in ICT: Unit 3 - Introduction in Access
BTEC National in ICT: Unit 3 - Introduction in AccessBTEC National in ICT: Unit 3 - Introduction in Access
BTEC National in ICT: Unit 3 - Introduction in Access
 
Dfd examples
Dfd examplesDfd examples
Dfd examples
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram
 
Structured Vs, Object Oriented Analysis and Design
Structured Vs, Object Oriented Analysis and DesignStructured Vs, Object Oriented Analysis and Design
Structured Vs, Object Oriented Analysis and Design
 
Ooad unit – 1 introduction
Ooad unit – 1 introductionOoad unit – 1 introduction
Ooad unit – 1 introduction
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Dfd examples
Dfd examplesDfd examples
Dfd examples
 
Data Flow Diagram Example
Data Flow Diagram ExampleData Flow Diagram Example
Data Flow Diagram Example
 
Hospital management system project
Hospital management system projectHospital management system project
Hospital management system project
 

Similar to Data flow diagram

DATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.pptDATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.pptsures4
 
DATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.pptDATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.pptsures4
 
Data Flow Diagram (Risath)
Data Flow Diagram (Risath)Data Flow Diagram (Risath)
Data Flow Diagram (Risath)Ahameth Risath
 
Software engg. pressman_ch-8
Software engg. pressman_ch-8Software engg. pressman_ch-8
Software engg. pressman_ch-8Dhairya Joshi
 
SWE-401 - 6. Software Analysis and Design Tools
SWE-401 - 6. Software Analysis and Design ToolsSWE-401 - 6. Software Analysis and Design Tools
SWE-401 - 6. Software Analysis and Design Toolsghayour abbas
 
208-dataflowdgm_5.ppt
208-dataflowdgm_5.ppt208-dataflowdgm_5.ppt
208-dataflowdgm_5.pptTalhaNazeer5
 
208-dataflowdgm.ppt
208-dataflowdgm.ppt208-dataflowdgm.ppt
208-dataflowdgm.pptRAJA RAY
 
data flow diagram power point presentation
data flow diagram power point presentationdata flow diagram power point presentation
data flow diagram power point presentationSUBHASHREEBASU5
 
Data Flow Diagram (DFD)
Data Flow Diagram (DFD)Data Flow Diagram (DFD)
Data Flow Diagram (DFD)Anowar Hossain
 
Dfd over flowcharts
Dfd over flowcharts Dfd over flowcharts
Dfd over flowcharts Ashwathy Nair
 
How to draw dfd with multiple context levels
How to draw dfd with multiple context levelsHow to draw dfd with multiple context levels
How to draw dfd with multiple context levelsCurtis Tsang
 
Data Flow Diagram.pptx
Data Flow Diagram.pptxData Flow Diagram.pptx
Data Flow Diagram.pptxtalhajann43
 

Similar to Data flow diagram (20)

DATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.pptDATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.ppt
 
DATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.pptDATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.ppt
 
Data Flow Diagrams
Data Flow DiagramsData Flow Diagrams
Data Flow Diagrams
 
Data Flow Diagram (Risath)
Data Flow Diagram (Risath)Data Flow Diagram (Risath)
Data Flow Diagram (Risath)
 
Dfd2
Dfd2Dfd2
Dfd2
 
DataFlowDiagram.ppt
DataFlowDiagram.pptDataFlowDiagram.ppt
DataFlowDiagram.ppt
 
Software engg. pressman_ch-8
Software engg. pressman_ch-8Software engg. pressman_ch-8
Software engg. pressman_ch-8
 
Dfd final
Dfd finalDfd final
Dfd final
 
SWE-401 - 6. Software Analysis and Design Tools
SWE-401 - 6. Software Analysis and Design ToolsSWE-401 - 6. Software Analysis and Design Tools
SWE-401 - 6. Software Analysis and Design Tools
 
DFD Slides
DFD SlidesDFD Slides
DFD Slides
 
208-dataflowdgm_5.ppt
208-dataflowdgm_5.ppt208-dataflowdgm_5.ppt
208-dataflowdgm_5.ppt
 
208-dataflowdgm.ppt
208-dataflowdgm.ppt208-dataflowdgm.ppt
208-dataflowdgm.ppt
 
data flow diagram power point presentation
data flow diagram power point presentationdata flow diagram power point presentation
data flow diagram power point presentation
 
Data Flow Diagram (DFD)
Data Flow Diagram (DFD)Data Flow Diagram (DFD)
Data Flow Diagram (DFD)
 
Dfd over flowcharts
Dfd over flowcharts Dfd over flowcharts
Dfd over flowcharts
 
The DFD
The DFDThe DFD
The DFD
 
How to draw dfd with multiple context levels
How to draw dfd with multiple context levelsHow to draw dfd with multiple context levels
How to draw dfd with multiple context levels
 
DFD Week 08.pptx
DFD Week 08.pptxDFD Week 08.pptx
DFD Week 08.pptx
 
Data Flow Diagram.pptx
Data Flow Diagram.pptxData Flow Diagram.pptx
Data Flow Diagram.pptx
 
Computers in management
Computers in managementComputers in management
Computers in management
 

Recently uploaded

NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...Amil Baba Dawood bangali
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一fhwihughh
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样vhwb25kk
 
Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Seán Kennedy
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceSapana Sha
 
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degreeyuu sss
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]📊 Markus Baersch
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
Easter Eggs From Star Wars and in cars 1 and 2
Easter Eggs From Star Wars and in cars 1 and 2Easter Eggs From Star Wars and in cars 1 and 2
Easter Eggs From Star Wars and in cars 1 and 217djon017
 
ASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel CanterASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel Cantervoginip
 
Statistics, Data Analysis, and Decision Modeling, 5th edition by James R. Eva...
Statistics, Data Analysis, and Decision Modeling, 5th edition by James R. Eva...Statistics, Data Analysis, and Decision Modeling, 5th edition by James R. Eva...
Statistics, Data Analysis, and Decision Modeling, 5th edition by James R. Eva...ssuserf63bd7
 
RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.natarajan8993
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort servicejennyeacort
 
Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)Cathrine Wilhelmsen
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDRafezzaman
 
Advanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsAdvanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsVICTOR MAESTRE RAMIREZ
 
Identifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population MeanIdentifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population MeanMYRABACSAFRA2
 

Recently uploaded (20)

NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
 
Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts Service
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
Easter Eggs From Star Wars and in cars 1 and 2
Easter Eggs From Star Wars and in cars 1 and 2Easter Eggs From Star Wars and in cars 1 and 2
Easter Eggs From Star Wars and in cars 1 and 2
 
ASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel CanterASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel Canter
 
Call Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort ServiceCall Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort Service
 
Statistics, Data Analysis, and Decision Modeling, 5th edition by James R. Eva...
Statistics, Data Analysis, and Decision Modeling, 5th edition by James R. Eva...Statistics, Data Analysis, and Decision Modeling, 5th edition by James R. Eva...
Statistics, Data Analysis, and Decision Modeling, 5th edition by James R. Eva...
 
RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
 
Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
 
Advanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsAdvanced Machine Learning for Business Professionals
Advanced Machine Learning for Business Professionals
 
Identifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population MeanIdentifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population Mean
 

Data flow diagram

  • 1. 1 SOFTWARE ENGINEERING DATA FLOW DIAGRAM Learning outcomes:  Describe the steps to approach the construction of multi-level DFDs  Develop context diagrams  Develop Level 0 DFDs  Develop Level 1 DFDs Steps to Construct DFDs:  Build the context diagram  Create the level 0 diagram.  Decompose level 0 processes into level 1 DFDs  Decompose level 1 processes into level 2 DFDs and decompose further if needed Creating the context diagram  Identify ‘user roles’ (external entities)  Identify the information that each external entity sends to the system and receives from the system Creating the level 0 DFD  Identify the major functions of the system (processes)  Identify which processes produce the data sent to the external entities and which processes require the data produced by the external entities  Identify data flows and data stores and their interaction  Data flow to data store means ‘update’, data flow from data store means ‘retrieve’ Creating level 1, level 2, etc. DFDs  Functional decomposition in an iterative process which results in DFDs that give more details about a process  The lowest level DFDs are called primitive DFDs  Describing a process can help to decide whether it is necessary to decompose the corresponding DFD  If a process requires to carry out several tasks (logical functions), it is a good candidate for decomposition  Ensure the conservation of inputs and outputs (data flows) when decomposing processes (balancing)  Ensure completeness, consistency, no timing dependence, iterative development, creation of primitive DFDs
  • 2. 2 Example No 1 The DFD takes an input-process-output view of a system. That is, data objects flow into the software, are transformed by processing elements, and resultant data objects flow out of the software. Data objects are represented by labeled arrows, and transformations are represented by circles (also called bubbles). The DFD is presented in a hierarchical fashion. That is, the first data flow model (sometimes called a level 0 DFD or context diagram) represents the systemas a whole A level 0 DFD for the security function is shown in Figure. The primary external entities (boxes) produce information for use by the systemand consume information generated by the system. The level 0 DFD must now be expanded into a level 1 data flow model. Let us consider the narrative of the Safehome During installation, the SafeHome PC is used to program and configure the system. Each sensor is assigned a number and type, a master password is programmed for arming and disarming the system, and telephone number(s) are input for dialing when a sensor event occurs. When asensor event is recognized, the software invokes an audible alarmattached to the system. After a delay time that is specified by the homeowner during system configuration activities, the software dials a telephone number of a monitoring service, provides information about the location, reporting the nature of the event that has been detected. The telephone number will be redialed every 20 seconds until telephone connection is obtained.
  • 3. 3 The homeowner receives security information via a control panel, the PC, or a browser, collectively called an interface. The interface displays prompting messages and system status information on the control panel, the PC, or the browser window. Level 1 DFD for Safehome
  • 4. 4 Level 2 DFD for Monitor Sensors Process Example No. 2 Creating Data Flow Diagrams: Lemonade Stand Example The operations of a simple lemonade stand will be used to demonstrate the creation of dataflow diagrams. Steps are as follows: 1. Create a list of activities 2. Construct Context Level DFD (identifies sources and sink) 3. Construct Level 0 DFD (identifies manageable sub processes ) 4. Construct Level 1- n DFD (identifies actual data flows and data stores )
  • 5. 5 Think through the activities that take place at a lemonade stand. Create a list of activities:  Customer Order  Serve Product  Collect Payment  Produce Product  Store Product Also think of the additional activities needed to support the basic activities.  Customer Order  Serve Product  Collect Payment  Produce Product  Store Product  Order Raw Materials  Pay for Raw Materials  Pay for Labor Group these activities in some logical fashion, possibly functional areas: Group 1  Customer Order  Serve Product  Collect Payment Group 2  Produce Product  Store Product  Order Raw Materials Group 3  Pay for Raw Materials  Pay for Labor
  • 6. 6 Create a context level diagram identifying the sources and sinks (users). Create a level 0 diagram identifying the logical subsystems that may exist
  • 7. 7 Create a level 1 decomposing the processes in level 0 and identifying data stores.  Customer Order  Collect Payment  Serve Product  Produce Product  Store Product
  • 8. 8  Order Raw Materials  Pay for Raw Materials  Pay for Labor
  • 9. 9 Example No 3 University Registration System. The system should enable staff of each academic department to examine the modules offered by their department, add and remove modules, and change the information about them (e.g. the maximum number of students permitted). It should permit students to examine currently available modules, add and drop modules to and from their schedules, and examine the modules for which they are enrolled. Department staff should be able to print a variety of reports about the modules and the students enrolled in them. The system should ensure that no student takes too many modules and that students who have any unpaid fees are not permitted to register (students can verify their fee paying status). Note: assume that a fees data store is maintained by the university’s financial office and this data store is accessed by the registration systembut the fees data store is not modified by the registration system. Class Task: Draw level 0 and level 1 diagram for the following system Home Task: Bus Garage Repairs  Buses come to a garage for repairs.  A mechanic and helper perform the repair, record the reason for the repair and record the total cost of all parts used on a Shop Repair Order.  Information on labor, parts and repair outcome is used for billing by the Accounting Department, parts monitoring by the inventory management computer systemand a performance review by the supervisor.