1 Lecture 3: Introducing Data Flow Diagrams (DFDs) Section 1 - The Concept of Diagrams Why use Diagrams? Diagrams as Working Documents Systems Analysis.

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.
Software Engineering-II
Practice data flow diagramming as a tool for structured system programming (process modelling) DATA FLOW DIAGRAMs.
Data Flow Diagram (DFD) Review
SYSTEMS ANALYSIS AND DESIGN TOOLS
Data Flow Diagram Purpose – visually depict how data moves and changes through a top-down, logical model Logical model – requirements and the relationship.
1 Introduction to Data Flow Modelling The data flow approach to requirements determination in building a system for business use. This type of computer.
Systems Analysis and Design 9th Edition
Chapter 9 Describing Process Specifications and Structured Decisions
Chapter 7 Using Data Flow Diagrams
Function Definition  From Investigation to Specification  Defining Functions  The Universal Function Model  Identifying and Documenting Functions.
Systems Analysis and Design. Plan Introduction Structured Methods –Data Flow Modelling –Data Modelling –Relational Data Analysis Feasibility Maintenance.
Chapter 9 Using Data Flow Diagrams
Chapter 7 Using Data Flow Diagrams
© Copyright 2011 John Wiley & Sons, Inc.
Systems Analysis and Design in a Changing World, 6th Edition
Modeling the Processes and Logic
Process Modelling Using Data Flow Diagrams - Building and Levelling Them; Process Modelling Using Function Decomposition CSE Information Systems.
DATA FLOW DIAGRAMS IT 155.
Copyright © 2015 Pearson Education, Inc. Systems Documentation Techniques Chapter
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
6 Systems Analysis and Design in a Changing World, Fourth Edition.
System Analysis Overview Document functional requirements by creating models Two concepts help identify functional requirements in the traditional approach.
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.
Systems Analysis and Design in a Changing World, Fifth Edition
Data Flow Diagrams (DFDs)
Chapter 6 The Traditional Approach to Requirements
Systems Analysis and Design
Systems Analysis and Design
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 and Design in a Changing World, Fifth Edition
1 Chapter 2 Revision: Documentation DFD System FC.
Data Flow Diagrams.
DATA FLOW DIAGRAMS Learning Units
Systems Analysis & Design Data Flow Diagrams. End Home Data Flow Diagrams – Definition  A data flow diagram is a pictorial model that shows the flow.
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.
The Structured Specification. Why a Structured Specification? System analyst communicates the user requirements to the designer with a document called.
Chapter 7 Structuring System Process Requirements
Chapter 3 Systems Documentation Techniques Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 3-1.
Chapter 7 Using Data Flow Diagrams
SAD - DFD Context Diagrams
DFDs.
1 14/08/00Arcot Sowmya Software Engineering COMP3111/COMP9008 Data Flow Diagrams.
Process Models: Data Flow Diagrams Chapter 2. Process Modeling Objective: Understand the concept of business processes Understand and create Data Flow.
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.
University of Sunderland ISIC 1 Data Flow Diagrams - Part 2 Hierarchical DFDs.
Systems Analysis and Design in a Changing World, 6th Edition
IS3320 Developing and Using Management Information Systems Lecture 16: Data-Flow Diagrams 1 (Intro to Context-Level diagrams) Rob Gleasure
Modern Systems Analysis and Design Fifth Edition
Systems Analysis and Design 8th Edition
Systems Analysis and Design 8th Edition
1Lecture 8 Introduction to Systems Analysis l Objectives –Explain how systems analysis relates to business needs, problems, and opportunities –List and.
Data Flow Diagram, Data Dictionary, and Process Specification PART I
6 Systems Analysis and Design in a Changing World, Fourth Edition.
McGraw-Hill/Irwin Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 5 Modeling the Processes and Logic.
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.
COM 117 Introduction to Application Building Introduction to the module Learning outcomes Assessment Lecture on DFDs Practical activity Tutorial activity.
Data Flow Diagrams.
Context and Data Flow Diagrams
Data Dictionaries ER Diagram.
Chapter 11 Describing Process Specifications and Structured Decisions
Presentation transcript:

1 Lecture 3: Introducing Data Flow Diagrams (DFDs) Section 1 - The Concept of Diagrams Why use Diagrams? Diagrams as Working Documents Systems Analysis Modelling Techniques

