SlideShare une entreprise Scribd logo
1  sur  14
Data-flow Diagrams
Chapter 17
Elements of data-flow diagrams
   There are four basic elements of data flow diagrams:
       Data Transforms: where data is filtered, formatted or
        synthesized.
       Information sources and sinks: essentially inputs and
        outputs to the system.
       Information stores: where information is kept for the
        duration of system activity.
       Information Flows: data that is passed into and out of
        transforms, information stores.
Information flows
   Information flows represent the information
    being passed into or out of a transform,
    source, sink or store. It is represented as a
    labeled arrow:



                 Taxable Income
Data transforms
   Data transforms labeled circles with one or
    more incoming and outgoing information
    flows:

               Taxable
               Income
                         Calculate   Tax owed

          Tax Tables       Tax
Information sources and sinks
   Information sources and sinks are information
    that come into the system, or leave the
    system, and are represented by squares:


                                        Pay
        Hours                           Stub
                        Payroll
                        System          Pay
        Rate                           Check
Information stores
   Information Stores represent locations where
    information can be store for the duration of
    the system activity:


               Total Payroll Expense
Refining DFDs
   DFDs are “refined” (decomposed) to the point that
    they contain only “primitive” transforms. They are
    refined by drawing another DFD as if they were a
    system in themselves!
   A “primitive” transform has only one input flow or
    only one output flow (note that it can have multiple
    input flows or multiple output flows, but not both!)
Heritage numbers
   Refinement of DFDs leads to a problem in larger
    systems: we have a large number of diagrams!
    When we look at a diagram by itself the only way
    we can tell what it represents is by looking at the
    parent diagram.
   Heritage numbers allow this. A data transform
    numbered 2.4.3 is the child of DFD number 2.4
    which is the child of DFD 2 in the level 1 DFD
    diagram.
The data dictionary
   As the data is defined in the DFD (the flows),
    definitions should be entered in the ‘data dictionary’.
   The ‘data dictionary’ is a reference that allows us to
    determine the type of the named data (int, float,
    struct, whatever.)
   This will be essential during the programming phase,
    when knowing what variable names to use.
Checking DFDs - CASE tools
   Since DFDs are a formal method, tools have
    been developed that allow automated drawing
    of the DFDs, and management of refined
    DFDs.
   Since this can be automated, checking DFDs
    can also be automated (such as ‘Process
    Analyst’).
Structure charts
   Translation of a DFD to a ‘structure’ chart is a
    mechanical procedure (see the book.)
   The procedure involves ‘isolating’ the central
    transform area, which is independent of the format
    transforms and the validation transforms.
   Structure charts also provide a schematic showing
    the flow of the data in a control diagram!
   Now we have a complete picture: DFDs show how
    the data flows, and structure charts show how
    control is passed!
Payroll System
                                      Format
                                      Paycheck

 Employee
 Records                                             Paychecks
                                                     and Stubs
                    Calculate
                    Withholding



                                        Format
                                        Accounting
        Calculate
        Gross Pay                                    Accounting
                                                     Reports

                           Validate
                           Timecard


       Employee                                            Input/output stream
       Timecards                                           At highest abstraction

                                                                   Central transform
Payroll System




Validate Timecard   Calculate Net Pay     Format Paycheck              Format Accounting




Get Imployee Info   Calculate Gross Pay        Calculate Withholding
Implementing a DFD
   Once we have a structure chart, the actual
    implementation also becomes mechanical.
    An essential pre-defined form becomes
    apparent for implementing structure charts.
    An example using C is available in the book.

Contenu connexe

Tendances

Flowchart symbols
Flowchart symbolsFlowchart symbols
Flowchart symbols
giz82
 
Assignment on diagram and flowchart 1
Assignment on diagram and flowchart 1Assignment on diagram and flowchart 1
Assignment on diagram and flowchart 1
Swarnima Tiwari
 
ERP web based system
ERP web based systemERP web based system
ERP web based system
Bill Chea
 
133 erp605 process_overview_en_xx
133 erp605 process_overview_en_xx133 erp605 process_overview_en_xx
133 erp605 process_overview_en_xx
sayantan sen
 
Flow chart a technique of process communication
Flow chart  a technique of process communicationFlow chart  a technique of process communication
Flow chart a technique of process communication
Rajesh Patel
 
22827361 ab initio-fa-qs
22827361 ab initio-fa-qs22827361 ab initio-fa-qs
22827361 ab initio-fa-qs
Capgemini
 

