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.

Slides:



Advertisements
Similar presentations
Information Systems Analysis and Design
Advertisements

Process Models: Data Flow Diagrams
CAPE INFORMATION TECHNOLOGY – Unit 2
BIS 360 – Lecture Seven Process Modeling (Chapter 8)
Johnb DFDs and Design John Bell The DeMarco notation.
IS 421 Information Systems Analysis James Nowotarski 28 October 2002.
Practice data flow diagramming as a tool for structured system programming (process modelling) DATA FLOW DIAGRAMs.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 6-1 Systems Development and Documentation Techniques.
Introduction to Data Flow Diagrams Week 6 CMIS570.
How to : Data Flow Diagrams (DFDs)
Chapter 4.
3/5/2009Computer systems1 Analyzing System Using Data Dictionaries Computer System: 1. Data Dictionary 2. Data Dictionary Categories 3. Creating Data Dictionary.
Systems Analysis and Design 9th Edition
Data Flow Diagrams Mechanics.
Chapter 7 Using Data Flow Diagrams
Data Flow Diagramming. Data Flow Diagrams Data Flow Diagrams are a means to represent data transformation processes within an information system.
Data Model Examples: DFD’s and System Flowcharts
Modern Systems Analysis and Design
MIS 461: Structured System Analysis and Design Dr. A.T. Jarmoszko
Chapter 7 Using Data Flow Diagrams
Spreadsheets in Finance and Forecasting Project Session 3b(ii) Data Flow Diagrams.
DT211 Stage 2 Software Engineering
Process Models: Data Flow Diagrams
Systems Analysis I Data Flow Diagrams
System analysis and design
System Analysis and Design
DATA FLOW DIAGRAMS IT 155.
Copyright © 2015 Pearson Education, Inc. Systems Documentation Techniques Chapter
Data Flow Diagrams BCA Sem IV K.I.R.A.S.
Systems Analysis and Design 10th Edition
Data Flow Diagrams (DFDs)
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.
Data Modeling using Entity Relationship Diagramming (ERD)
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Process.
1 Chapter 2 Revision: Documentation DFD System FC.
Data Flow Diagrams A structured analysis technique that employs a set of visual representations of the data that moves through the organization, the paths.
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 Week 10 Lecture 1. Data Flow Diagrams (DFDs) One of most important modelling tools used by system analysts In use since late 1970’s.
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
Logic Modeling Logic and timing are not represented on data flow diagrams or entity-relationship diagrams Processes contain logic - what happens under.
PHASE 2: SYSTEMS ANALYSIS
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.
Prepare for Final 1-3. Perfect Pizza wants to install a system to record orders for pizza and calzones. When regular customers call Perfect Pizza on the.
Judi Prajetno Sugiono ©2009 Management Information System Additional note for DFD.
DFDs.
CHAPTER 5 1 DATA AND PROCESS ANALYSIS. Chapter Objectives Describe data and process modeling concepts and tools, including data flow diagrams, a data.
Data Flow Diagrams (DFDs)
Systems Analysis and Design 8th Edition
Systems Analysis and Design 8th Edition
Systems Analysis & Design
Software Analysis 1 PROCESS MODELING: Data Flow Diagrams (DFDs)
SYSTEMS ANALYSIS AND DESIGN ITDB 2101 HAND OUT # 3 1.
DATA FLOW DIAGRAMS.
- 1 - SW 분석 기법 개론 ( 구조적 분석 기법 ) 정 인 상정 인 Data Flow Diagram (DFD)  Graphical representation of functional modeling  In analysis, provide representation.
© 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart1 of 37 C System Process Modeling DATA Flow Diagrams.
Systems Documentation Techniques
DFD(Data Flow Diagram)
Process Modeling Graphically represent the processes that capture, manipulate, store, and distribute data between a system and its environment Models DFDs.
DFD examples.
UML Use Case Diagrams.
System Process Modeling
Continuation of Causeway Example
DATA FLOW DIAGRAM EXAMPLES
Data Flow Diagramming Rules
Logic Modeling Logic and timing are not represented on data flow diagrams or entity-relationship diagrams Processes contain logic - what happens under.
Introduction to Data Flow Diagrams
Presentation transcript:

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 context level process) should be a verb phrase usually three words: verb, modifier, noun on a physical DFD, could be a complete sentence

