Data Flow Modelling Concepts  Data Flow Diagrams  External Entities, Data Stores, Processes and Data Flows  Elementary Process Descriptions  Levelling.

Slides:



Advertisements
Similar presentations
Data Flow Diagram (DFD) Overview
Advertisements

SE205 Software Engineering
Data Flow Modelling Concepts
Johnb DFDs and Design John Bell The DeMarco notation.
Software Engineering-II Sir Zubair Sajid. 3 Data Flow Diagrams (DFD)  DFDs describe the flow of data or information into and out of a system what does.
IS 421 Information Systems Analysis James Nowotarski 28 October 2002.
SYSTEMS ANALYSIS AND DESIGN TOOLS
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.
Chapter 4 – Documenting Information Systems
IMS1001 – Information Systems 1 CSE Information Systems 1
Data Flow Diagrams Levelling Them; Process Modelling Using Function Decomposition CSE Information Systems 1.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Process.
Process Modeling Chapter 6. Key Definitions A process model is a formal way of representing how a business operates Data flow diagramming shows business.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
Chapter 7 Using Data Flow Diagrams
Topics Creating DFD Physical and logical DFD Event driven modeling
DT211 Stage 2 Software Engineering
Modern Systems Analysis and Design
Structuring System Process Requirements -- Process Modeling --
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Process.
Basic of DFD. Developing a DFD There are no FIXED rules about how a DFD should be developed… There is no such a DFD call “CORRECT DFD”… Expert SAs may.
Chapter 9 Using Data Flow Diagrams
Chapter 7 Using Data Flow Diagrams
© Copyright 2011 John Wiley & Sons, Inc.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Process.
Process Modelling Using Data Flow Diagrams - Building and Levelling Them; Process Modelling Using Function Decomposition CSE Information Systems.
System analysis and design
DATA FLOW DIAGRAMS IT 155.
Process Modeling SYSTEMS ANALYSIS AND DESIGN, 6 TH EDITION DENNIS, WIXOM, AND ROTH © 2015 JOHN WILEY & SONS. ALL RIGHTS RESERVED. 1 Roberta M. Roth.
Data Flow Diagrams BCA Sem IV K.I.R.A.S.
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)
Systems Analysis and Design
Structuring System Process Requirements. Learning Objectives Understand the logical modeling of processes by studying examples of data flow diagrams (DFDs).
Info 361: Systems Analysis and Design
Systems Analysis and Design
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.
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.
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
The Structured Specification. Why a Structured Specification? System analyst communicates the user requirements to the designer with a document called.
 During systems development both processes and data must be modeled ◦ Data modeling describes data used by system ◦ Process modeling describes processes.
Chapter 7 Using Data Flow Diagrams
System Analysis System Analysis - Mr. Ahmad Al-Ghoul System Analysis and Design.
PHASE 2: SYSTEMS ANALYSIS
SAD - DFD Context Diagrams
Judi Prajetno Sugiono ©2009 Management Information System Additional note for DFD.
1 Data Flow Diagrams. 2 Identifying Data Flows During the analysis stage of a project it is important to find out how data flows through a system:  Where.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Systems.
DFDs.
Process Models: Data Flow Diagrams Chapter 2. Process Modeling Objective: Understand the concept of business processes Understand and create Data Flow.
DFDs (Data Flow Diagrams). Data Flow Diagrams DFDs are a system modeling tool, the most popular and important representation in data flow modeling. DFDs.
University of Sunderland ISIC 1 Data Flow Diagrams - Part 2 Hierarchical DFDs.
Lecture 6: Test-based Use case & Process Modeling December 7, 2014.
Context Process0. student Data Flow Diagram Progression.
6 - 1 Systems Analysis and Design, 2 nd Edition Alan Dennis and Barbara Haley Wixom John Wiley & Sons, Inc. Slides by Roberta M. Roth University of Northern.
Data Flow Diagram : Developed By Larry Constantine as a way of expressing system requirements in graphical Form: Data Flow Models (DFMs) are easy to understand.
© 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart1 of 37 C System Process Modeling DATA Flow Diagrams.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Process.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Process.
Process Modeling Chapter 6 (with additions by Yale Braunstein) IS 208
Process & Logic Modeling
University of Westminster
Presentation transcript:

Data Flow Modelling Concepts  Data Flow Diagrams  External Entities, Data Stores, Processes and Data Flows  Elementary Process Descriptions  Levelling  Document Flow Diagrams

Key Definitions  A process model is a formal way of representing how a business operates  Data flow diagramming shows business processes and the data that flows between them Sample 1Sample 2

