Johnb DFDs and Design John Bell The DeMarco notation.

Slides:



Advertisements
Similar presentations
Information Systems Analysis and Design
Advertisements

CAPE INFORMATION TECHNOLOGY – Unit 2
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.
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 AND DESIGN TOOLS
Chapter 7 Structuring System Process Requirements
How to : Data Flow Diagrams (DFDs)
IMS1001 – Information Systems 1 CSE Information Systems 1
Data Flow Diagrams Levelling Them; Process Modelling Using Function Decomposition CSE Information Systems 1.
Jump to first page Chapter 2 System Analysis - Process Modeling.
Software Engineering: Analysis and Design - CSE3308
DT211 Stage 2 Software Engineering
Modern Systems Analysis and Design
Chapter 9 Using Data Flow Diagrams
Chapter 7 Using Data Flow Diagrams
3.1 Topic 3 MODELLING IN INFORMATION SYSTEMS DEVELOPMENT; PROCESS MODELLING IMS Systems Analysis and Design.
Modelling as a Communication Tool: Introduction to Process Modelling IMS Information Systems 1 CSE Information Systems 1.
Modelling as a Communication Tool: Introduction to Process Modelling CSE Information Systems 1.
DT211 Stage 2 Software Engineering
Process Modelling Using Data Flow Diagrams - Building and Levelling Them; Process Modelling Using Function Decomposition CSE Information Systems.
Systems Analysis I Data Flow Diagrams
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 Diagramming.
Chapter 7 Structuring System Process Requirements
National Diploma in Systems Analysis and Design Data Flow Modelling.
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)
DFD examples.
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.
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 A structured analysis technique that employs a set of visual representations of the data that moves through the organization, the paths.
Data Flow Diagrams.
DATA FLOW DIAGRAMS Learning Units
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.
 During systems development both processes and data must be modeled ◦ Data modeling describes data used by system ◦ Process modeling describes processes.
Computer System Analysis Chapter 8 Structuring System Requirements: Process Modeling Dr. Sana’a Wafa Al-Sayegh 1 st quadmaster University of Palestine.
Chapter 7 Using Data Flow Diagrams
System Analysis System Analysis - Mr. Ahmad Al-Ghoul System Analysis and Design.
1 Ref: Prof Sarda Process Modeling…… Lecture Outline Data flow diagram (DFD)
PHASE 2: SYSTEMS ANALYSIS
AN INTRODUCTION BUSINESS PROCESS DOCUMENTATION WITH DATA FLOW DIAGRAMS.
DFDs.
System Analysis: Case Study. System Analysis Overview It is one of the most important phases of the whole system development. Generally, the whole process.
1 14/08/00Arcot Sowmya Software Engineering COMP3111/COMP9008 Data Flow Diagrams.
SYSTEMS ANALYSIS AND DESIGN TOOLS DATA FLOW DIAGRAMS.
DFDs (Data Flow Diagrams). Data Flow Diagrams DFDs are a system modeling tool, the most popular and important representation in data flow modeling. DFDs.
1 DATA FLOW DIAGRAM. 2 Outline Process decomposition diagrams Data flow diagram (DFD)
Data Flow Diagrams (DFDs) 1Information Systems Engineering.
Data Flow Diagrams (DFDs)
Modern Systems Analysis and Design Fifth Edition
Information Modelling Process Technique- DFD 5C Sybase_PowerDesigner_ html.
C HAPTER 8 STRUCTURED APPROACH WITH THE DATA & PROCESS MODELING.
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.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Using Dataflow Diagrams Systems Analysis and Design, 8e Kendall & Kendall 7.
7-1 Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition.
Data Flow Diagrams.
Process Modeling Graphically represent the processes that capture, manipulate, store, and distribute data between a system and its environment Models DFDs.
Context and Data Flow Diagrams
Data Flow Diagrams.
Process & Logic Modeling
DATA FLOW DIAGRAM.
Presentation transcript:

johnb DFDs and Design John Bell The DeMarco notation

johnb Uses of DFDs o used to represent the processing which occurs within systems o most systems are too complex to be represented by just 1 DFD - so the system is partitioned into a hierarchy of manageable components, each consisting of related processes

johnb Uses of DFDs o a DFD can be viewed as either a physical or a logical DFD depending on the extent to which it does or does not model a technology- specific implementation o desirable to produce logical DFDs which represent what the processing is required to accomplish, rather than physical DFDs which represent how the processing requirements are met

johnb Uses of DFDs o Physical DFDs may be used to assist with understanding of existing processing and as an aid to deriving the logical DFD o DFDs: »do not include any procedural, control or timing aspects of processing. Initialisation, termination or control are not modelled

