1 14/08/00Arcot Sowmya Software Engineering COMP3111/COMP9008 Data Flow Diagrams.

Slides:



Advertisements
Similar presentations
Johnb DFDs and Design John Bell The DeMarco notation.
Advertisements

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.
Systems Analysis Requirements structuring Process Modeling
Practice data flow diagramming as a tool for structured system programming (process modelling) DATA FLOW DIAGRAMs.
IFS310: Week 3 BIS310: Structured Analysis and Design 5/4/2015 Process Modeling and Data Flow Diagrams.
Chapter 7 Structuring System Process Requirements
Using Dataflow Diagrams
© 2005 by Prentice Hall 7-1 Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
ACG 4401 Data Modeling: Data Flow Diagrams Flow Charts.
Chapter 4 Enterprise Modeling.
1 Introduction to Data Flow Modelling The data flow approach to requirements determination in building a system for business use. This type of computer.
Chapter 4.
Systems Analysis and Design 9th Edition
Dataflow modelling: Context and Data Flow Diagrams
Jump to first page Chapter 2 System Analysis - Process Modeling.
CSE Software Engineering: Analysis and Design, 2005Lecture 4A.1 Software Engineering: Analysis and Design - CSE3308 Structured Analysis - Part 1.
Software Engineering: Analysis and Design - CSE3308
Modern Systems Analysis and Design
MIS 461: Structured System Analysis and Design Dr. A.T. Jarmoszko
Data and Process Modeling
L ECTURE 9 – PROCESS MODELLING PART 1 Data Flow Diagrams for Process Modelling Multi-level Data Flow Diagrams Logical Vs Physical DFDs Steps to Construct.
Chapter 4.
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.
Chapter 7 Structuring System Process Requirements
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.
Data Flow Diagrams (DFDs)
Chapter 1: Data Flow Diagram Structuring System Process Requirements
Data flow diagrams.
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 and Process Modeling
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.
Systems Analysis – Analyzing Requirements.  Analyzing requirement stage identifies user information needs and new systems requirements  IS dev team.
SDLC Phase II: Structuring System Requirements IS 582 Dr. Dania Bilal Spring 2008.
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
Phase 2: Systems Analysis
Lecture 6 Data Flow Modeling
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.
Computer System Analysis Chapter 8 Structuring System Requirements: Process Modeling Dr. Sana’a Wafa Al-Sayegh 1 st quadmaster University of Palestine.
Chapter 3 Systems Documentation Techniques Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 3-1.
SAD - DFD Context Diagrams
Software Engineering INTRODUCTION TO SOFTWARE ENGINEERING.
DFDs.
DFDs (Data Flow Diagrams). Data Flow Diagrams DFDs are a system modeling tool, the most popular and important representation in data flow modeling. DFDs.
7. ANALYZING REQUIREMENTS- (Data Flow Diagrams)
Chapter 4 enterprise modeling
System Decomposition Overview. Data Flow Diagrams Despite the name “Data Flow Diagrams”, DFD have a process, rather than a data, focus We represent all.
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.
Systems Analysis and Design 8th Edition
Structuring User Requirements IS 592 Dr. Dania Bilal Spring 2005.
Systems Analysis and Design 8th Edition
Systems Design.  Application Design  User Interface Design  Database Design.
CS223: Software Engineering
Data Flow Diagram, Data Dictionary, and Process Specification PART I
Software Analysis 1 PROCESS MODELING: Data Flow Diagrams (DFDs)
© 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.
7-1 Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition.
© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S.
Tools Of Structured Analysis
SDLC Phase III: Structuring System Requirements
Presentation transcript:

1 14/08/00Arcot Sowmya Software Engineering COMP3111/COMP9008 Data Flow Diagrams

2 14/08/00Arcot Sowmya Tools of Structured Analysis v Much of SA consists of system modeling v modeling allows us to –focus on important features –change/correct user’s requirements at low cost and risk –verify that analyst’s understanding is correct v include: data flow diagrams, entity- relationship diagram and state- transition diagram.

3 14/08/00Arcot Sowmya Data Flow Diagram v What system functions, their interactions? v What transformations, what inputs and outputs? v What work, what information, what results? v Data flow diagram models transformation of inputs to outputs.

4 14/08/00Arcot Sowmya A Data Flow Diagram Tape Transaction 1 Customer Transaction Member number Rental cost Prices Library Customer Generate Report 3 Reports Update Pricing 2 New Prices

5 14/08/00Arcot Sowmya Components of DFD: Process v Also called bubble, function, transformation v shows part of system that transforms inputs to outputs v represented graphically as a circle v named with a single word, phrase or sentence

6 14/08/00Arcot Sowmya Components of DFD: The Flow v Represented graphically by an arrow into/out of aprocess v describes movement of information in the system v “data in motion” v in non-computerized systems, could describe flow of materials

7 14/08/00Arcot Sowmya The Flow- cntd v must be named (with one exception) v flow shows direction v double-headed arrow stands for dialogue- convenient packaging of two data packets v dalatflows can diverge or converge in a DFD

