1 / 32

Data Flow Modelling

Data Flow Modelling. Lecture 4 Introduction to DFDs. What is a Data Flow Model ?. Flow of information. What is a Data Flow Diagram ?. A means of documenting the flow of data through a system. It is a graphical technique which helps:

pelham
Télécharger la présentation

Data Flow Modelling

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Data Flow Modelling Lecture 4 Introduction to DFDs

  2. What is a Data Flow Model ? Flow of information

  3. What is a Data Flow Diagram ? • A means of documenting the flow of data through a system. • It is a graphical technique which helps: • Provide the analyst in the development with an understanding of the system. • Convey the analyst’s ideas to others.

  4. Introduction to DFD’s • A DFD is a diagrammatic representation of the information flows within a system showing: • How the information enters and leaves the system; • What changes the information; • Where information is stored. • Data Flow Diagrams are an important technique for systems analysis inside SSADM.

  5. What does a DFD give us ? • Boundary definition • Checking the completeness of analysis • Basis of system design

  6. information Data information Data What do they represent ? Organisation

  7. Data flows External entities Data flows Data store Data store External entities Components Processes

  8. External Entities An External Entityis whatever or whoever donates information to the system or receives information from it. Represented on a Data Flow Diagram as an Oval containing the name and an identifier. The convention is that the identifier is a lower-case letter. An external entity may be a user of the system, an external organisation, a computer system, or any other source or recipient of information.

  9. Example - External Entity a Customer

  10. A Process A process transforms or manipulates data within the system. Processes are represented by rectangles on a Data Flow Diagram. Each process box contains the name of the process, an identifier, and possibly a location.

  11. Process Boxes • The process name describes the process performed on the data received by the process. • Process identifiers are numerical. • The location of the process is used to denote either - • The place where the process is performed • Or the member of staff responsible for performing the process.

  12. Location Identifier Name Process Box Components 1 Manager Process New Customer

  13. D1 Student Details Data Stores • A datastoreis where information is held within the system. • A data store is represented on a DFD by an open-ended box.

  14. Identifier Description of Data Store D1 Student Details DataStore Components • Every Data Store Identifier is unique – • “M” denotes a Manual data store • “D” denotes an Electronic data store • “T” denotes a Transient data store

  15. Data Flows • A package of information flowing between objects on the Data Flow Diagram. • Represented by a line and an arrow to denote the direction of the information flow. • Labeled with the name or details of the information represented by the data flow.

  16. A CustomerName Customer Customer Name CustomerDetails D1 Example - Data Flows 1 Manager Process New Customer

  17. A Customer D1 Student Details External entity  Data store Illegal

  18. D1 D3 Student Details Course Details Data store  Data store Illegal

  19. Drawing Data Flow Diagrams • Identify • main inputs & outputs • processes • data flows • Draw Data Flow Diagram • associate data stores • internal data flows

  20. 1 Academic A Student Details Student Process New Student Student Details D1 StudentDetails Example

  21. Checking Data Flow Diagrams ? • Every process must have at least one data flow coming from it and one data flow flowing into it. • Every external entity and data-store must have at least one data flow either coming from it, or flowing into it. • For every data flow either its source is a process or its sink is a process.

  22. Correct Processes ? Manager 1 WRONG Register New Customer * Manager 1 CORRECT Register New Customer * Manager 1 WRONG Register New Customer *

  23. d Customer M1 Order File Data Store and External Entity Duplication • It is sometimes necessary to show that certain Data Stores and External Entities are duplicated on the Data Flow Diagram.

  24. Example - Library DFD

  25. Example - Amended DFD

  26. Example - Water Heater • A small system is used to process temperatures from a water heater. The temperature is read and passed to the system. If the temperature is outside the stored safety limits then an alarm will sound. • Draw the external entities on the Heater system DFD below.

  27. Amended DFD

  28. Example - Supermarket DFD • A supermarket uses point of sale bar code scanners at their checkout tills. The bar code on the product is scanned and is then checked to see if it is valid. If it is a valid bar code then the stock database is updated and an entry for that product is printed on the till receipt. If it is an invalid bar code then an alarm will sound on the checkout till and the operator will need to deal with the problem. • Draw the processes on the Supermarket Data Flow Diagram below.

  29. Supermarket DFD

  30. Amended DFD

  31. DFD Summary • Identify the components of a Data Flow diagram • Understand their usage • Make amendments to existing Data Flow diagrams

More Related