Data Flow Diagramming Rules Data flows –data flows are unidirectional –a data flow may fork, delivering exactly the same data to two different destinations –two data flows may join to form one only if the original two are exactly the same –no recursive data flows –data flows (and data stores and sources/sinks) are labelled with noun phrases

Data Flow Diagramming Rules Data stores and sources/sinks –no data flows between two data stores; must be a process in between –no data flows between a data store and a source or sink; must be a process in between –no data flows between two sources/sinks such a data flow is not of interest, or there is a process that moves that data

Practice Develop a context diagram for a college course registration system

Course Registration: Context level Diagram 0 Course Registration System Student Registrar Professor Class Request Payment Receipt Student Schedule Class roster Enrollment statistics

Level 0 Diagram Process is “exploded” Sources, sinks, and data flows repeated from context diagram Process broken down into subprocesses, numbered sequentially Lower-level data flows and data stores added

Course Registration: Current Logical Level 0 Diagram Student RegistrarProfessor 1.0 Register Student for Course D1 Student Class Records D2 Student Payments 2.0 Collect Student Fee Payment 3.0 Produce Student Schedule 4.0 Produce Class Roster 5.0 Produce Enrollment Report Payment Information Student and Course Data Student Class Record Student Class Record Student Class Record Student Schedule Class Roster Enrollment Report Student Class Request Receipt Payment

Child Diagrams “Explode” one process in level 0 diagram Break down into lower-level processes, using numbering scheme Must include all data flow into and out of “parent” process in level 0 diagram Don’t include sources and sinks May add lower-level data flows and data stores

Course Registration: Current Logical Child Diagram 1.2 Check for Availability 1.1 Check Prerequisites Met 1.3 Enroll Student in Class D1 Student Class Records D5 Course Catalogue D4 Student Transcripts D3 Semester Schedule Class Request Valid Class Request Feasible Class Request Available Seats Student Record Course Record Student and Course Data Error

Physical DFDs Model the implementation of the system Start with a set of child diagrams or with level 0 diagram Add implementation details –indicate manual vs. automated processes –describe form of data stores and data flows –extra processes for maintaining data

Course Registration: Proposed Physical Child Diagram 1.2 Check for Availability (automated) 1.1 Check Prerequisites Met (automated) 1.3 Enroll Student in Class (automated) D1 Semester Enrollment DB D5 Course Catalogue DB D4 Registrar’s Student DB D3 Semester Schedule DB Class Request Authorized Class Request Valid Class Request Available Seats Student and Course Data Student Notified ( ) Student ed Student Record Course Record

Course Registration: Current Physical Child Diagram 1.2 Check for Availability (Banner) 1.1 Check Prerequisites Met (Banner) 1.3 Enroll Student in Class (Banner) D1 Semester Enrollment DB D5 Course Catalogue (text) D4 Department Student File D3 Semester Schedule DB Class Request Advisement Authorization Feasible Class Request Available Seats Student and Course Data Student Notified (verbally) Unavailability Message Student File Course Description

Practice Develop a context diagram for a pizza place (SUNYIT Pizza) that delivers

SUNYIT Pizza: Context Level Diagram 0 Customer Order System Customer Cook Management Phone Number Customer Order Customer Info Delivery Information Weekly Report Cook Order Delivery Person

SUNYIT Pizza: Current Logical Level 0 Diagram 1.0 Find Customer Record 7.0 Print Weekly Totals 6.0 Send Order to Cook 5.0 Add Customer Record 2.0 Take Customer Order 3.0 Print Delivery Order Customer Info Phone Number Customer Order D1 Customer Master Customer Record Customer Record Customer Information D2 Customer History D3 Sales Records Order Information Order Information Customer History Delivery Information Customer Order Cook Order Management Sales Info Weekly Report Discount Info Delivery Person

