Data Flow Diagrams. Outline. Some Rules for External Entities 1/25/2010. Mechanics



Similar documents
LECTURE 11: PROCESS MODELING

Chapter 7: Structuring System Process Requirements

Topic # 08. Structuring System Process Requirements. CIS Life Cycle and Requirements Structuring Stage

1. Process Modeling. Process Modeling (Cont.) Content. Chapter 7 Structuring System Process Requirements

6-1. Process Modeling

CSC 342 Semester I: H ( G)

Why Data Flow Diagrams?

Entity / Activity Table for Causeway Cash Receipts System

Functional Modeling with Data Flow Diagrams

Chapter 3. Data Flow Diagrams

Collated Food Requirements. Received orders. Resolved orders. 4 Check for discrepancies * Unmatched orders

Process Modeling. Chapter 6. (with additions by Yale Braunstein) Slide 1

2 SYSTEM DESCRIPTION TECHNIQUES

Understanding Data Flow Diagrams Donald S. Le Vie, Jr.

Process Modelling. Data flow Diagrams. Process Modelling Data Flow Diagrams. CSE Information Systems 1

Chapter 6. Data-Flow Diagrams

Data Flow Diagram. Data Flow Diagrams (DFDs)

An Automatic Tool for Checking Consistency between Data Flow Diagrams (DFDs)

Functional Data Flow Diagrams. Outline

Objectives After completion of study of this unit you should be able to:

KS3 Computing Group 1 Programme of Study hours per week

Systems Analysis Process Modeling (DFD) 1 of 10. Analysis 003

Process / Operation Symbols

Software Design. Design (I) Software Design Data Design. Relationships between the Analysis Model and the Design Model

Select the Crow s Foot entity relationship diagram (ERD) option. Create the entities and define their components.

MODULE 5 DATA FLOW DIAGRAMS

Process and Database Modelling of a University Bursary System: A Perspective of Cash Office

Grade 4 Mathematics Patterns, Relations, and Functions: Lesson 1

CA ERwin Process Modeler Data Flow Diagramming

Announcements. SE 1: Software Requirements Specification and Analysis. Review: Use Case Descriptions

(Refer Slide Time 00:56)

Copyright 2009 Bahn, D., Tang, H. & Yardley, A. All Rights Reserved. ISBN: Systems Analysis and Design Learning Module Series #3

III. Structured Analysis and Design Technique (SADT) SADT: Structured Analysis and Design Technique

Thomson Learning TM DOCUMENTING INFORMATION SYSTEMS CHAPTER

Suppliers Inputs Process Outputs Customers. It provides a template for defining a process, before you begin to map, measure, or improve it.

Process Analysis. Work Process Documentation Guidelines. Purpose

Worksheet #1 Free Body or Force diagrams

Preview DESIGNING DATABASES WITH VISIO PROFESSIONAL: A TUTORIAL

PowerWorld Simulator

CHAPTER 3. Data Modeling and Database Design- Part1

Why & How: Business Data Modelling. It should be a requirement of the job that business analysts document process AND data requirements

Data Flow Diagrams and Use cases

D6 INFORMATION SYSTEMS DEVELOPMENT. SOLUTIONS & MARKING SCHEME. June 2013

Process for Data Flow Diagram Process Documentation Template: Description

OA3-10 Patterns in Addition Tables

Binary Adders: Half Adders and Full Adders

QUALITY TOOLBOX. Understanding Processes with Hierarchical Process Mapping. Robert B. Pojasek. Why Process Mapping?

The Project Planning Process Group

How to Make the Most of Excel Spreadsheets

How To Develop Software

Methods and Tolls for Business Process Modeling

Using UML Part Two Behavioral Modeling Diagrams

Newton s Laws of Motion Project

Using Use Cases for requirements capture. Pete McBreen McBreen.Consulting

Process Modeling and Process Improvement. Process Modeling

Flowcharting, pseudocoding, and process design

Templates and Repetitive Transactions. Settlement Terms Used in FX Web

Test Automation Architectures: Planning for Test Automation

Lecture 8: Synchronous Digital Systems

Architectural Design Structured Design. Xin Feng

Solutions to Bulb questions

Chapter 7. Process Analysis and Diagramming

Name Partners Date. Energy Diagrams I

USING UML FOR OBJECT-RELATIONAL DATABASE SYSTEMS DEVELOPMENT: A FRAMEWORK

THE EXPENDITURE CYCLE Part I

BUSINESS PROCESS DOCUMENTATION

Client Marketing: Sets

Refining Informational Writing: Grade 5 Writing Unit 3

Introduction to Systems Analysis and Design

Descriptive analysis IAEA. International Atomic Energy Agency

CPS122 Lecture: State and Activity Diagrams in UML

Creating a table of contents quickly in Word

9. Momentum and Collisions in One Dimension*

AP: LAB 8: THE CHI-SQUARE TEST. Probability, Random Chance, and Genetics

Area and Perimeter: The Mysterious Connection TEACHER EDITION

BPMN 2.0 Tutorial. Daniel Brookshier Distinguished Fellow No Magic Inc.

DVR GUIDE. Using your DVR/Multi-Room DVR WAVE-123 wavebroadband.com

Use Office 365 on your iphone

This explains why the mixed number equivalent to 7/3 is 2 + 1/3, also written 2

LAB 06: Impulse, Momentum and Conservation

Systems Documentation Techniques

MATLAB Programming. Problem 1: Sequential

1. Current situation Describe the problem or opportunity (the need for your proposal).

Use Case Diagrams. Tutorial

Balanced and Unbalanced Forces

Release Notes. Asset Control and Contract Management Solution 6.1. March 30, 2005

1.6 The Order of Operations

