DATA FLOW DIAGRAM (PART 2)

Slides:



Advertisements
Similar presentations
Information Systems Analysis and Design
Advertisements

CAPE INFORMATION TECHNOLOGY – Unit 2
DFD Rules and Guidelines Yong Choi BPA CSUB. 2 DFD example - Hoosier Burger’s food ordering system I * One process (level 0 - the whole system) * No data.
Chapter 7 Structuring System Process Requirements
Chapter 7 Structuring System Process Requirements
© 2005 by Prentice Hall 7-1 Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey.
Chapter 7 Structuring System Process Requirements
Chapter 7 Structuring System Process Requirements
Copyright 2006 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Third Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
How to : Data Flow Diagrams (DFDs)
Dataflow modelling: Context and Data Flow Diagrams
Jump to first page Chapter 2 System Analysis - Process Modeling.
Data Flow Diagrams Mechanics.
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.
System Analysis and Design
Data Flow Diagrams BCA Sem IV K.I.R.A.S.
Chapter 7 Structuring System Process Requirements
Chapter 8 Structuring System Requirements: Process Modeling
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 6.1.
Data Flow Diagrams (DFDs)
Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Sixth Edition.
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.
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.
Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Structuring System Process Requirements. Learning Objectives Understand the logical modeling of processes by studying examples of data flow diagrams (DFDs).
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 6.1.
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.
Data Flow Diagrams Objectives:
Chapter 7 Structuring System Process Requirements
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 7 Structuring System Process Requirements
AN INTRODUCTION BUSINESS PROCESS DOCUMENTATION WITH DATA FLOW DIAGRAMS.
DFDs.
Chapter 6 Structuring System Requirements: Process Modeling
Data Flow Diagrams (DFDs) 1Information Systems Engineering.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter 5 Structuring.
Copyright 2002 Prentice-Hall, Inc. Chapter 7 Structuring System Requirements: Process Modeling.
Data Flow Diagrams (DFDs)
Modern Systems Analysis and Design Fifth Edition
Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
© 2005 by Prentice Hall Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George.
DATA FLOW DIAGRAMS.
C_ITIP211 LECTURER: E.DONDO. Unit 3 : PROCESS MODELING.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Using Dataflow Diagrams Systems Analysis and Design, 8e Kendall & Kendall 7.
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 6 Structuring System Requirements: Process Modeling
Data Flow Diagrams Mechanics.
Chapter 8 Structuring System Requirements: Process Modeling
DFD examples.
DATA FLOW DIAGRAM (PART 2)
DATA FLOW DIAGRAM PART 2.
Structuring System Requirements: Process Modeling
Chapter 1: Data Flow Diagram Structuring System Process Requirements
Process & Logic Modeling
Data Flow Diagrams Mechanics.
Data Flow Diagrams Mechanics. Outline DFD symbols External entities (sources and sinks) Data Stores Data Flows Processes Types of diagrams Step by step.
Chapter 6 Structuring System Requirements: Process Modeling
MBI 630: Week 4 Process Modeling
DATA FLOW DIAGRAM.
Chapter 7: Data Flow Diagram Structuring System Process Requirements
Presentation transcript:

DATA FLOW DIAGRAM (PART 2)

Four basic rules The DFD must have at least one process, and must not have any freestanding objects or objects connected to themselves A process must receive at least one data flow coming into the process and create at least one data flow leaving from the process A data store should be connected at least one process External entities should not be connected to each other. Although they communicate independently, that communication is not part of the system we design using DFDs

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.

Context Diagram Top-level view of IS 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 Example: Order system that a company uses to enter orders and apply payments against a customer’s balance

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?

Context Diagram of Order System

Level-0 DFD Shows the system’s major processes, data flows, and data stores at a high level of abstraction When the Context Diagram is expanded into DFD level-0, all the connections that flow into and out of process 0 needs to be retained.

Context Diagram of Order System

Level-0 DFD of Order System

Lower-Level Diagrams Functional Decomposition Balancing

Decomposition of DFDs Functional decomposition Level-N Diagrams An iterative process of breaking a system description down into finer and finer detail Uses a series of increasingly detailed DFDs to describe an IS Act of going from one single system to many component processes Repetitive procedure 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

Balancing DFDs When decomposing a DFD, you must conserve inputs to and outputs from a process at the next level of decomposition Ensures that the input and output data flows of the parent DFD are maintained on the child DFD This is called balancing Example: Hoosier Burgers In Figure 1, notice that there is one input to the system, the customer order Three outputs: Customer receipt Food order Management reports

Figure 1 Context diagram of Hoosier Burger’s Food ordering system

Balancing DFDs Example (Continued) Notice Figure 2. 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

Figure 2 Level-0 DFD of Hoosier Burger’s food ordering system

Balancing DFDs: An unbalanced example Figure 3: 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

Figure 3: An unbalanced set of data flow diagrams SOURCE A B SINK (a) Context diagram 1.0 A SOURCE 1 C SOURCE 2 2.0 B SINK (b) Level-0 diagram

Balancing DFDs We can split a data flow into separate data flows on a lower level diagram (see Figure 4) Balancing leads to four additional advanced rules

Example of data flow splitting Payment & coupon Composite data flow x.1 Payment Disaggregated data flow x.2 Coupon

Advanced Rule for DFD A composite DF on 1 level can be split into component DF as the next level, but no new data can be added n all data in the composite must be accounted for in 1 or more subfollows The inputs to a process must b sufficient to produce the outputs from the process At the lowest level of DFD, new data flows may be added to represent data that r transmitted under exceptional condition, these data flows typically represent error message To avoid having data flow lines cross each other, u may repeat data strores or sources/sinks on a DFD. Use an additional symbol, like a double line on the middle vertical line of data strore symbol, or a diagonal line in a corner of a sink/source square to indicate a repeated symbol

Strategies for Developing DFDs Top-down strategy Create the high-level diagrams (Context Diagram), then low-level diagrams (Level-0 diagram), and so on Bottom-up strategy Create the low-level diagrams, then higher-level diagrams

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 Draw DFD diagram 0 for the order system

Identify Entities,Process,Data Stores & Data Flow Customer Warehouse Accounting Processes 1.0 Check Status 2.0 Issue Status Messages 3.0 Generate Shipping Order 4.0 Manage Accounts Receivable 5.0 Produce Reports Data Stores D1 Pending Orders D2 Accounts Receivable Data Flows Order In-Stock Request Order Data Status Data Status Message Shipping Order Invoice Shipping Confirmation Payment Accounting Data Accounts Receivable Data Inventory Reports 1.0 2.0 3.0 4.0 5.0

Context Diagram of Order System

Level-0 of Order System