SUNYIT Pizza: Current Logical Child Diagram 3.1 Determine Customer Discount 3.2 Record Discount 3.3 Print Delivery Instructions Order Information Discount Amount Delivery Information D2 Customer History D3 Sales Records Customer History Discount Information Customer Information

SUNYIT Pizza: Current Logical Child Diagram 5.1 Record Customer Information 5.2 Store Customer Record D1 Customer Master Customer InformationRaw Customer Information Customer Record

SUNYIT Pizza: Physical Child Diagram 5.3 Clerk Visually Confirms Cust. Info. 5.1 Clerk Types Customer Information 5.2 System Validates Customer Information 5.4 Format Customer Record Phoned Customer Information Recorded Customer Information Valid Customer Information Syntax Errors Cancelled Transaction New Customer Information D1 Customer DB Customer Record Phone Number

SUNYIT Pizza: Current Physical Level 0 Diagram 1.0 Clerk Finds Customer Row 7.0 Mgr Prints Weekly Totals (batch) 6.0 Clerk Sends Order to Cook (paper) 5.0 Clerk Adds Customer Row 2.0 Clerk Takes Customer Order (by phone) 3.0 System Prints Delivery Order Customer Phoned Customer Info Phone Number Phoned Customer Order D1 Customer Spreadsheet Customer Record Customer Record Customer Information D2 Customer History DB D3 Sales Records File Copy of Order Slip Customer & Order Info Customer History Record Delivery Printout Customer Cook Copy of order slip Management Copies of Order Slips Weekly Report Phone # Cust. Info. Delivery Person 8.0 Mgr Updates Customer History (nightly) Copies of Order Slips & Del. Printouts Customer History Record Phoned Customer Order

SUNYIT Pizza: Proposed Physical Level 0 Diagram 1.0 System Finds Customer Record 7.0 System Prints Weekly Totals (batch) 5.0 Clerk Adds Customer Record 2.0 Clerk Enters Customer Order (by phone) 3.0 System Prints Delivery Order Customer Phoned Customer Info Phone Number Phoned Customer Order D1 Customer DB Customer Record Customer Record Customer Information D2 Customer History DB D3 Sales DB Order Info Order Info Customer History Record Delivery Printout CookManagement Sales Records Weekly Report Phone # Cust. Info. Delivery Person D3 Sales DB Order Info Discount Info

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 context level process) should be a verb phrase usually three words: verb, modifier, noun on a physical DFD, could be a complete sentence

1.0 Gather Data 2.0 Compile Statistics Demographic Data 3.0 Analyze Responses Survey Responses Final Report

2.0 Visa Authorization 2.0 Total Records 2.0 QA Process 2.0 Check Customer Credit 2.0 Total Sales Records 2.0 Inspect Finished Products BETTER

Data Flow Diagramming Rules Data stores and sources/sinks –no data flows between two data stores; must be a process in between –no data flows between a data store and a source or sink; must be a process in between –no data flows between two sources/sinks such a data flow is not of interest, or there is a process that moves that data

2.1 Store Customer Data Customer Information D1 Customer Data D2 Customer Preferences Customer Data Customer Preferences 2.1 Store Customer Data Customer Information D1 Customer Data D2 Customer Preferences Customer Data Customer Preferences

2.1 Store Customer Data Customer Information D1 Customer Data D2 Customer Preferences Customer Data Customer Preferences 2.1 Store Customer Data Customer Information D1 Customer Data D2 Customer Preferences Customer Data Customer Preferences 2.2 Extract Customer Preferences Customer Data

D1 Customer Data Customer Data 2.0 Store Customer Data D1 Customer Data Customer Data Customer Information Customer

0 Medical Billing System Doctor Patient Diagnosis Service Information Bill

