Software design and architecture

Slides:



Advertisements
Similar presentations
Data Flow Diagram (DFD) Overview
Advertisements

CAPE INFORMATION TECHNOLOGY – Unit 2
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.
SYSTEMS ANALYSIS AND DESIGN TOOLS
How to : Data Flow Diagrams (DFDs)
Who uses the system? Users menus and control. User catalog List of all job titles of people thought to be likely on-line users of the system, giving job.
DT211 Stage 2 Software Engineering
Modern Systems Analysis and Design
Tutorial 2 DT228/3 Database Technology. Joe’s Yard Take the following documents: –The script as prepared –The docket –The diary in the yard –The list.
Spreadsheets in Finance and Forecasting Project Session 3b(ii) Data Flow Diagrams.
Data Flow Diagrams class
DT211 Stage 2 Software Engineering
Data Flow Diagrams Continued. Checking Your Diagram Label flows uniquely. Put boundaries onto each diagram. Data flows are data only – not orders. Each.
Current Physical Diagram Document this in Select SSADM.
System Analysis and Design
Copyright © 2015 Pearson Education, Inc. Systems Documentation Techniques Chapter
Data Flow Diagrams BCA Sem IV K.I.R.A.S.
National Diploma in Systems Analysis and Design Data Flow Modelling.
Data Flow Diagrams (DFDs)
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.
1 Chapter 2 Revision: Documentation DFD System FC.
Data Flow Diagrams Objectives:
Data Flow Diagrams.
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
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.
AN INTRODUCTION BUSINESS PROCESS DOCUMENTATION WITH DATA FLOW DIAGRAMS.
Sequence Diagrams.
Software Engineering INTRODUCTION TO SOFTWARE ENGINEERING.
University of Sunderland ISIC 1 Data Flow Diagrams - Part 2 Hierarchical DFDs.
G045 Lecture 08 DFD Level 1 Diagrams (Data Flow Diagrams Level 1)
System Decomposition Overview. Data Flow Diagrams Despite the name “Data Flow Diagrams”, DFD have a process, rather than a data, focus We represent all.
Data Flow Diagrams (DFDs) 1Information Systems Engineering.
DFD Examples. DFD Notation Data Flow : labeled arrow Sources and sinks of information/data (also called external entity) or Process or Available data.
IS3320 Developing and Using Management Information Systems Lecture 16: Data-Flow Diagrams 1 (Intro to Context-Level diagrams) Rob Gleasure
Data Flow Diagrams (DFDs)
Joe’s Yard Case study done through SSADM. Joe’s Yard Joe’s builders’ suppliers has a shop and a yard. His system is entirely manual. He has a stock list.
IS3320 Developing and Using Management Information Systems Lecture 18: Data-Flow Diagrams 3 – Level 1 Modelling Rob Gleasure
Information Modelling Process Technique- DFD 5C Sybase_PowerDesigner_ html.
Data Flow Diagram, Data Dictionary, and Process Specification PART I
SYSTEMS ANALYSIS AND DESIGN ITDB 2101 HAND OUT # 3 1.
Software Specification Models
© 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart1 of 37 C System Process Modeling DATA Flow Diagrams.
Software Development Lifecycle- SDLC Design- using DFDs.
Lab 3 Data Flow Diagram CPIT 250 System Analysis and Design.
Rob Gleasure IS6125 Database Analysis and Design Lecture 3: Data-Flow Diagrams 2 (Level 1 data flows) Rob Gleasure.
Software Specification Models
DFD Examples.
Rob Gleasure IS3320 Developing and Using Management Information Systems Lecture 15: Data-Flow Diagrams 2 – Level.
Systems Documentation Techniques
DFD(Data Flow Diagram)
DFD Examples.
Data Flow Diagrams.
DFD Examples.
G063 - Data flow diagrams.
Problem Solving How do we attack a large problem?
System Process Modeling
Data Flow Diagram (DFD)
Context and Data Flow Diagrams
Data Flow Diagrams.
Process & Logic Modeling
Object Oriented Modeling and Design
G063 - Data flow diagrams.
Chapter 11 The Accounting Information System
Requirement Analysis using
DFD Examples.
Dr. Nashaat El-Khameesy
DFD Process & Examples.
Systems Documentation
Presentation transcript:

Software design and architecture Lecture #5 Reading chapter#4 System analysis and design in changing world

State diagram

Data flow diagram DFDs describe the flow of data or information into and out of a system What will system do with data? A DFD is a graphic representation of the flow of data or information through a system

Elements external entity - people or organisations that send data into the system or receive data from the system process - models what happens to the data i.e. transforms incoming data into outgoing data data store - represents permanent data that is used by the system data flow - models the actual flow of the data between the other elements

Notation Data Flow Process External Entity Data Store Data Flow D

Level of DFDs small systems could have many processes and data flows and DFD could be large and messy use levelled DFDs - view system at different levels of detail one overview and many progressively greater detailed views

Level 0 models system as one process box which represents scope of the system identifies external entities and related inputs and outputs Additional notation - system box

DFD Level1 gives overview of full system identifies major processes and data flows between them identifies data stores that are used by the major processes

DFD Level 2 level 1 process is expanded into more detail each process in level 1 is decomposed to show its constituent processes

Rules Numbering Labelling Balancing

Joe’s Yard Joe’s builders’ suppliers has a shop and a yard. His system is entirely manual. He has a stock list on the wall of his shop, complete with prices. When a builder wants to buy supplies, he goes into the shop and picks the stock items from the list. He writes his order on a duplicate docket and pays Joe, who stamps the docket as paid. The builder takes the duplicate docket and he goes to the yard and hands it to the yard foreman. The yard foreman gets the ordered items from the yard and gives them to the builder. The builder signs the duplicate docket and leaves one copy with the foreman and takes one copy as a receipt. Every week, Joe looks around the yard to see if any of his stock is running low. He rings up the relevant suppliers and reorders stock. He records the order in his order book, which is kept in the yard. The yard foreman takes delivery of the new stock and checks it against what has been ordered. He pays for it on delivery and staples the receipt into the order book. At the end of every month, Joe goes through all the dockets and the order book and produces a financial report for the shareholders. Draw a context level DFD and a level-1 DFD for this system.

Find the people who send data into the system Find the people who get data out of the system.

Level 0 Joe’s builders’ suppliers has a shop and a yard. His system is entirely manual. He has a stock list on the wall of his shop, complete with prices. When a builder wants to buy supplies, he goes into the shop and picks the stock items from the list. He writes his order on a duplicate docket and pays Joe, who stamps the docket as paid. The builder takes the duplicate docket and he goes to the yard and hands it to the yard foreman. The yard foreman gets the ordered items from the yard and gives them to the builder. The builder signs the duplicate docket and leaves one copy with the foreman and takes one copy as a receipt. Every week, Joe looks around the yard to see if any of his stock is running low. He rings up the relevant suppliers and reorders stock. He records the order in his order book, which is kept in the yard. The yard foreman takes delivery of the new stock and checks it against what has been ordered. He pays for it on delivery and staples the receipt into the order book. At the end of every month, Joe goes through all the dockets and the order book and produces a financial report for the shareholders. Draw a context level DFD and a level-1 DFD for this system.

Level 1 Passive: has stock list Buy supplies Customer then Gets items Picks stock items (views list) Writes orders Pays joe Stamps docket Customer then Takes docket to yard Hands it to foreman Gets items Gives them to builder Builder signs docket Takes copy as receipt

Verbs from script Has (passive) Buy supplies Picks stock items Writes order Pays joe Stamps docket Takes docket to yard Hands it to foreman Gets items Gives them to builder Builder signs docket Takes copy as receipt Looks around yard and reorders Records order in order book Foreman takes delivery – checks Foreman pays supplier Staples receipt to order book Produces financial report

Remove passive verbs and queries Joe then Looks around yard and reorders Records order in order book Foreman takes delivery – checks Foreman pays supplier Staples receipt to order book Joe Produces financial report Passive: has stock list Buy supplies Picks stock items (views list) Writes orders Pays joe Stamps docket Customer then Takes docket to yard Hands it to foreman Gets items Gives them to builder Builder signs docket Takes copy as receipt

Level 1 current physical

Buy Supplies

Design pattern “A general solution to a commonly occurring problem in software design. Not characterized by specific code, but rather, best practices for common issues.”

Book to be follow Design patterns: Elements of reusable object oriented software Erich Gamma, John Vlissides, Ralph Johnson, and Richard Helm