SlideShare ist ein Scribd-Unternehmen logo
1 von 22
Information Systems




  Data Flow Diagrams
                       1
Data Flow Diagrams
Objectives:
• To define what is meant by structured analysis
• To define the symbols used in a Data Flow
  Diagram (DFD)
• To draw a context diagram (Level 0 DFD) for a
  given scenario
• To refine a DFD to a more detailed (lower-
  level) view
Structured Analysis
• A widely-used top-down method for defining system
  inputs, processes and outputs.

• It shows how information flows through a system, using
  several diagrams showing progressively more and more
  detail at each level.

• The primary tool of structured analysis is the Data Flow
  Diagram (DFD).
Data Flow Diagrams
• Data Flow Diagrams
  – Model how information flows around a system, how it
    is processed and stored

  – Partition a system into independent units of more
    manageable size that is verifiable, concise and easily
    understood

  – Hierarchical
Drawing Data Flow Diagrams

• Cannot be achieved without
   – Paper or Computer
   – Cross-checking at every stage
   – Pain and Confusion!


• Eventually
   – Allow understanding of New System
   – Produce Invaluable Document


• Steps are for Guideline purposes only!
DFD Symbols - External Entity
• An external entity is often the source or destination of
  information e.g.
   – Customer




                          Entity
                          Name
DFD Symbols - Data Flow


                 NOT A VERB !!!




    Description of Data Flow
DFD Symbols - Data Stores

File identifier (Data store)


            D1      Data Store name



                   The system files
DFD Symbols - Processes

              No more than 7 per diagram

Sequence

                    1                               Location


                    Process Name




                Process Description (NOT WHERE or WHO)
DFD’s - Valid Connections

 External
                                        Process
                      Data Flow
 Entity
 (Data Source)                    (Event or activity)


  A Process                       Another Process
                      Data Flow
                                  (Event or activity)
(Event or activity)



   A Process          Data Flow
                                   D1     Data store
(Event or activity)
DFD’s - Invalid Connections

                            Invalid


D      B Data Store                       D   A Data Store




     Outside
                        Also Invalid      D    A Data Store
     System




    Outside                                      Also
                      Not only invalid
    System                                      Outside
                      but nothing to do
                      with system
Levels of DFD
                                                                                                                                                                         Validate Order


    Level 0    Order Rejection
                                                                                                          Customer                                                                                                      Valid Order   Check Stock Level
                                                                                                                                                          Check Form Completion          Correct Form



Customer         Order                                                                                                            Order



                                                                                                                                                        Incorrect Form


                                                                                                                                                                                                        Check Parts Validity
                                                                                                                                                                                  Invalid Order                                           Parts Details

              OOS Letter             Order Processing                                                                                                   Return Order
                                                                                                                     Order Rejection


                                                                                                                                                                                                                                      M         Parts



                GDN                                                                                                                                                                        Level 2
                                                                                   Level 1
                                                                             Order Processing
                                                                                                                           M              Parts
                      Order                                                        Validate Order


                    Customer                                                                                  Parts Details
                                                        Order Rejection
                                                                                                      Valid Order



                                                                                                         Check Stock Level                Stock Level
                                                   Produce OOS letter
                                     OOS Letter                                   OOS Orders




                                                                                                                      M            Stock
                                                                          In Stock Orders


                                                                                                                                   Stock Detail

                                                          Make up Order                                             Update file
                                                                                     Orderb Details
                               GDN
Context Diagrams


               Order

              Invoice

           Out-of-stock      Process   Picking List
Customer                                              Warehouse
             notice           order


           Order rejection
               notice



This is a Level 0 DFD or Context Diagram
It shows the least amount of detail
Creating a Context Diagram – step 1
• Producing Context Diagram ( Level 0)

   – Identify External Entities
   – Identify Inputs
      • Data Flows
   – Identify Outputs
      • Data Flow
   – Draw Context Diagram
      • Possibly combine data flows at this stage
      • e.g. Orders = Phone Orders and Mail Orders
Context Diagram

            Order Rejection


Customer      Order




           OOS Letter     Order Processing



             GDN