Data Flow Diagramming Rules Data flows –data flows are unidirectional –a data flow may fork, delivering exactly the same data to two different destinations –two data flows may join to form one only if the original two are exactly the same –no recursive data flows –data flows (and data stores and sources/sinks) are labelled with noun phrases

2.0 Total Daily Sales 1.0 Take Customer Order 3.0 Print Delivery Instructions Customer Order Information Order Total 2.0 Total Daily Sales 1.0 Take Customer Order 3.0 Print Delivery Instructions Order Information Order Total

2.0 Lookup Customer Record 1.0 Take Customer Order 3.0 Print Delivery Instructions Customer Order Customer Address Customer Information 2.0 Lookup Customer Record 1.0 Take Customer Order 3.0 Print Delivery Instructions Customer Order Customer Address

1.0 Calculate Weekly Sales Daily Sales Cumulative To-Date Sales

Data Flow Diagramming Guidelines The inputs to a process are different from the outputs Every object in a DFD has a unique name

1.0 Validate Customer Data 1.0 Validate Customer Data Customer Data Customer Data Valid Customer Data Customer Data

2.0 Take Customer Order 1.0 Get Customer Data 3.0 Process Customer Order Customer Data Customer Data Order 2.0 Take Customer Order 1.0 Get Customer Data 3.0 Process Customer Order Customer Data Order

1.0 Get Customer Data 2.0 Take Customer Order 3.0 Validate Customer Data Customer Data Only if these are exactly the same Customer Data

Data Flow Diagramming Guidelines A data flow at one level may be decomposed at a lower level All data coming into and out of a process must be accounted for On low-level DFDs, new data flows can be added to represent exceptional situations

1.0 Get Customer Address Customer Information Customer Address 1.2 Lookup Customer Address 1.1 Get Customer Phone 1.3 Request Customer Address Customer Phone Customer Address Customer Phone Customer Address

1.0 Get Customer Address Customer Information Customer Address 1.2 Lookup Customer Address 1.1 Get Customer Phone 1.3 Request Customer Address Customer Phone Customer Address Customer Phone Customer Address Invalid Phone Number Message

Data Elements Indivisible pieces of data Data flows and data stores are made up of data elements Like attributes on an ER diagram The data elements of a data flow flowing in or out of a data store must be a subset of the data elements in that data store

1.0 Calculate Gross Pay D2 Employee Time File Employee D1 Employee Master D3 Check Reconciliation D1 Employee Master 2.0 Calculate Withholding Amount 3.0 Calculate Net Pay 4.0 Print Employee Paycheck Hours Worked Employee Time Record Gross Pay Withholding Net Pay Employee Record Employee Record Check Reconciliation Record Employee Paycheck

1.0 Calculate Gross Pay D2 Employee Time File Employee D1 Employee Master D3 Check Reconciliation D1 Employee Master 2.0 Calculate Withholding Amount 3.0 Calculate Net Pay 4.0 Print Employee Paycheck Hours Worked Employee Time Record Gross Pay Withholding Amount Net Pay Employee Record Employee Record Check Reconciliation Record Employee Paycheck 5.0 Create Time Record Employee Time Record Number of Dependents Gross Pay D4 Withholding Tables Withholding Rates 6.0 Reconcile Pay Check Paycheck Information

DFDs and ERDs DFDs and ERDs are both used to model systems, but they show two very different perspectives on the system A DFD shows what the system does as well as the data that the system manipulates An ERD shows only the data that the system manipulates.

DFDs and ERDs (cont.) Entities on an ERD often (but not always) correspond to data stores on a DFD Attributes on an ERD usually correspond to data elements (listed in the data dictionary) that make up the data store and data flows on a DFD Relationships on an ERD do not correspond to processes on a DFD. Sources and sinks on a DFD usually do not show up as entities on an ERD

Example DFD and ERD DFD Incorrect ERD

Example DFD and ERD Correct ERD DFD