8 14/08/00Arcot Sowmya Components of DFD: The Store v Used to model a collection of data packets at rest- store is passive v named, notation is two parallel lines v stored connected by flows to processes v flow from a store is a read- store is not changed v flow to a store is a write/update/delete- store is changed

9 14/08/00Arcot Sowmya Components of DFD: The Terminator v Represented graphically as a rectangle v represents external entities which system communicates with v outside control of system being modeled v flows between terminators and processes or stores is the system interface v relationships between terminators will not be modeled

10 14/08/00Arcot Sowmya Guidelines for constructing DFD v Choose meaningful names –try to identify functions of processes –avoid vague names (`Do STUFF’) –Use words meaningful to user v number the processes –be consistent –easier to refer to aprocess by number! –Useful in hierarchy of processes

11 14/08/00Arcot Sowmya Guidelines- cntd v redraw for aesthetics –size/shape of bubbles –curved versus straight dataflows –hand-drawn versus machine-generated diagrams v avoid overly complex DFDs –must be comprehensible –not too many processes, flows, stores, terminators

12 14/08/00Arcot Sowmya Guidelines- cntd v make sure the DFD is logically consistent –avoid infinite sinks –avoid spontaneous generation bubbles –beware of unlabeled flows and processes –beware of read-only or write-only stores

13 14/08/00Arcot Sowmya Hierarchical DFDs v To handle large, complex systems (DFDs), v organise them in a series of levels v each level provides more detail about a portion of the level above it

14 14/08/00Arcot Sowmya DFD: A Hierarchical System Context Diagram Level 0 Level 1 Level 2

15 14/08/00Arcot Sowmya Context Diagram- Level 0 v Single bubble represents whole system v show –all people, organisations, systems with which our system communicates- as terminators –system inputs and outputs –data stores –boundary between our system and outside world.

16 14/08/00Arcot Sowmya DFD: Context Level Diagram Video Shop System Member Manager New Member details Rental details Rental cost Member number New Prices Reports

17 14/08/00Arcot Sowmya DFD: Level 0 Diagram Tape Transaction 1 Customer Transaction Member number Rental cost Prices Library Customer Generate Report 3 Reports Update Pricing 2 New Prices

18 14/08/00Arcot Sowmya DFD: Numbering Processes Context Diagram Level 0 Level 1 Level 2

19 14/08/00Arcot Sowmya Numbering Processes v Number all processes as 1, 2, 3,.. in Level 0 v If parent process at Level 0 was numbered 1, then its child processes at Level 1 will be 1.1, 1,2,…. v Processes in context diagram are not numbered v not all processes are decomposed to the same depth

20 14/08/00Arcot Sowmya Points to Ponder v How many levels in a DFD? v decompose to same level of detail? v How to present to user? v How to ensure consistency in levels? v How to show stores at different levels? v How to DO the levelling?

21 14/08/00Arcot Sowmya DFDs: Common Mistakes CustomerVSS Name Address Phone Order Invoice Should be rationalised into a single data flow: “Customer Detail”

22 14/08/00Arcot Sowmya DFDs: Common Mistakes Customer Details Name Address Validate Customer InvoiceGenerate Invoice This is okay because it is still the same data flow

23 14/08/00Arcot Sowmya DFDs: Common Mistakes Customer Details Name Address Validate Customer InvoiceGenerate Invoice This is NOT okay because we have split the data flow into 2 new flows. Only processes are allowed to split data flows.

24 14/08/00Arcot Sowmya DFDs: Common Mistakes Items Costs You cannot merge data flows. Only processes are allowed to merge data flows.

25 14/08/00Arcot Sowmya DFDs: Common Mistakes Personal Info Transaction interface Return-Key Personal Details Control Signals should be avoided in logical DFD analysis.

26 14/08/00Arcot Sowmya DFDs: Common Mistakes Get Next Byte Compile Packet Ask for more Byte Packet Avoid control loops in logical DFD analysis.

27 14/08/00Arcot Sowmya DFD: Example v A simple Video Shop System. v General Requirements: –Facility to add new members and issue member numbers. –Borrow and return tapes. –Change rental prices. –Generate usage reports.

28 14/08/00Arcot Sowmya DFD: Example v Analysis –From the requirements, you should have identified the external entities to be the Manager and the Customer. –Further analysis might suggest what data is fed into and produced by the system. v The following DFD is an interpretation of the given requirements.

29 14/08/00Arcot Sowmya DFD: Example Video Shop System Customer Manager Customer Transaction Rental cost Member number New Prices Reports Context Diagram

30 14/08/00Arcot Sowmya DFD: Example Tape Transaction 1 Customer Transaction Member number Rental cost Prices Library Customer Generate Report 3 Reports Update Pricing 2 New Prices Level 0 Diagram

31 14/08/00Arcot Sowmya DFD: Example Determine Membership 1.1 Customer Cuntomer Transaction New Member Tape Transaction Rental Cost Member number Add New Member Process Borrow/ Return Customer Level 1 Diagram Process 1

32 14/08/00Arcot Sowmya DFD: Example Prices Customer Library Tape Transaction Tape Return Tape Borrow Rental Costs Filter Transaction Return Borrow Level 2 Diagram Process 1.3