2 Why Use Diagrams? To help overcome the communication problem between users and developers. Use of natural language, written or spoken open to –misinterpretation –ambiguities –omissions Diagrams –help communication –help understanding –are unambiguous

3 Why Use Diagrams (Cont’d) DEVELOPERS (have discussions with users etc)  CREATE DIAGRAMS (to record understanding)  AMEND DIAGRAMS (with further information)  USE DIAGRAMS as the  BASE OF SYSTEM STRUCTURE

4 Diagrams as Working Documents Diagrams are working documents: –changes will occur (for correctness) –changes must be documented and tracked Change is integral to the development process.

5 Systems Analysis - Modelling Techniques (Examples) Data Flow Diagrams Entity Relationship Diagrams Normalisation Entity-Life Histories

6 Lecture 3: Introducing Data Flow Diagrams (DFDs) Section 2 - Data Flow Diagrams (DFDs) Data Flow Diagramming DFD Notation DFD Levelling Guidelines for Drawing DFDs Connectivity & Validation

7 Data Flow Diagramming Business users normally define their business operation in terms of the processes of that operation. The process view of a system may be modelled by a Data Flow Diagram (DFD). A process may be defined as an action or series of actions which produce a change or development.

8 Data Flow Diagramming (Cont’d) DFDs concentrate upon the data needed to support the information requirements of a system: –what data is needed –the processes that convert it. Data flow diagrams provide: –the notion of structure –static pieces of documentation –communication tool DFDs are one of the most powerful and useful techniques available to the systems analyst.

9 DFD Notation A DFD has four key components. External Entity Process Data Store Data Flows

10 Processes Processes are the individual tasks which when completed in a certain sequence fulfil the overall goal of the system of which they are a part. Sales Clerk Validate Customer Order 2 Processes transform input into output.

11 Data Flows Data Flows depict the fact that some data in the form of documents, phone calls etc is moving. From an external entity to a process (or vice versa). From one process to another. From a process to a store (or vice versa). invoice address

12 Data Flows (Cont’d) Write data to a file Take data from a file

13 Data Flows (cont’d) Data flow names should be different if the form of their data elements changes on entry to and exit from a process. OrdersD1 Sales Clerk Validate Order 1 Customer StockD2 order part_numbernew_order

14 Data Stores Data Stores contain data which is needed by a process in order for it to be completed. These show data ‘at rest’ within the system. They carry a description and are numbered D1, D2, D3 etc (computer data) or M1, M2, M3 etc (manual files). D1Stock

15 External Entity External entities exist in the system’s environment and either provide data to the system (sources) or receive data from the system (sinks). They are usually people, places, departments, organisations etc. Customer

16 DFD Levelling DFDs allow the analyst to look at the system at different levels of detail. A business operation may contain many processes. The inclusion of all processes on a single diagram can: –make it look cluttered –make it difficult to see exactly what a process does To overcome this it is usual to ‘break down’ the diagram, a process known as levelling.

17 DFD Levelling (See Lejk & Deeks p67) External Entity External Entity ContextLevel 1Level 2 Overall Process Sub-process

18 Context Diagrams (Overview or Level 0) Represent the system at a high level of detail. Comprised of: One single process box for the entire system. External entities. The data flows that pass between the external entities and the system.

19 Context Diagrams (cont’d) Purpose: to identify and examine the interfaces between the external entities and the system.

20 Simple Order System Customer order delivery_detailsinvoice Example Context Diagram

21 Level 1 Diagrams Show: – the system in more detail –how data enters the system –how these data items are transformed by the processes –how they leave the system A Level 1 diagram must have the same number of inputs and outputs as its context diagram. The flows are connected to and from the actual processes which create, receive or change them. Processes are numbered 1, 2, 3 etc on a Level 1 diagram.

22 Guidelines for Drawing a Context Diagram Read the case study a number of times. Try to list potential external entities. Establish what flows are sent to the system from the external entities. Establish what flows are sent from the system to the external entities. Draw the Context diagram.

23 Guidelines for Drawing a Level 1 Diagram Taking one sentence at a time try to identify potential processes (look for verbs). Identify and list the data flows. Identify and list the data stores. Draw the Level one diagram (using the correct notation).

24 ‘Connectivity & Validation’ Make sure the Level 1 diagram is fully connected. That is, a process must receive inputs from other processes or from data stores to be triggered. Check the Level 1 diagram against the context diagram for consistency: –flows across the boundaries must be the same –names must be the same