Data Flow Diagrams (DFD) & Context diagrams Data Flow Diagrams (DFD)

Slides:



Advertisements
Similar presentations
Identifying Data Flows
Advertisements

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.
Data Flow Diagram (DFD) Review
SYSTEMS ANALYSIS AND DESIGN TOOLS
Documenting Information Systems
Copyright © 2015 Pearson Education, Inc. Systems Documentation Techniques Chapter
Data Flow Diagram Purpose – visually depict how data moves and changes through a top-down, logical model Logical model – requirements and the relationship.
ACG 4401 Data Modeling: Data Flow Diagrams Flow Charts.
Chapter 4 Enterprise Modeling.
How to : Data Flow Diagrams (DFDs)
Review Questions The four symbols on a data flow diagram are: Rounded rectangles (processes) Squares (external agents) Open-ended boxes (data stores) Arrows.
DT211 Stage 2 Software Engineering
Modern Systems Analysis and Design
Section 04DFD - Top Level1 04 Data Flow Diagrams - Top Level DFD And Franchise Colleges By MANSHA NAWAZ.
Chapter 4.
The Traditional Approach to Requirements: Using Dataflow Diagrams Spring
Systems Analysis I Data Flow Diagrams
System analysis and design
System Analysis and Design
Copyright © 2015 Pearson Education, Inc. Systems Documentation Techniques Chapter
IT Applications Theory Slideshows Data Flow Diagrams (DFD) & Context diagrams By Mark Kelly McKinnon Secondary College Vceit.com IT Applications Theory.
staffs.ac.uk Process Model. staffs.ac.uk Contents Provide definitions Explain the components and representations Introduce a step.
An Introduction to Level 0 and Level 1 DFD’s.
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.
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.
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.
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.
Data Flow Diagrams. What the ***** is a data flow diagram for? They look at data without considering the equipment needed. They are the first stage of.
Data Flow Diagrams (DFD). ScenarioCriteriaTasks Data flow diagram(DFD) is a diagram of the movement of data between external entities.
Chapter 3 Systems Documentation Techniques Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 3-1.
1 Ref: Prof Sarda Process Modeling…… Lecture Outline Data flow diagram (DFD)
DATA FLOW DIAGRAMS We’re going to go into a partial example of how the first level of detail was created. But before we do, let’s step through some guidelines.
AN INTRODUCTION BUSINESS PROCESS DOCUMENTATION WITH DATA FLOW DIAGRAMS.
SAD - DFD Context Diagrams
Judi Prajetno Sugiono ©2009 Management Information System Additional note for DFD.
DFDs.
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.
1 DATA FLOW DIAGRAM. 2 Outline Process decomposition diagrams Data flow diagram (DFD)
G045 Lecture 08 DFD Level 1 Diagrams (Data Flow Diagrams Level 1)
Data Flow Diagrams (DFDs) 1Information Systems Engineering.
Data Flow Diagrams (DFDs)
Modern Systems Analysis and Design Fifth Edition
Btec National - IT SYSTEMS ANALYSIS AND DESIGN 1 IT Systems Analysis and Design SSADM – Design.
Systems Analysis & Design
Data Flow Diagram, Data Dictionary, and Process Specification PART I
Information System Analysis Topic-2. Data Gathering Observations Questionnaires Interviews.
Software Analysis 1 PROCESS MODELING: Data Flow Diagrams (DFDs)
SYSTEMS ANALYSIS AND DESIGN ITDB 2101 HAND OUT # 3 1.
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.
- 1 - SW 분석 기법 개론 ( 구조적 분석 기법 ) 정 인 상정 인 Data Flow Diagram (DFD)  Graphical representation of functional modeling  In analysis, provide representation.
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.
Information System Analysis Topic-2. Data Gathering Observations Questionnaires Interviews.
Software Development Lifecycle- SDLC Design- using DFDs.
Systems Documentation Techniques
DFD(Data Flow Diagram)
Process Modeling Graphically represent the processes that capture, manipulate, store, and distribute data between a system and its environment Models DFDs.
System Process Modeling
Context and Data Flow Diagrams
Data Flow Diagrams.
Process & Logic Modeling
G063 - Data flow diagrams.
DFD Process & Examples.
Presentation transcript:

Data Flow Diagrams (DFD) & Context diagrams Data Flow Diagrams (DFD) IT Applications Theory Slideshows Data Flow Diagrams (DFD) & Context diagrams By Mark Kelly McKinnon Secondary College Vceit.com

Context Diagram A high-level Data Flow Diagram (DFD). Shows a system in relation to other external systems Does not show details within the system The simplest form of a DFD.

Context Diagram Contains: One Process – the whole system as a single shape No Data Store One or more External Entities – other systems with a data flow to the system being described. Two or more Data Flows Later will zoom in and expand a context diagram into sub-processes, creating more detailed DFDs.

Context Diagram Data flow External entity The entire system

DFD/Context diagram shapes External Entity: sources or destinations of data Data Flow: movement of data. Data Store: where data is stored (e.g. database) Entity name data name data store name data store name data store name …OR… …OR…

DFD/Context diagram shapes Process: an activity that transforms or manipulates the data (combines, reorders, converts, etc.). Process name

EXTERNAL ENTITIES

External Entities: Can be duplicated on the diagram one or more times, to avoid line crossing. Are not part of the system being studied. May be part of the same organisation, but are beyond the influence of the system being described.