johnb DFDs o a useful analysis tool that: »uses models and standard, expressive notation: to aid understanding of complexity and to assist scoping and specification of systems o Partitioning: »entire system is first represented as a single, unlevelled process in the Context Diagram. This defines the system’s boundary in terms of its data and information interfaces with its environment.

johnb DFDs o Partitioning: (cont) »the diagram at the next level - the Level one diagram - represents the highest level partitioning of the system. Each process in this diagram: –represents a major business activity. –can be ‘exploded’ to a further level of detail as a DFD in its own right. This can be continued as far as required until ‘primitive’ processes are reached

johnb 4 DFD Objects o 1. External Entity »represents any person, thing or system external to the processing in the diagram and which either supplies data to the processing (a ‘Source’) or receives data output from the processing (a ‘Sink’) Customer

johnb 4 DFD Objects o 2. Data Flow »represents a ‘packet‘ of data moving between objects o 3. Data Store »represents data either temporarily or permanently at rest cash sale details Transactions data flow data store

johnb 4 DFD Objects o 4. Process »a transform that processes incoming data flows into changed outgoing data flows 1.2 Validate Sale sale detailsvalid sale details

johnb DFD Objects Processes each process should have a unique number and a name that describes clearly what the process does should use a verb and a noun phrase (eg. compute price, validate customer data, accept supplier delivery) and avoid vague names (eg. process data) 2.1 compute price process data

johnb DFD Objects Processes a process MUST have at least 1 data flow entering in and at least 1 data flow flowing out of it and there must be a change in the contents of data flows

johnb DFD Objects Data Flows represent data ‘packets’ moving through the system the name should describe the contents of the data packet - use a noun phrase - and imply the contents of the the data flow as clearly as possible (eg “customer payment” rather than just “payment”) 2.1 validate customer order customer order invalid customer order valid customer order

johnb DFD Objects Data Flows data flows can diverge when duplicate packets of data are sent to different parts of the system validate sales orders generate invoices sales generate shipping slips valid sales order invoice shipping slip

johnb DFD Objects Data Flows data flows can converge when several packets of data join together to form an aggregate packet of data 2.1 produce sales order valid customer details valid order item details valid sales order details sales order

johnb DFD Objects Data Flows data flows are permitted between 2 processes from a data store to a process from a process to a data store from a source to a process from a process to a sink

johnb DFD Objects Data Flows omit any processing required to handle “trivial rejects” - ie. rejects where no work needs to be undone show the possibility of trivial rejects by using a data flow labelled “reject”. It is allowable for such flows to have no destination indicated 2.1 produce sales order 2.1 produce sales order 3.2 validate applications 3.1 register applications 3.3 assess applications application registered application valid application approved application reject

johnb DFD Objects Data Stores represent a collection of data packets “at rest” each data store has a unique name - a plural noun that clearly signifies the contents of the data store data flows to or from a data store may remain unlabelled if all attributes in the store are moving - ie. if an entire packet (or packets) is going into or out of the data store 2.2 produce weekly sales totals 2.1 check sales order Sales Orders sales order checked sales order weekly sales totals

johnb DFD Objects Data Stores each data store may correspond to 1 or more entities in the logical data model Sales Orders Sales Order Item

johnb DFD Objects External Agents represent external objects with which the system communicates and which are outside the scope of the system eg. outside organisation or individual government agency another department another system data flows connecting the external agents to processes within the system represent the interface between the system and its environment

johnb Drawing DFDs Context Diagrams the highest level DFD that shows the interaction with the system and its environment (data flows) and defines the system boundary Customer Tax Office Supplier Order inventory system sales order invoice payment sales tax details purchase order delivery invoice

johnb Drawing DFDs Levelling DFDs Context Diagram Level 1 Diagram Diagram 3 at Level 2

johnb Drawing DFDs Levelling rules the data that flows into and out of a parent process must match the data that flows into and out of the related child diagram diagrams should have approximately no more than 7 processes levelling should continue until bottom level or primitive processes are reached not all parts of the system need to be decomposed to the same level

johnb Drawing DFDs Creating Logical DFDs eliminate implementation details: Naming 2.1 Bill checks form 2.1 Validate sales order AZ104 sales order valid sales order valid AZ104

johnb Drawing DFDs Physical DFDs example of a physical DFD for an order processing system – NB …. DFDs should NOT be drawn this way 2.1 Reception clerk x4 order formchecked x4 form 2.2 Sort into areas 2.3 send to production section sorted x4 forms. 2.4 production section despatched orders A66-production request form

johnb Drawing DFDs Creating Logical DFDs logical DFD of the same processing 2.1 check customer order customer order checked customer order 2.2 Check production feasibility 2.3 commit resources accepted order order resources schedule order details resources used