SlideShare ist ein Scribd-Unternehmen logo
1 von 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.

Weitere ähnliche Inhalte

Was ist angesagt?

Flowchart symbols
Flowchart symbolsFlowchart symbols
Flowchart symbolsgiz82
 
Assignment on diagram and flowchart 1
Assignment on diagram and flowchart 1Assignment on diagram and flowchart 1
Assignment on diagram and flowchart 1Swarnima Tiwari
 
What is a flowchart
What is a flowchartWhat is a flowchart
What is a flowchartCLI-IE
 
Flowchart symbols meaning explained
Flowchart symbols meaning explainedFlowchart symbols meaning explained
Flowchart symbols meaning explainedEliza Wright
 
Receive payment flowe
Receive payment floweReceive payment flowe
Receive payment floweAnil Kumar G
 
Cash management configue doc v1
Cash management   configue doc v1Cash management   configue doc v1
Cash management configue doc v1Hari Krishna
 
Lecture 19...unit 3.....se
Lecture 19...unit 3.....seLecture 19...unit 3.....se
Lecture 19...unit 3.....sePraveen Nelapati
 
ERP web based system
ERP web based systemERP web based system
ERP web based systemBill Chea
 
Structure chart
Structure chartStructure chart
Structure chartArjun R
 
133 erp605 process_overview_en_xx
133 erp605 process_overview_en_xx133 erp605 process_overview_en_xx
133 erp605 process_overview_en_xxsayantan sen
 
Fico troubleshooting
Fico troubleshootingFico troubleshooting
Fico troubleshootingvinayk_35919
 
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 communicationRajesh Patel
 
22827361 ab initio-fa-qs
22827361 ab initio-fa-qs22827361 ab initio-fa-qs
22827361 ab initio-fa-qsCapgemini
 
175 scen overview_en_cn
175 scen overview_en_cn175 scen overview_en_cn
175 scen overview_en_cnvenkat2madhu
 

Was ist angesagt? (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
 

Andere mochten auch

K11579 (himanshu chahuan ) or
K11579 (himanshu chahuan ) orK11579 (himanshu chahuan ) or
K11579 (himanshu chahuan ) orcpume
 
Object diagram
Object diagramObject diagram
Object diagramRahul Pola
 
Data Flow Diagram_DFD
Data Flow Diagram_DFDData Flow Diagram_DFD
Data Flow Diagram_DFDCoT
 
Blood Bank Management System
Blood Bank Management SystemBlood Bank Management System
Blood Bank Management SystemChirag N Jain
 
Online blood bank management system
Online blood bank management systemOnline blood bank management system
Online blood bank management systemskk4646
 
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
 
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... GCWUF
 
Dfd examples
Dfd examplesDfd examples
Dfd examplesMohit
 
Data Flow Diagram Example
Data Flow Diagram ExampleData Flow Diagram Example
Data Flow Diagram ExampleKaviarasu D
 
Entity relationship diagram (erd)
Entity relationship diagram (erd)Entity relationship diagram (erd)
Entity relationship diagram (erd)tameemyousaf
 

Andere mochten auch (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)
 

Ähnlich wie Chapter17

System flow charts @ doms
System flow charts @  domsSystem flow charts @  doms
System flow charts @ domsBabasab Patil
 
Hyperion-Strategic Finanace
Hyperion-Strategic FinanaceHyperion-Strategic Finanace
Hyperion-Strategic Finanacesailajasatish
 
Information system
Information systemInformation system
Information systemeyetee
 
Data flow diagrams dfd
Data flow diagrams dfdData flow diagrams dfd
Data flow diagrams dfdAlam Fareed
 
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
 
14 functional design
14 functional design14 functional design
14 functional designrandhirlpu
 
Check printing in_r12
Check printing in_r12Check printing in_r12
Check printing in_r12Rajesh Khatri
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram Nidhi Sharma
 
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 HRMSBarbara Samardžija
 
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 systemsLindaCheong2
 
Free ebooks download ! Edhole
Free ebooks download ! EdholeFree ebooks download ! Edhole
Free ebooks download ! EdholeEdhole.com
 
Free ebooks download ! Edhole
Free ebooks download ! EdholeFree ebooks download ! Edhole
Free ebooks download ! EdholeEdhole.com
 

Ähnlich wie 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
 

Kürzlich hochgeladen

PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxAmita Gupta
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
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.pdfNirmal Dwivedi
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxdhanalakshmis0310
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 

Kürzlich hochgeladen (20)

PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
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
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 

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.