Bioinformatics Resources at a Glance

LAB : THE CHI-SQUARE TEST. Probability, Random Chance, and Genetics

Requirements Management John Hrastar

A UML Introduction Tutorial

Service Modeling Process. initial stage that we determine the potential scope of our SOA. Figure 10.1: Common phases of an SOA delivery lifecycle.

Automated Inventory System

Transcription:

Data Flow Diagrams Mechanics Outline DFD symbols External entities (sources and sinks) Data Stores Data Flows Processes Types of diagrams Step by step approach Rules Some Rules for External Entities External people, systems and data stores Reside outside the system, but interact with system Either a) receive info from system, b) trigger system into motion, or c) provide new information to system e.g. Customers, managers Not clerks or other staff who simply move data External Entities 1

Some Rules for Data Stores Internal to the system Data at rest Include in system if the system processes transform the data Store, Add, Delete, Update Every data store on DFD should correspond to an entity on an ERD Data stores can come in many forms: Hanging file folders Computer-based files Notebooks D1 Data Stores Some Rules for Data Flows Data in motion, moving from one place to another in the system From external entity (source) to system From system to external entity (sink) From internal symbol to internal symbol, but always either start or end at a process Data Flow Some Rules for Processes Always internal to system 0. Law of conservation of data: Processes #1: Data stays at rest unless moved by a process. #2: Processes cannot consume or create data Must have at least 1 input data flow (to avoid miracles) Must have at least 1 output data flow (to avoid black holes) Should have sufficient inputs to create outputs (to avoid gray holes) 2

Processes Logical process models omit any processes that do nothing more than move or route data, thus leaving the data unchanged. Valid processes include those that: Perform computations (e.g., calculate grade point average) Make decisions (determine availability of ordered products) Sort, filter or otherwise summarize data (identify overdue invoices) Organize data into useful information (e.g., generate a report or answer a question) Trigger other processes (e.g., turn on the furnace or instruct a robot) Use stored data (create, read, update or delete a record) Types of Diagrams Context Diagram A data flow diagram (DFD) of the scope of an organizational system that shows the system boundaries, external entities that interact with the system and the major information flows between the entities and the system Level-O Diagram A data flow diagram (DFD) that represents a system s major processes, data flows and data stores at a high level of detail Figure 8-4 Context diagram of Hoosier Burger s Food ordering system 8.9 3

Figure 8-5 Level-0 DFD of Hoosier Burger s food ordering system 8.10 Creating Data Flow Diagrams Creating DFDs is a highly iterative process of gradual refinement. General steps: 1. Create a preliminary Context Diagram 2. Identify Use Cases, i.e. the ways in which users most commonly use the system 3. Create DFD fragments for each use case 4. Create a Level 0 diagram from fragments 5. Decompose to Level 1,2, 6. Go to step 1 and revise as necessary 7. Validate DFDs with users. Data Flow Diagramming Rules General Specific rules to Symbols Context Diagram Level 0 and lower decompositions Balancing across levels 4

DFD Rules General Basic rules that apply to all DFDs Inputs to a process are always different than outputs Objects always have a unique name In order to keep the diagram uncluttered, you can repeat data stores and sources/sinks on a diagram 8.13 DFD Rules Symbols (Table 8-2) Process No process can have only outputs (a miracle) No process can have only inputs (black hole) A process has a verb phrase label Data Store Data cannot be moved directly from one store to another Data cannot move directly from an outside source to a data store Data cannot move directly from a data store to a data sink Data store has a noun phrase label 8.14 DFD Rules Symbols (Table 8-2) Source/Sink Data cannot move directly from a source to a sink A source/sink has a noun phrase label Data Flow A data flow has only one direction of flow between symbols A fork means that exactly the same data goes from a common location to two or more processes, data stores or sources/sinks 8.15 5

DFD Rules Symbols (Table 8-2) Data Flow (Continued) L. A join means that exactly the same data comes from any two or more different processes, data stores or sources/sinks to a common location M. A data flow cannot go directly back to the same process it leaves N. A data flow to a data store means update O. A data flow from a data store means retrieve or use P. A data flow has a noun phrase label 8.16 DFD Rules Context Diagram One process, numbered 0. Sources and sinks (external entities) as squares Main data flows depicted No internal data stores are shown They are inside the system External data stores are shown as external entities How do you tell the difference between an internal and external data store? Decomposition of DFDs Functional decomposition Act of going from one single system to many component processes This is a repetitive procedure allowing us to provide more and more detail as necessary The lowest level is called a primitive DFD Level-N Diagrams A DFD that is the result of n nested decompositions of a series of subprocesses from a process on a level-0 diagram 8.18 6

DFD Rules Balancing DFDs When decomposing a DFD, you must conserve inputs to and outputs from a process at the next level of decomposition. This is called balancing. Example: Hoosier Burgers In Figure 8-4, notice that there is one input to the system, the customer order Three outputs: Customer receipt Food order Management reports 8.19 DFD Rules Balancing DFDs Example (Continued) Notice Figure 8-5. We have the same inputs and outputs No new inputs or outputs have been introduced We can say that the context diagram and level-0 DFD are balanced 8.20 DFD Rules Balancing DFDs An unbalanced example, Figure 8-10 In context diagram, we have one input to the system, A and one output, B Level-0 diagram has one additional data flow, C These DFDs are not balanced 8.21 7

Figure 8-10 An unbalanced set of data flow diagrams why? (a) Context diagram (b) Level-0 diagram 8.22 Balancing DFDs We can split a data flow into separate data flows on a lower level diagram (see Figure 8-11) Balancing leads to four additional advanced rules (See Table 8-3) 8.23 Data Flow Splits and Joins Is this allowed? 8