Tendances (19)

Flowchart symbols
Flowchart symbolsFlowchart symbols
Flowchart symbols
 
Assignment on diagram and flowchart 1
Assignment on diagram and flowchart 1Assignment on diagram and flowchart 1
Assignment on diagram and flowchart 1
 
What is a flowchart
What is a flowchartWhat is a flowchart
What is a flowchart
 
Flowchart symbols meaning explained
Flowchart symbols meaning explainedFlowchart symbols meaning explained
Flowchart symbols meaning explained
 
Receive payment flowe
Receive payment floweReceive payment flowe
Receive payment flowe
 
Flowchart
FlowchartFlowchart
Flowchart
 
Cash management configue doc v1
Cash management   configue doc v1Cash management   configue doc v1
Cash management configue doc v1
 
Lecture 19...unit 3.....se
Lecture 19...unit 3.....seLecture 19...unit 3.....se
Lecture 19...unit 3.....se
 
Flowcharts
FlowchartsFlowcharts
Flowcharts
 
ERP web based system
ERP web based systemERP web based system
ERP web based system
 
Fi aa
Fi aaFi aa
Fi aa
 
2 flow charts
2 flow charts2 flow charts
2 flow charts
 
Structure chart
Structure chartStructure chart
Structure chart
 
133 erp605 process_overview_en_xx
133 erp605 process_overview_en_xx133 erp605 process_overview_en_xx
133 erp605 process_overview_en_xx
 
Fico troubleshooting
Fico troubleshootingFico troubleshooting
Fico troubleshooting
 
Flow chart a technique of process communication
Flow chart  a technique of process communicationFlow chart  a technique of process communication
Flow chart a technique of process communication
 
Flow charts
Flow chartsFlow charts
Flow charts
 
22827361 ab initio-fa-qs
22827361 ab initio-fa-qs22827361 ab initio-fa-qs
22827361 ab initio-fa-qs
 
175 scen overview_en_cn
175 scen overview_en_cn175 scen overview_en_cn
175 scen overview_en_cn
 

En vedette (13)

K11579 (himanshu chahuan ) or
K11579 (himanshu chahuan ) orK11579 (himanshu chahuan ) or
K11579 (himanshu chahuan ) or
 
Blood bank
Blood bankBlood bank
Blood bank
 
Object diagram
Object diagramObject diagram
Object diagram
 
Entity Relationship Diagrams
Entity Relationship DiagramsEntity Relationship Diagrams
Entity Relationship Diagrams
 
Data Flow Diagram_DFD
Data Flow Diagram_DFDData Flow Diagram_DFD
Data Flow Diagram_DFD
 
Blood Bank Management System
Blood Bank Management SystemBlood Bank Management System
Blood Bank Management System
 
Online blood bank management system
Online blood bank management systemOnline blood bank management system
Online blood bank 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)
 
BLOOD BANK SOFTWARE PRESENTATION
BLOOD BANK SOFTWARE PRESENTATIONBLOOD BANK SOFTWARE PRESENTATION
BLOOD BANK SOFTWARE PRESENTATION
 
SRS on Online Blood Bank Managment system...
SRS on Online Blood Bank Managment system... SRS on Online Blood Bank Managment system...
SRS on Online Blood Bank Managment system...
 
Dfd examples
Dfd examplesDfd examples
Dfd examples
 
Data Flow Diagram Example
Data Flow Diagram ExampleData Flow Diagram Example
Data Flow Diagram Example
 
Entity relationship diagram (erd)
Entity relationship diagram (erd)Entity relationship diagram (erd)
Entity relationship diagram (erd)
 

Similaire à Chapter17

Information system
Information systemInformation system
Information system
eyetee
 
14 functional design
14 functional design14 functional design
14 functional design
randhirlpu
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram
Nidhi Sharma
 

Similaire à Chapter17 (20)

Dfd2
Dfd2Dfd2
Dfd2
 
System flow charts @ doms
System flow charts @  domsSystem flow charts @  doms
System flow charts @ doms
 
Hyperion-Strategic Finanace
Hyperion-Strategic FinanaceHyperion-Strategic Finanace
Hyperion-Strategic Finanace
 
Information system
Information systemInformation system
Information system
 
Data flow diagrams dfd
Data flow diagrams dfdData flow diagrams dfd
Data flow diagrams dfd
 
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
 
Chapter 3 AIS.pptx
Chapter 3 AIS.pptxChapter 3 AIS.pptx
Chapter 3 AIS.pptx
 