External Entities: Can represent another system or subsystem within the same organisation. Must receive data from or send data to the system being described. Are placed on the edges of the DFD

External Entities Rule 1: In a DFD do not show direct data flow from one external entity to another. They are irrelevant to the system being described because they are external. Like how a conversation between two people you don’t know is irrelevant to you.

External entities The system

DATA FLOWS

Data Flows: Rule 2: Only represent data, not material goods like books, goods. Shown as arrows with labels. Must be named. Rule 3: Only include one type of data per arrow. E.g. “Orders”, “Customer Data” Do not use arrows with heads on each end. Identify each flow separately.

Data Flows: A fork in a data flow means that the same data goes to two destinations. The same data coming from several locations can also be joined. Valid order New order Validate order Invalid order

DATA STORES

Data Stores: Where data is stored They look the same whether stored electronically (e.g. Database) or manually (e.g. paper files) Must be named Orders Valid order New order Validate order Invalid order

Data Stores: Name is usually the plural form of the data being flowed into it. E.g. An ‘order’ is stored in a datastore called ‘orders’ Makes sense! Orders Valid order New order Validate order Invalid order

Data Stores: Can be duplicated one or more times to avoid line crossing. Can be shared by two or more systems. Contents of datastore are detailed elsewhere in a data dictionary. Sometimes show as Data Store Data store Data store

Data store Can also appear like this if it’s a duplicate Duplicates are used to avoid having data flow arrows crossing each other. The extra vertical line reminds you that this data store already appears in the chart and is not a new store.

Sample DFD with 3 data stores

PROCESSES

Processes Rule 7: Processes must have at least one data flow in and one data flow out. Show data transformation or change Data coming into a process must be "worked on“ in some way and then output. Otherwise it can’t transform data!

Processes Are named with a verb and an object of the verb (the thing being processed) E.g. “Calculate (verb) wages (object)”.

Processes Each process should represent only one function or action. An "and" in the name probably betrays the presence of more than one process.

Processes Are numbered based on their level of detail e.g. in a level 1 DFD, a top level process may be Process 14. Zoom in to a level 2 DFD and Process 14 opens up to reveal the next level of detail: processes 14.1, 14.2, 14.3, 14.4. Zoom in to process 14.3 in a level 3 DFD and show processes 14.3.1 to 14.3.6. Should generally move from top to bottom and left to right.

Processes Rule 5: Processes have no order of operation stated or implied. E.g. Just because one process to above or to the left of another process does not mean that process must take place before the other one.

IT’S A BAD DFD Do not use direct data flows from one data store to another. There must be a process between the store.s Do not use direct data flows from an external entity to a data store flows. Again, a process is needed between them. Do not show direct data flows between external entities.

Bad! Flow between external entities Fire brigade Weather bureau Weather forecast Weather forecast Call for help Assess fire risk

Bad! Flow direct to data store Fire brigade Weather bureau Weather forecast Call for help Forecast history Assess fire risk Weather forecast

Bad! Flow direct between data stores Customer Order Process order Invoice Inventory Order Stock check Stock numbers Orders

Creating a DFD list the external entities that provide data or receive data from system being described; list the data being sent to and from the entities; create a context diagram with the system in the middle of the external entities sending and receiving data flows;

External entities The system

Creating a DFD List the processing functions carried out in the system; Identify the data connections between these processing functions; Explode each process and repeat above steps as needed.

DFD Tipz Label your processes carefully. A process just labelled "Produce Report" and has the output of "Report" says little – what is the report about? If you have trouble labelling anything on the diagram, it may be because you don’t fully understand what it does! Stick with it until a clear label is found.

DFD Tipz Rule 2 again - Ignore physical items like people, products, trucks, cake ingredients Rule 4: Do not label processes as people (e.g. “Secretary”). DFDs are not concerned with who does a process, but what the process is. Besides, the secretary might have several functions – tea maker, mail runner, receptionist. Identify the process, not the body.

DFD Tipz Rule 5 again: Time and place are not important. It does not matter whether one data flow occurs before or after another data flow, or in which office it happens. Don’t worry about how or when a process happens. It just happens!

DFD Tip Data flows are pathways for data. Think about what data is needed to perform a process or update a data store. Rule 6: A DFD is not a flowchart and should not have loops or transfer of control. Rule 7: Keep your DFD clear and easy to read – avoid crowding or crossed data flow lines.

DFD Tipz Do not try to put everything you know on the DFD. The DFD should serve as an index and outline. Details are fleshed out in other places such as the data dictionary, data structure diagrams, flowcharts etc.

EXAM DFD – SD 2006 A company, No Blots, supplies ink cartridges for printers which are sold only through the internet. When customers place an order, the order is checked, a confirmation is sent back to the customer and the details of the order are sent to the warehouse. The diagram below shows the data flow diagram (DFD) for the No Blots online purchasing system. The diagram does not show the data sources and destinations. In a DFD a circle represents a process. Briefly explain what is meant by a process. (1) b. In the DFD, what do the symbols labelled stock and orders represent? (1)

Proceed only when you have worked out your solution… c. Complete the context diagram below for the No Blots system. (3) (The previous DFD is here again so you can refer to it) Proceed only when you have worked out your solution…

A solution

DFD Analysis In this DFD, which “non-standard shape represents a data store? It has “books” appearing. Does this obey DFD rules?