Step 2
• Producing Level 1 Diagram
   – Identify up to seven major processes
      • Draw a Level 1 DFD
   – Associate data flows and external entities from Context
     Diagram
      • Update Level 1 DFD
   – Identify the data flows that link the identified processes
      • Update Level 1 DFD
   – Identify files associated with identified processes
      • Update Level 1 DFD
   – Check Level 1 DFD
      • You will have made a mistake !!
   – Possibly correct Level 1 DFD and Context Diagram
DFD Example Functionality

• Companies send in requests for references

• Requests are checked and either returned
  (if invalid) or retained for processing

• Request Processing involves reading data
  from the Assessment file and forwarding the
  Collated Reference Information for
  Reference writing
Level 1 DFD Example

                                    1
          Reference Request                  Check
                                             Request       Valid
                                                           Request

Company                Invalid Request                                    D2     Assessment File

                                         2                         Assessment
                                             Process                 records
                                             Request


                                  Collated                                D1    Address
                                 Assessment
                                                         Address

                                         3
                Reference
                                               Write         Reference
                                             Reference        (copy)

                                                                         D3      Reference File
DFD Level 1 Example 2

                                           Vacancy
               Vacancy                     Details
                         Standardise
    Agency               Vacancy                           D1 Vacancy File



                             2                                       Vacancy
  Vacancy                                                            details
  Enquiry                        Process
                                 Enquiry                     3
              Matched
             Vacancies                                        Convert File

Client                     Suitable Vacancies

                            D1 Client Vacancies




                                       Converted Vacancy details
Step 3
• Producing Level 2 Diagrams
• For each Level 1 process
   – Identify up to seven major processes (Draw a Level 2 DFD)
   – Associate data flows, processes, files and external entities from
     Level 1 DFD (Update Level 2 DFD)
   – Identify the data flows that link the identified processes (Update
     Level 2 DFD)
   – Identify files associated with identified processes
     (Update Level 2 DFD)
   – Check Level 2 DFD (You will have made a mistake !!)
   – Possibly correct Context Diagram, Level 1 & Level 2 DFD.
DFD Exercise

• Draw a Level 1 DFD for the following scenario
  – Customers send in orders. The orders are validated by
    the Sales Department using information from the Parts
    file. Invalid orders are returned to customers. Valid
    orders are passed to Despatch Dept, where the orders
    are made up and forwarded to the customer




• Now have a go at the DFD scenarios worksheet
DFD Levels - Summary
• Level 0 or context diagram shows a system as a
  single process with inputs and outputs flowing to
  or from external entities.

• Level 1 DFD will split up that single process into
  subsystems and show more detail about the data
  flows and data stores.

• Level 2 DFD may decompose a single subsystem
  even further.

Weitere ähnliche Inhalte

Was ist angesagt?

Telecommunications and Network Security Presentation
Telecommunications and Network Security PresentationTelecommunications and Network Security Presentation
Telecommunications and Network Security Presentation
Wajahat Rajab
 
information system lecture notes
information system lecture notesinformation system lecture notes
information system lecture notes
naeem_mnm
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
Jotham Gadot
 

Was ist angesagt? (17)

Ip addressing classless
Ip addressing classlessIp addressing classless
Ip addressing classless
 
Telecommunications and Network Security Presentation
Telecommunications and Network Security PresentationTelecommunications and Network Security Presentation
Telecommunications and Network Security Presentation
 
Introduction to Data Flow Diagram (DFD)
Introduction to Data Flow Diagram (DFD)Introduction to Data Flow Diagram (DFD)
Introduction to Data Flow Diagram (DFD)
 
Ch 11
Ch 11Ch 11
Ch 11
 
Data Flow Diagram_DFD
Data Flow Diagram_DFDData Flow Diagram_DFD
Data Flow Diagram_DFD
 
Chapter07
Chapter07Chapter07
Chapter07
 
Database Design
Database DesignDatabase Design
Database Design
 
Computer Systems
Computer SystemsComputer Systems
Computer Systems
 
Auditoria, seguridad y control de sistemas.ppt
Auditoria, seguridad y control de sistemas.pptAuditoria, seguridad y control de sistemas.ppt
Auditoria, seguridad y control de sistemas.ppt
 
Chapter14 designing interfaces and dialogues
Chapter14 designing interfaces and dialoguesChapter14 designing interfaces and dialogues
Chapter14 designing interfaces and dialogues
 