Key Definitions  Logical process models describe processes without suggesting how they are conducted  Physical models include information about how the processes are implemented

Data Flow Diagrams aid communication Manager e Supplier d Purchase Order Cabinet M1 Stock File M2 * Receive Stock 2 Stock Clerk Manager e * Sell Stock 3 Cashier Customer a Purchase Order Stock List P.O. Matched Orders Orders Purchase Order Delivery Bought Goods Stock List Sold Goods Delivered Goods Order Stock 1 Stock Clerk M2 Stock File ProcessesData Stores External Entities

Data Flow Diagrams DFD Notation external entitydata flow processdata store  The DFD is a diagram that consists principally of four symbols, namely the external entity, the data flow, the process and the data store  Additionally, a physical flow can be shown on the DFD of the current system

Data Flow Diagrams External Entities d Supplier

Data Flow Diagrams Data Flows Cosmetics Goods Customer Details Data Flow (usual) Bi-directional Flow (rare) Flow Between External Entities (for convenience) Resource Flow (for convenience)

Data Flow Diagrams Process Sell Stock Cashier3

Data Flow Diagrams Data Stores D3 Suppliers Stock File M1T1 Unpaid InvoicesD1 Orders Digitised Manual Transient Duplicate

Data Flow Diagrams Decomposition

 Any process on a DFD may be broken up into several sub-processes which, when viewed collectively, make up that process  Thus for example we may break-up process 1 of the Small Stock System into that shown on the next slide: Data Flow Diagrams Decomposing Data Flow Diagrams

1 Order Stock Purchase Order Cabinet M1 Manager e Stock File M2 * Produce Stock List 1.1 * Record Purchase Order 1.2 Stock List Purchase Order Stock List Data Flow Diagrams Decomposing Data Flow Diagrams

levelling  The decomposition of a DFD into lower level DFDs is known as levelling  The DFD that shows the entire system is known as the ‘top level’ or ‘level 1’ DFD  The DFDs that contain more detailed views of the level 1 processes make up ‘level 2’ DFDs  Any level 2 process that is further decomposed gives rise to a level 3 DFD and so on Data Flow Diagrams Decomposing Data Flow Diagrams

Elementary Process Description System: Small Stock DFD Type: Current Process Name: Record Purchase Order Process Id: 1.2 Managers give the stock clerk a ready-made purchase order. The stock clerk places this order in the Purchase Order Cabinet. It is the managers’ responsibility to send the order directly to the supplier they have chosen. Each purchase order contains product information taken from the supplier’s price list. The date after which a delivery of goods will be unacceptable is also included. Data Flow Diagrams Decomposing Data Flow Diagrams

* Order Record Purchase 1.2 Data Flow Diagrams Decomposing Data Flow Diagrams

Data FlowData ItemRemarks Stock Listproduct name quantity in stock Purchase Ordersupplier name supplier address supplier’s product code product name quantity ordered purchase order date latest acceptable delivery date Purchase order contains one ‘supplier name’ but many ‘product name’ Data Flow Diagrams Context Diagrams

Data Flow Diagrams Starting from the Context Diagram  To develop a Context Diagram we carry out the following tasks: (i)Identify all sources and recipients of data from the system, i.e. external entities (ii)Identify the major data flows to and from the external entities (iii)Convert each source or recipient into an external entity symbol (iv)Add the data flows between each external entity and a single box representing the entire system

Supplier s Delivery Note r Purchase Order s Delivery Details s Invoice Purchaser s P.O. Quantities r Stock Report Customer r Dispatch Note Sales & Marketing s Customer Order rMatched C.O. #1 AccountsrMatched Invoices External Entity S or R Data Flow Data Flow Diagrams Starting from the Context Diagram

ZigZag Warehouse System Accounts e Customer d Purchaser b Sales and Marketing c Delivery Details Delivery Note Supplier a Purchase Order P.O.Quantities Despatch NoteMatched Invoice Customer Order Matched C.O. Copy #1 Invoice Payment Stock Report Data Flow Diagrams Starting from the Context Diagram

Document Flow Diagrams i. Identify all recipients and sources of documents, whether inside or outside the system boundary ii. Identify the documents that connect them iii. Convert each source and recipient into an external entity symbol iv. Add data flow arrows to represent each connecting document v. Add the system boundary to exclude the external entities identified in the context diagram

