D ATA F LOW D IAGRAM. D ATA F LOW D IAGRAM : "a network representation of a system. The system may be automated, manual, or mixed. The DFD portrays the.

Slides:



Advertisements
Similar presentations
Data Flow Diagram (DFD) Overview
Advertisements

CAPE COMPUTER SCIENCE UNIT 2
Johnb DFDs and Design John Bell The DeMarco notation.
Data Flow Diagramming Rules Processes –a process must have at least one input –a process must have at least one output –a process name (except for the.
Systems Analysis Requirements structuring Process Modeling
Data Flow Diagram (DFD) Review
SYSTEMS ANALYSIS AND DESIGN TOOLS
Using Data Flow Diagrams
Using Dataflow Diagrams
Documenting Information Systems
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
Data Flow Diagramming Solutions to In-Class Exercises
How to : Data Flow Diagrams (DFDs)
DATA FLOW DIAGRAM (PART 2)
1 Introduction to Data Flow Modelling The data flow approach to requirements determination in building a system for business use. This type of computer.
Chapter 7 Using Data Flow Diagrams
Using Dataflow Diagrams
Chapter 7 Using Data Flow Diagrams
Topics Creating DFD Physical and logical DFD Event driven modeling
Modern Systems Analysis and Design
Chapter 9 Using Data Flow Diagrams
Chapter 7 Using Data Flow Diagrams
L ECTURE 9 – PROCESS MODELLING PART 1 Data Flow Diagrams for Process Modelling Multi-level Data Flow Diagrams Logical Vs Physical DFDs Steps to Construct.
System Analysis and Design
Process Modelling Using Data Flow Diagrams - Building and Levelling Them; Process Modelling Using Function Decomposition CSE Information Systems.
Systems Analysis I Data Flow Diagrams
System Analysis and Design
DATA FLOW DIAGRAMS IT 155.
Chapter 7 Structuring System Process Requirements
System Analysis Overview Document functional requirements by creating models Two concepts help identify functional requirements in the traditional approach.
1 Structured Analysis Techniques. 2 Data Flow Diagrams.
Data Flow Diagrams (DFDs)
Chapter 1: Data Flow Diagram Structuring System Process Requirements
Data Flow Diagrams (DFDs). Data flow diagram (DFD) is a picture of the movement of data between external entities and the processes and data stores within.
IT323 - Software Engineering 2 Tutorial 1. 0 The system 1.0 A Function 1.1 Activity of the function Task Task Task 1.2 Another activity.
Systems Analysis – Analyzing Requirements.  Analyzing requirement stage identifies user information needs and new systems requirements  IS dev team.
1 Chapter 2 Revision: Documentation DFD System FC.
Business Process Management. Key Definitions Process model A formal way of representing how a business operates Illustrates the activities that are performed.
Data Flow Diagrams.
1 Lecture 3: Introducing Data Flow Diagrams (DFDs) Section 1 - The Concept of Diagrams Why use Diagrams? Diagrams as Working Documents Systems Analysis.
DATA FLOW DIAGRAMS Learning Units
Systems Analysis & Design Data Flow Diagrams. End Home Data Flow Diagrams – Definition  A data flow diagram is a pictorial model that shows the flow.
Data Flow Diagram A method used to analyze a system in a structured way Used during: Analysis stage: to describe the current system Design stage: to describe.
Chapter 7 Structuring System Process Requirements
Chapter 3 Systems Documentation Techniques Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 3-1.
Chapter 7 Using Data Flow Diagrams
AN INTRODUCTION BUSINESS PROCESS DOCUMENTATION WITH DATA FLOW DIAGRAMS.
Documenting Information Systems. Learning Objectives To read and evaluate data flow diagrams To read and evaluate systems flowcharts. To prepare data.
Judi Prajetno Sugiono ©2009 Management Information System Additional note for DFD.
McGraw-Hill/Irwin © 2013 The McGraw-Hill Companies, Inc., All Rights Reserved. Chapter 7 Data Flow Diagramming.
DFDs.
SYSTEMS ANALYSIS AND DESIGN TOOLS DATA FLOW DIAGRAMS.
DFDs (Data Flow Diagrams). Data Flow Diagrams DFDs are a system modeling tool, the most popular and important representation in data flow modeling. DFDs.
Data Flow Diagrams (DFDs) 1Information Systems Engineering.
CHAPTER 5 1 DATA AND PROCESS ANALYSIS. Chapter Objectives Describe data and process modeling concepts and tools, including data flow diagrams, a data.
IS3320 Developing and Using Management Information Systems Lecture 16: Data-Flow Diagrams 1 (Intro to Context-Level diagrams) Rob Gleasure
Data Flow Diagrams (DFDs)
Systems Analysis and Design 8th Edition
Chapter 3 Systems Documentation Techniques Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 3-1.
C HAPTER 8 STRUCTURED APPROACH WITH THE DATA & PROCESS MODELING.
SYSTEMS ANALYSIS AND DESIGN ITDB 2101 HAND OUT # 3 1.
DATA FLOW DIAGRAMS.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Using Dataflow Diagrams Systems Analysis and Design, 8e Kendall & Kendall 7.
© 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart1 of 37 C System Process Modeling DATA Flow Diagrams.
Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are.
Business Process Modeling
Process & Logic Modeling
Data Flow Diagram (DFD) Review
DATA FLOW DIAGRAM.
DFD Process & Examples.
Presentation transcript:

D ATA F LOW D IAGRAM

D ATA F LOW D IAGRAM : "a network representation of a system. The system may be automated, manual, or mixed. The DFD portrays the system in terms of its component pieces, with all interfaces among the components indicated." - Tom DeMarco hence DFDs: focus on the movement of data between external entities and processes, and between processes and data stores

W HERE DO THEY FIT IN ? Analysis (What do we do?) Fact finding investigate business process and the current system Planning Analysis Design Implementation Maintenance

W HERE DO THEY FIT IN ? Design Describes how the system will fulfill the user requirements Planning Analysis Design Implementation Maintenance

OVERVIEW The Data flow diagram is a form of This is a technique for organising and documenting the structure and flow of data through a system’s processes, and the procedures to be implemented by a system’s processes. DFD help to represent and communicate Information and data flows Processes that handle or change data Stored data Sources and recipients of information and data

W HY C ONDUCT P ROCESS M ODELING ? The reason we do process modeling is to improve the operation of a system, not just to change its physical form. Start with understanding (Understand components of current logical or physical system for purpose of rebuilding in a different physical form/technology, possibly with some changed functionality) Then analyze for improvements or where to add new functionality (Find inefficiencies in current system) Then specify re-engineered system

C OMPONENTS A DFD is made up of four components: processes, external entities, data flows and data stores. Processes External entities Data flows Data stores

COMPONENTS 1. Entities These are the places which provide the organisation with data, or have data sent to them by the organisation (e.g. customers, partners, government bodies). Form the boundaries of the system. The system and external entities exchange data in the form of data flows. Must be named, titles preferred to names of individuals - use a noun External Entity

COMPONENTS 2. Process Jobs that are done with the data. Process box

COMPONENTS 3. Data Flows Connects the processes, external entities and data stores Arrows show how data flows from one place to another Label the arrows with the name of the data that moves through it e.g. Customers logs into systems Data Flow Logs in

C OMPONENTS 4. Data Stores Represents holding areas for collection of data, processes add or retrieve data from these stores Only processes are connected to data stores They can be manual, digital or temporary. D1 Data Store M1 Data Store T1 Data Store Manual Data Store = M1 Digital Data Store = D1 Temporary Data Store = T1

N OTATION Process box D1 Data Store External Entity Data Flow Process External Entity Data Store

B ENEFITS OF DFD Provide a pictorial, non-technical representations Quick to produce and easy to amend Concise system descriptions

L OGICAL VERSUS PHYSICAL MODELS What versus How Shows what a system is or does Focuses on how the business operates Is implementation-independent Shows how a system operates Is implementation-dependent because it shows how a system is physically and technically implemented Systems analysts use logical models to depict business requirements, and physical models to depict technical designs System analysis activities tend to focus on the logical models

C ONTEXT LEVEL DFD The Context Level DFD attempt to show the workings of the entire system at a glance. It is the and the first to be drawn This level consists of The process description usually outlines in general terms what the system is or does, for example, ‘Order Processing System’, ‘Video Rental Systems’. The single process represents the entire system Depicts the interaction between the system and external entities. This level

C ONTEXT LEVEL DATA FLOW DIAGRAM a. Entity b. Entity Process

C ONTEXT DATA FLOW DIAGRAM EXAMPLE

R ULES FOR DRAWING DFD S I. External entities cannot flow directly to each other II. A data flow cannot link a data store to an external entity III. Data cannot move between data stores without first being processed a. Entity b. Entity a. Entity Communicates D1 Data Store Communicates x x

R ULES FOR DRAWING DFD S All data flows must flow to or from a process continued..

R ULES FOR DRAWING DFD S A process must have at least one input flow and one output flow I. A arises when a process has input flows but no output flows II. A is a situation which occurs when a process has outputs but no input flows. Process

R ULES FOR DRAWING DFD S... 3.The inputs to a process must be sufficient to produce output flows. I. If a process has outputs that are greater than the sum of its inputs, a is said to occur 4. The inputs to a process must be sufficient to produce output flows. I. When naming data flows, adjectives should be used which show how processing has changed the data flow.

DFD – C OMMON E RRORS Miracle Black Hole Gray Hole

R ULES FOR DRAWING DFD S Data flows cannot cross each other To overcome this problem, data stores and entities can be.  However, processes must never be duplicated Data flows must be unidirectional Additional rules Entities must be Title = “Context Level DFD” and System or Company Name

R ULES FOR CONNECTING PROCESSES, DATA STORES, AND ENTITIES IN A DFD

S TEPS IN C ONSTRUCTING C ONTEXT L EVEL DFD You will be supplied with a piece of narrative text describing a particular system. Read and re-read this text. Extract and state a set of assumptions from the narrative text. Identify the entities from the text – these will be depicted by nouns. Highlight the process for the context level DFD Identify data flows from the text – data flows are usually nouns or noun phrases. Construct the Context Level DFD using all the preceding information. Name and label the entities, data flows and name the main process.

C REATING A S ET OF DFD S Draw a Context Diagram 1. Put a title on the page = Context Level DFD for ‘name of company’. 2. Draw the context diagram so it fits on one page Use unique names within each set of symbols Provide a unique name and reference number for process

L AB WORK : P AYROLL S YSTEM C ONTEXT L EVEL DFD XYZ LTd. is a nationwide retail chain. Management is considering conducting Systems Analysis and Design with a view to computerising the payroll system. Hours worked per employee per month are forwarded by the Personnel Department. This is used to create an employee time record for each employee and this is held in the Employee Time File. This is used to calculate Gross Pay, and Gross Pay is used to determine net pay. Pay slips are issued on the last Friday of every month. The employee Master File must be updated on a regular basis. One instance which necessitates updating the system is when a new employee joins the firm. The Personnel Department gives the payroll system all new staff details. When an Employee gets married or moves house, details of the name/address change are given to the payroll system. Pay cheques are then prepared. Management is in charge of salary changes – these are input to the Employee Master File when the time arises. Every month, management is sent a cash list with details of salary payments for each employee for the month previous. Required: Draw up a reasonable set of assumptions, based on the narrative above. You are now required to construct a Context Level DFD based on those assumptions, to help the company in its efforts computerise the payroll system.

A SSUMPTIONS Assumptions 1(a): It is assumed that when employee details change, such as when he/she gets married or moves house, it is the responsibility of the individual employee to notify the payroll system as to name/address changes.

C ONTEXT LEVEL Identify Process Payroll System Identify entities a. Personnel Dept b. Management c. Employee Identify data flows Hours Worked Salary Changes Cash List Pay Cheque Name/Address Change New Staff Details

L AB WORK : P AYROLL S YSTEM C ONTEXT L EVEL DFD XYZ LTd. is a nationwide retail chain. Management is considering conducting Systems Analysis and Design with a view to computerising the payroll system. Hours worked per employee per month are forwarded by the Personnel Department. This is used to create an employee time record for each employee and this is held in the Employee Time File. This is used to calculate Gross Pay, and Gross Pay is used to determine net pay. Pay slips are issued on the last Friday of every month. The employee Master File must be updated on a regular basis. One instance which necessitates updating the system is when a new employee joins the firm. The Personnel Department gives the payroll system all new staff details. When an Employee gets married or moves house, details of the name/address change are given to the payroll system. Pay cheques are then prepared. Management is in charge of salary changes – these are input to the Employee Master File when the time arises. Every month, management is sent a cash list with details of salary payments for each employee for the month previous. Required: Draw up a reasonable set of assumptions, based on the narrative above. You are now required to construct a Context Level DFD based on those assumptions, to help the company in its efforts computerise the payroll system.

P AYROLL S YSTEM (A): C ONTEXT L EVEL D ATA F LOW D IAGRAM

A SSUMPTIONS Assumptions 1(b): It is assumed that when employee details change, such as when he/she gets married or moves house, the personnel department is responsible for informing the payroll system. The personnel department updates the payroll system directly. The Employee is notified when changes are made by the Personnel Dept. The Personnel Dept receives an acknowledgement that states Employee file is updated.

P AYROLL S YSTEM (B): C ONTEXT L EVEL D ATA F LOW D IAGRAM

V ALIDATING THE DFD Syntax errors – diagram follows the rules Assure correct DFD structure For each DFD: Check each process for: A unique name: action verb phrase; number; description At least one input data flow At least one output data flow Output data flow names usually different than input data flow names Between 3 and 7 processes per level 1+ DFD

V ALIDATING THE DFD For each DFD:  Check each data flow for: A unique name: noun; description Connects to at least one process Shown in only one direction (no two-headed arrows)  Check each external entity for: A unique name: noun; description At least one input or output data flow  Check each data store for: A unique name: noun; description At least one input data flow At least one output data flow

EXERCISE Precision Tools sells a line of high-quality woodworking tools. When customers place orders on the company’s Web site, the system checks to see if the items are in stock, issues a status message to the customer, and generates a shipping order to the warehouse, which fills the order. When the order is shipped, the customer is billed. The system also produces various reports, such as inventory reports for Accounting. Draw a context diagram for the order system Document any assumptions you may have made about the system.