An overview of TCP (Transmission Control Protocol)
An overview of TCP (Transmission Control Protocol)An overview of TCP (Transmission Control Protocol)
An overview of TCP (Transmission Control Protocol)
 
Timing and control unit
Timing and control unitTiming and control unit
Timing and control unit
 
File sharing
File sharingFile sharing
File sharing
 
Directory implementation and allocation methods
Directory implementation and allocation methodsDirectory implementation and allocation methods
Directory implementation and allocation methods
 
Data Flow Diagrams
Data Flow DiagramsData Flow Diagrams
Data Flow Diagrams
 
information system lecture notes
information system lecture notesinformation system lecture notes
information system lecture notes
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
 

Mehr von mrcox

BTEC National in ICT: Unit 3 - Functional Areas of Xpect
BTEC National in ICT: Unit 3 - Functional Areas of XpectBTEC National in ICT: Unit 3 - Functional Areas of Xpect
BTEC National in ICT: Unit 3 - Functional Areas of Xpect
mrcox
 
Unit 3 gathering information and data
Unit 3   gathering information and dataUnit 3   gathering information and data
Unit 3 gathering information and data
mrcox
 

Mehr von mrcox (11)

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
 
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 - Operational Issues
BTEC National in ICT: Unit 3 - Operational IssuesBTEC National in ICT: Unit 3 - Operational Issues
BTEC National in ICT: Unit 3 - Operational Issues
 
BTEC National in ICT: Unit 3 - Ethical Issues
BTEC National in ICT: Unit 3 - Ethical IssuesBTEC National in ICT: Unit 3 - Ethical Issues
BTEC National in ICT: Unit 3 - Ethical Issues
 
BTEC National in ICT: Unit 3 - Legal Constraints
BTEC National in ICT: Unit 3 - Legal ConstraintsBTEC National in ICT: Unit 3 - Legal Constraints
BTEC National in ICT: Unit 3 - Legal Constraints
 
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 - MIS Features and Functions
BTEC National in ICT: Unit 3 - MIS Features and FunctionsBTEC National in ICT: Unit 3 - MIS Features and Functions
BTEC National in ICT: Unit 3 - MIS Features and Functions
 
BTEC National in ICT: Unit 3 - Functional Areas in more detail - Tesco
BTEC National in ICT: Unit 3 - Functional Areas in more detail - TescoBTEC National in ICT: Unit 3 - Functional Areas in more detail - Tesco
BTEC National in ICT: Unit 3 - Functional Areas in more detail - Tesco
 
BTEC National in ICT: Unit 3 - Functional Areas of Xpect
BTEC National in ICT: Unit 3 - Functional Areas of XpectBTEC National in ICT: Unit 3 - Functional Areas of Xpect
BTEC National in ICT: Unit 3 - Functional Areas of Xpect
 
Unit 3 gathering information and data
Unit 3   gathering information and dataUnit 3   gathering information and data
Unit 3 gathering information and data
 
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
 

Kürzlich hochgeladen

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
heathfieldcps1
 
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
 

Kürzlich hochgeladen (20)

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
 
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.
 
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
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
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...
 
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
 
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
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
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...
 
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
 
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
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 