Document Flow Diagrams Supplier Invoice P.O.Clerk Supplier Delivery Times Stock Clerk Stock Clerk Stock Report Purchaser Stock Clerk Stock Report Despatch Supervisor Despatch Clerk Despatch Note Customer Customer Customer Order Sales & Marketing Sales & MarketingCustomer OrderDespatch Clerk Despatch ClerkDespatch ReportDespatch Supervisor Despatch Super.Matched Dsp RepDespatch Clerk Despatch ClerkMatched CO #1Sales & Marketing …. Source Document Recipient

Document Flow Diagrams Despatch Clerk Despatch Supervisor Customer Order Matched Despatch Rpt Despatch Report Matched C.O. Copy #1 Sales and Marketing

Data Flow Diagrams Converting Document Flow Diagrams What process generates this document flow? What process receives this document flow? Is the document stored by a process? Where is the document stored? Is the document created from stored data? What business activity triggers the process? Is the document a source of new data? To transform the Document Flow Diagram into a DFD we follow each document flow in turn, asking the following questions:

Manager e Supplier d Customer a Bought Goods Purchase Order P.O. Stock List Small Stock System Delivery Matched Orders Data Flow Diagrams Context Diagrams  A level higher than level 1, showing the whole system as a single process with external entities around it, is also possible:

Data Flow Diagrams Decomposing Data Flow Diagrams

Decomposition Diagram

 We can now follow each flow into and identify the elementary process responsible for it  A grouping of these elementary processes can then give us a first glimpse of the system’s Data Flow Model Data Flow Diagrams Starting from the Context Diagram

Check Delivery Place Goods in Delivery Dock Allocate Stock Location Remove Goods from Delivery Dock Store Goods in Depot b Supplier 2 Goods Receiving Check Delivery 3 Stock Keeping Store Stock M2 StockM1 Purchase Orders Matched P.O. New Stock P.O. Copy Delivery Note Data Flow Diagrams Converting Business Activity Models T2 Matched P.O.’s

 For a process to be complete, it needs to have both an input and an output (shown by data flows going into and coming out of it) Data Flow Diagrams Tips 2 Goods Receiving Check Delivery Matched P.O. T2 Matched P.O.’s b Supplier 2 Goods Receiving Check Delivery Delivery Note b Supplier 2 Goods Receiving Check Delivery Delivery Note T2 Matched P.O.’s Matched P.O.

Data Flow Diagrams Tips 2 Do something with it M2 A data store f Someone Something f Someone Something M2 A data store Same something WHY?

Creating Use Cases

Elements of a Use Case  Trigger -- event that causes the scenario to begin  External trigger  Temporal trigger  All possible inputs and outputs  Individual steps  Show sequential order  Show conditional steps

Scenario Template (Use Case)

Creating Data Flow Diagrams

Steps in Building DFDs  Build the context diagram  Create DFD fragments for each scenario  Organize DFD fragments into level 0  Decompose level 0 DFDs as needed  Validate DFDs with user

A DFD Fragment Example

DFD – Common Errors Error

DFD – Packet Concept

A Second DFD Fragment Example

Level 0 Tips  Generally move from top to bottom, left to right  Minimize crossed lines  Iterate as needed  The DFD is often drawn many times before it is finished, even with very experienced systems analysts

Composite & Elementary Flows

Tips for Level 1 and Below  Sources for inputs and outputs listed at higher level  List source and destination of data flows to processes and stores within each DFD  Depth of DFD depends on overall system complexity  Two processes generally don’t need lower level  More than seven processes become overly complex and difficult to read

Flows to & from Data Stores

Illegal Data Flows

Validating the DFD  Syntax errors  Assure correct DFD structure  Semantics errors  Assure accuracy of DFD relative to actual/desired business processes  User walkthroughs  Role-play processes  Examine lowest level DFDs  Examine names carefully

1. Use cases hold functional requirements in an easy-to-read text format 2. They make a good framework for non- functional requirements & project details. 3. Use cases show only the Functional req’ts. 4. Design is not done only in use case units. How should we gather requirements? Use cases?

Use cases do not collect formulae, state, cardinality, performance, uptime,...  Examples: 1. Order cost = order item costs * 1.06 tax 2. Promotions may not run longer than 6 months. 3. Customers only become Preferred after A customer has one and only one sales contact. 5. Response time is Uptime requirement is Number of simultaneous users will be...

Scenarios What if...? “Knows how to...” Use the scenarios directly to Design and Test the system.

Summary  The Data Flow Diagram (DFD) is an essential tool for creating formal descriptions of business processes and data flows.  Use cases record the input, transformation, and output of business processes.  Eliciting scenario descriptions and modeling business processes are critically important skills for the systems analyst to master.