DFDs (Data Flow Diagrams). Data Flow Diagrams DFDs are a system modeling tool, the most popular and important representation in data flow modeling. DFDs.

Slides:



Advertisements
Similar presentations
CAPE INFORMATION TECHNOLOGY – Unit 2
Advertisements

Johnb DFDs and Design John Bell The DeMarco notation.
Systems Analysis Requirements structuring Process Modeling
Using Data Flow Diagrams
Using Dataflow Diagrams
How to : Data Flow Diagrams (DFDs)
Chapter 4.
Systems Analysis and Design 9th Edition
IMS1001 – Information Systems 1 CSE Information Systems 1
Jump to first page Chapter 2 System Analysis - Process Modeling.
Using Dataflow Diagrams
Chapter 7 Using Data Flow Diagrams
Modern Systems Analysis and Design
Structuring System Process Requirements -- Process Modeling --
Structuring System Requirements: Process Modeling
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
MIS 461: Structured System Analysis and Design Dr. A.T. Jarmoszko
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 8 Structuring.
Chapter 9 Using Data Flow Diagrams
3.1 Topic 3 MODELLING IN INFORMATION SYSTEMS DEVELOPMENT; PROCESS MODELLING IMS Systems Analysis and Design.
Modelling as a Communication Tool: Introduction to Process Modelling IMS Information Systems 1 CSE Information Systems 1.
Systems Analysis and Design in a Changing World, 6th Edition
Chapter 4.
Process Modelling Using Data Flow Diagrams - Building and Levelling Them; Process Modelling Using Function Decomposition CSE Information Systems.
The Traditional Approach to Requirements: Using Dataflow Diagrams Spring
Systems Analysis I Data Flow Diagrams
System Analysis and Design
Chapter 7 Structuring System Process Requirements
Traditional Approach to Requirements Data Flow Diagram (DFD)
staffs.ac.uk Process Model. staffs.ac.uk Contents Provide definitions Explain the components and representations Introduce a step.
1 Structured Analysis Techniques. 2 Data Flow Diagrams.
Chapter 8 Structuring System Requirements: Process Modeling
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 6.1.
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.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 6.1.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Process.
Business Process Management. Key Definitions Process model A formal way of representing how a business operates Illustrates the activities that are performed.
1 Lecture 3: Introducing Data Flow Diagrams (DFDs) Section 1 - The Concept of Diagrams Why use Diagrams? Diagrams as Working Documents Systems Analysis.
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.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Essentials of Systems Analysis and Design Fourth Edition Joseph S. Valacich Joey F.
Computer System Analysis Chapter 8 Structuring System Requirements: Process Modeling Dr. Sana’a Wafa Al-Sayegh 1 st quadmaster University of Palestine.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 8 Structuring.
Chapter 3 Systems Documentation Techniques Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 3-1.
SAD - DFD Context Diagrams
DFDs.
1 14/08/00Arcot Sowmya Software Engineering COMP3111/COMP9008 Data Flow Diagrams.
Chapter 3 Systems Documentation Techniques Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 3-1.
Dr D. Greer, Queens University Belfast Slide 1 Software Engineering Chapter 11: Structured Analysis Techniques (loosely based.
SYSTEMS ANALYSIS AND DESIGN TOOLS DATA FLOW DIAGRAMS.
System Decomposition Overview. Data Flow Diagrams Despite the name “Data Flow Diagrams”, DFD have a process, rather than a data, focus We represent all.
Data Flow Diagrams (DFDs) 1Information Systems Engineering.
Sofware Engineering Know what SSADM is Data Flow diagrams
Using Dataflow Diagrams – Part 1 Systems Analysis and Design, 7e Kendall & Kendall 7 © 2008 Pearson Prentice Hall.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter 5 Structuring.
Data Flow Diagrams (DFDs)
Modern Systems Analysis and Design Fifth Edition
Systems Analysis and Design 8th Edition
Data Flow Diagram, Data Dictionary, and Process Specification PART I
Software Analysis 1 PROCESS MODELING: Data Flow Diagrams (DFDs)
DATA FLOW DIAGRAMS.
C_ITIP211 LECTURER: E.DONDO. Unit 3 : PROCESS MODELING.
MIS 360: System Analysis and Design Dr. Qasem Al-Radaideh Department of Computer Information Systems Faculty of Information Technology Yarmouk University.
7-1 Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition.
Chapter 6 Structuring System Requirements: Process Modeling
Chapter 8 Structuring System Requirements: Process Modeling
Context and Data Flow Diagrams
Process & Logic Modeling
Presentation transcript:

DFDs (Data Flow Diagrams)

Data Flow Diagrams DFDs are a system modeling tool, the most popular and important representation in data flow modeling. DFDs allows us to picture a system as a network of functional processes, connected to one another by “pipelines” and “holding tanks”of data. In DFDs, functions of the system are of paramount importance A DFD is function-oriented DFDs are a simple but powerful technique which are easily understood

Building Blocks of a DFD Process (a bubble, a function or a transformation) How inputs are transformed or changed into outputs Data Flow Used to describe the movement of data or physical materials from one part of the system to another part. It represents data or physical materials in motion. Data Store It is used to model a collection of data packets at rest. (files, tapes, punched cards, etc.) External Entity (Terminator) Entities external to the system, with which the system communicates. They are outside the control of the system that is being modeled. It may also be another system

symbols name SOURCE or DESTINATION of data DATA FLOW name Dn PROCESS DATA STORE A Data Flow Diagram (DFD) is a network representation of a system showing the processes and data interfaces between them. 4 Main Symbols:

sample

Processes Represent transformations sometimes drawn as circles or ovals Name of process should be written – meaningful Normally data flows in and out of each process Each process must have a unique number description - active verb + object clause E.g. Validate Login Data

Data Stores Temporary depository of data Stores data between processes Identified by Dn where n is an integer Data Stores are connected to processes by data flows Name with type of data that it stores

Flows Data Flows Between processes, into and out of data stores, to/from destinations/sources Must have arrow to indicate direction Meaningful and consistent name must be given to the flow (Usually the data being carried)

External Entities show origin/receiver of data can be duplicated lie outside the DFD Name is written inside the symbol

Guidelines for drawing DFDs Identify all external entities Identify all inputs and outputs Work your way through from Inputs to outputs Label all data flows and data stores descriptively Ignore initialisation/ termination trivia Omit trivial error paths and control logic e.g conditions, loops

Levelling Typically DFD are traditionally drawn at three levels The top-level DFD is context diagram (level 0) consisting of only one process, representing the entire system; It shows the interfaces between the system and the external entities. Immediately beneath the context diagram is the system level diagram (level 1) i.e. highest level view of the major functions within the system, as well as the major interfaces between those functions. Further levels can be decomposed to any depth by expanding individual processes

Levelled Diagram

Context Level Diagram

System Level DFD

A video shop (1) Expanding this process (context level) Process Orders Customer Distributor customer order Purchase order invoice Delivery note

A video shop (2) Customer Verify Order Valid 1.0 D2Customer Data D1Video File Video details customer order D3Pending Orders Create Purchase Orders 2.0 valid Cust- omer order Distributor purchase order batched order Assemble Customer Orders 3.0 credit status invoice Video order details D4Distributor file Distributor details delivery note address

Numbering Expand Assemble Customer Orders New process 3.1 New process 3.2 etc Assemble Customer Orders 3.0 invoice Video order details delivery note address

Expanded D3Pending Orders Video order details Distributor Assign delivery to pending orders 3.1 delivery note Customer Create Invoice 3.3 Verify Correct Delivery 3.2 D5A/c Receivable invoice copy invoice indiv. Orders details assembled orders Create Delivery Note 3.4 delivery note assembled orders D2Customer Data Address

Some Principles (1) Each DFD figure should have no more than 8 or 9 processes and related stores. The number of level and partition should be based on the above principle: The number of levels is dependent on system complexity. Complexity of each level may not be the same. Some can be more complex than other levels.

Some Principles (1) Make sure that the levels of DFDs are consistent with each other: the data flow coming into and going out of a process at one level must correspond to the data flows coming into and going out of an entire figure at the next lower level which describe that process. Show a store at the highest level where it first serves as an interface between two more processes; then show it again in EVERY lower level

Some Common Mistakes (1) Process Errors Process that have no outputs (a black hole) Processes that have no inputs (a miracle) The label should be a verb phrase Data Store Errors Data stores never being read and written to throughout all level of figures Moving data directly from a store to an entity or another store The label should be a noun phrase External Entity Errors Unconnected external entities Data moved directly from a entity to another entity The label should be a noun phrase

Some Common Mistakes (2) Data Flow Errors A data flow cannot be two direction of flow between symbols A fork/join in a data flow should be exactly the same type of data A data flow cannot go directly back to same process it leaves Having no source Having no destination The label should be a noun phrase

What DFD’s do not do (1) DFDs do not handle sequence There is no notion of time in a DFD. It cannot be inferred that process 2 always follows process 1. In many instances DFDs are drawn by considering a sequence of actions (which is a very sensible way of going about things) but that still does not mean that we can infer sequentially from a DFD. DFDs do not handle priorities In a situation where two processes want to read from the same file at the same time, which one wins? DFDs do not address the problem.

What DFD’s do not do (2) DFDs do not define the structure of the data The structure of the data in the data stores is glossed over in DFDs and any structure of the data in data flows is similarly ignored in DFDs. The structure of the data is left to the data view of the system.

Summary Know 4 main symbols Naming is very important Know Context level, systems level and lower levels Know how to decompose processes to lower levels