BTEC National in ICT: Unit 3 - Data Flow Diagrams Introduction

  • 1. Information Systems Data Flow Diagrams 1
  • 2. Data Flow Diagrams Objectives: • To define what is meant by structured analysis • To define the symbols used in a Data Flow Diagram (DFD) • To draw a context diagram (Level 0 DFD) for a given scenario • To refine a DFD to a more detailed (lower- level) view
  • 3. Structured Analysis • A widely-used top-down method for defining system inputs, processes and outputs. • It shows how information flows through a system, using several diagrams showing progressively more and more detail at each level. • The primary tool of structured analysis is the Data Flow Diagram (DFD).
  • 4. Data Flow Diagrams • Data Flow Diagrams – Model how information flows around a system, how it is processed and stored – Partition a system into independent units of more manageable size that is verifiable, concise and easily understood – Hierarchical
  • 5. Drawing Data Flow Diagrams • Cannot be achieved without – Paper or Computer – Cross-checking at every stage – Pain and Confusion! • Eventually – Allow understanding of New System – Produce Invaluable Document • Steps are for Guideline purposes only!
  • 6. DFD Symbols - External Entity • An external entity is often the source or destination of information e.g. – Customer Entity Name
  • 7. DFD Symbols - Data Flow NOT A VERB !!! Description of Data Flow
  • 8. DFD Symbols - Data Stores File identifier (Data store) D1 Data Store name The system files
  • 9. DFD Symbols - Processes No more than 7 per diagram Sequence 1 Location Process Name Process Description (NOT WHERE or WHO)
  • 10. DFD’s - Valid Connections External Process Data Flow Entity (Data Source) (Event or activity) A Process Another Process Data Flow (Event or activity) (Event or activity) A Process Data Flow D1 Data store (Event or activity)
  • 11. DFD’s - Invalid Connections Invalid D B Data Store D A Data Store Outside Also Invalid D A Data Store System Outside Also Not only invalid System Outside but nothing to do with system
  • 12. Levels of DFD Validate Order Level 0 Order Rejection Customer Valid Order Check Stock Level Check Form Completion Correct Form Customer Order Order Incorrect Form Check Parts Validity Invalid Order Parts Details OOS Letter Order Processing Return Order Order Rejection M Parts GDN Level 2 Level 1 Order Processing M Parts Order Validate Order Customer Parts Details Order Rejection Valid Order Check Stock Level Stock Level Produce OOS letter OOS Letter OOS Orders M Stock In Stock Orders Stock Detail Make up Order Update file Orderb Details GDN
  • 13. Context Diagrams Order Invoice Out-of-stock Process Picking List Customer Warehouse notice order Order rejection notice This is a Level 0 DFD or Context Diagram It shows the least amount of detail
  • 14. Creating a Context Diagram – step 1 • Producing Context Diagram ( Level 0) – Identify External Entities – Identify Inputs • Data Flows – Identify Outputs • Data Flow – Draw Context Diagram • Possibly combine data flows at this stage • e.g. Orders = Phone Orders and Mail Orders
  • 15. Context Diagram Order Rejection Customer Order OOS Letter Order Processing GDN
  • 16. Step 2 • Producing Level 1 Diagram – Identify up to seven major processes • Draw a Level 1 DFD – Associate data flows and external entities from Context Diagram • Update Level 1 DFD – Identify the data flows that link the identified processes • Update Level 1 DFD – Identify files associated with identified processes • Update Level 1 DFD – Check Level 1 DFD • You will have made a mistake !! – Possibly correct Level 1 DFD and Context Diagram
  • 17. DFD Example Functionality • Companies send in requests for references • Requests are checked and either returned (if invalid) or retained for processing • Request Processing involves reading data from the Assessment file and forwarding the Collated Reference Information for Reference writing
  • 18. Level 1 DFD Example 1 Reference Request Check Request Valid Request Company Invalid Request D2 Assessment File 2 Assessment Process records Request Collated D1 Address Assessment Address 3 Reference Write Reference Reference (copy) D3 Reference File
  • 19. DFD Level 1 Example 2 Vacancy Vacancy Details Standardise Agency Vacancy D1 Vacancy File 2 Vacancy Vacancy details Enquiry Process Enquiry 3 Matched Vacancies Convert File Client Suitable Vacancies D1 Client Vacancies Converted Vacancy details
  • 20. Step 3 • Producing Level 2 Diagrams • For each Level 1 process – Identify up to seven major processes (Draw a Level 2 DFD) – Associate data flows, processes, files and external entities from Level 1 DFD (Update Level 2 DFD) – Identify the data flows that link the identified processes (Update Level 2 DFD) – Identify files associated with identified processes (Update Level 2 DFD) – Check Level 2 DFD (You will have made a mistake !!) – Possibly correct Context Diagram, Level 1 & Level 2 DFD.
  • 21. DFD Exercise • Draw a Level 1 DFD for the following scenario – Customers send in orders. The orders are validated by the Sales Department using information from the Parts file. Invalid orders are returned to customers. Valid orders are passed to Despatch Dept, where the orders are made up and forwarded to the customer • Now have a go at the DFD scenarios worksheet
  • 22. DFD Levels - Summary • Level 0 or context diagram shows a system as a single process with inputs and outputs flowing to or from external entities. • Level 1 DFD will split up that single process into subsystems and show more detail about the data flows and data stores. • Level 2 DFD may decompose a single subsystem even further.