14 functional design
14 functional design14 functional design
14 functional design
 
Check printing in_r12
Check printing in_r12Check printing in_r12
Check printing in_r12
 
Df dpayroll2
Df dpayroll2Df dpayroll2
Df dpayroll2
 
patanali
patanalipatanali
patanali
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram
 
Isu crm facts 01.doc
Isu crm facts 01.docIsu crm facts 01.doc
Isu crm facts 01.doc
 
James hall ch 6
James hall ch 6James hall ch 6
James hall ch 6
 
Hr Works 2016 Payroll......UAE New Generation HRMS
Hr Works 2016 Payroll......UAE New Generation HRMSHr Works 2016 Payroll......UAE New Generation HRMS
Hr Works 2016 Payroll......UAE New Generation HRMS
 
SAP General Terms
SAP General TermsSAP General Terms
SAP General Terms
 
tools_for_design (1). tools for design of systems
tools_for_design (1). tools for design of systemstools_for_design (1). tools for design of systems
tools_for_design (1). tools for design of systems
 
Free ebooks download ! Edhole
Free ebooks download ! EdholeFree ebooks download ! Edhole
Free ebooks download ! Edhole
 
Free ebooks download ! Edhole
Free ebooks download ! EdholeFree ebooks download ! Edhole
Free ebooks download ! Edhole
 

Dernier

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Dernier (20)

How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 

Chapter17

  • 2. Elements of data-flow diagrams  There are four basic elements of data flow diagrams:  Data Transforms: where data is filtered, formatted or synthesized.  Information sources and sinks: essentially inputs and outputs to the system.  Information stores: where information is kept for the duration of system activity.  Information Flows: data that is passed into and out of transforms, information stores.
  • 3. Information flows  Information flows represent the information being passed into or out of a transform, source, sink or store. It is represented as a labeled arrow: Taxable Income
  • 4. Data transforms  Data transforms labeled circles with one or more incoming and outgoing information flows: Taxable Income Calculate Tax owed Tax Tables Tax
  • 5. Information sources and sinks  Information sources and sinks are information that come into the system, or leave the system, and are represented by squares: Pay Hours Stub Payroll System Pay Rate Check
  • 6. Information stores  Information Stores represent locations where information can be store for the duration of the system activity: Total Payroll Expense
  • 7. Refining DFDs  DFDs are “refined” (decomposed) to the point that they contain only “primitive” transforms. They are refined by drawing another DFD as if they were a system in themselves!  A “primitive” transform has only one input flow or only one output flow (note that it can have multiple input flows or multiple output flows, but not both!)
  • 8. Heritage numbers  Refinement of DFDs leads to a problem in larger systems: we have a large number of diagrams! When we look at a diagram by itself the only way we can tell what it represents is by looking at the parent diagram.  Heritage numbers allow this. A data transform numbered 2.4.3 is the child of DFD number 2.4 which is the child of DFD 2 in the level 1 DFD diagram.
  • 9. The data dictionary  As the data is defined in the DFD (the flows), definitions should be entered in the ‘data dictionary’.  The ‘data dictionary’ is a reference that allows us to determine the type of the named data (int, float, struct, whatever.)  This will be essential during the programming phase, when knowing what variable names to use.
  • 10. Checking DFDs - CASE tools  Since DFDs are a formal method, tools have been developed that allow automated drawing of the DFDs, and management of refined DFDs.  Since this can be automated, checking DFDs can also be automated (such as ‘Process Analyst’).
  • 11. Structure charts  Translation of a DFD to a ‘structure’ chart is a mechanical procedure (see the book.)  The procedure involves ‘isolating’ the central transform area, which is independent of the format transforms and the validation transforms.  Structure charts also provide a schematic showing the flow of the data in a control diagram!  Now we have a complete picture: DFDs show how the data flows, and structure charts show how control is passed!
  • 12. Payroll System Format Paycheck Employee Records Paychecks and Stubs Calculate Withholding Format Accounting Calculate Gross Pay Accounting Reports Validate Timecard Employee Input/output stream Timecards At highest abstraction Central transform
  • 13. Payroll System Validate Timecard Calculate Net Pay Format Paycheck Format Accounting Get Imployee Info Calculate Gross Pay Calculate Withholding
  • 14. Implementing a DFD  Once we have a structure chart, the actual implementation also becomes mechanical. An essential pre-defined form becomes apparent for implementing structure charts. An example using C is available in the book.