TCS2411 Software Engineering1 Data-Flow Oriented Design “From DFD to Structure Chart”

Slides:



Advertisements
Similar presentations
MAPPING DATA FLOW DIAGRAMS INTO STRUCTURE CHARTS
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.
IFS310: Week 3 BIS310: Structured Analysis and Design 5/4/2015 Process Modeling and Data Flow Diagrams.
Using Dataflow Diagrams
1 Software Design Introduction  The chapter will address the following questions:  How do you factor a program into manageable program modules that can.
Traditional Approach to Design
How to : Data Flow Diagrams (DFDs)
What is Software Design?  Introduction  Software design consists of two components, modular design and packaging.  Modular design is the decomposition.
Copyright Irwin/McGraw-Hill Software Design Prepared by Kevin C. Dittman for Systems Analysis & Design Methods 4ed by J. L. Whitten & L. D. Bentley.
Software Design Deriving a solution which satisfies software requirements.
Data-Flow Oriented Design
© Copyright 2011 John Wiley & Sons, Inc.
1 © University of Sunderland IMSE Lecture 4 u so far all our structure charts have been produced from an English description, e.g. - night on the town.
Chapter 14: Design Method --- data and architectural design Design -- A multistep process in which representations of data structure, program structure,
Using Dataflow Diagrams
DT211 Stage 2 Software Engineering
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Design Concepts and Principles
Software Engineering CSE470: Systems Engineering 35 Computer System Engineering Computer System Engineering is a problem-solving activity. Itemize desired.
1 TRANSFORM ANALYSIS Heuristics and Rules. 2 DFD with Transform Flow Characteristics input-driven output-driven center of transformation.
Process Modeling and Data Flow Diagrams
System Analysis and Design
Chapter 10: Architectural Design
Data Flow Diagrams BCA Sem IV K.I.R.A.S.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Data-flow Diagrams Chapter 17. Elements of data-flow diagrams  There are four basic elements of data flow diagrams: Data Transforms: where data is filtered,
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.
Chapter 10 Architectural Design
System Implementation System Implementation - Mr. Ahmad Al-Ghoul System Analysis and Design.
Systems Analysis – Analyzing Requirements.  Analyzing requirement stage identifies user information needs and new systems requirements  IS dev team.
1 Chapter 14 Architectural Design. 2 Why Architecture? The architecture is not the operational software. Rather, it is a representation that enables a.
Chapter 9 Moving to Design. The Structured Approach To Designing The Application Architecture Module-an identifiable component of a computer program that.
Data-flow Diagrams Chapter 17. Elements of data-flow diagrams There are four basic elements of data flow diagrams: –Data Transforms: where data is filtered,
1 COSC 4406 Software Engineering COSC 4406 Software Engineering Haibin Zhu, Ph.D. Dept. of Computer Science and mathematics, Nipissing University, 100.
Programming Or Software Engineering?
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
1 Ref: Prof Sarda Process Modeling…… Lecture Outline Data flow diagram (DFD)
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
1 Chapter 14 Architectural Design 2 Why Architecture? The architecture is not the operational software. Rather, it is a representation that enables a.
©Ian Sommerville 1995 Software Engineering, 5th edition. Chapter 15Slide 1 Function-oriented Design u Design with functional units which transform inputs.
Software Design Designing the overall structure (architecture) of a software system Designing small pieces of computation Designing non-automated processes.
Chapter 9 Moving to Design
Systems analysis and design, 6th edition Dennis, wixom, and roth
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Intro to Software System Modeling
UHD::3320::CH121 DESIGN PHASE Chapter 12. UHD::3320::CH122 Design Phase Two Aspects –Actions which operate on data –Data on which actions operate Two.
Structured Design (Yourdon) ( based on Pressman’s Chapter 14 – 5th edition or Chapter th edition) copyright © 1996, 2001, 2005 R.S. Pressman &
CCSB223/SAD/CHAPTER131 Chapter 13 Designing the System Internals.
Design Methods Instructor: Dr. Jerry Gao. Software Design Methods Design --> as a multistep process in which we design: a) data structureb) program structure.
Software Engineering Issues Software Engineering Concepts System Specifications Procedural Design Object-Oriented Design System Testing.
Architectural Design Introduction Design has been described as a multistep process in which representations of data and program structure,
1Lecture 8 Introduction to Systems Analysis l Objectives –Explain how systems analysis relates to business needs, problems, and opportunities –List and.
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
Systems Design.  Application Design  User Interface Design  Database Design.
Span of Control CEO VP Finance Finance Dept. VP Marketing Marketing Dept. VP Acctg Acctg Dept. CEO VP IS Plant Operations VP Mfg. Excess Span of Control.
CS223: Software Engineering
Chapter : 9 Architectural Design
1 Software Engineering: A Practitioner’s Approach, 6/e Chapter 10b: Architectural Design Software Engineering: A Practitioner’s Approach, 6/e Chapter 10b:
Chapter 7 Design methods Design has been described :  Design shares with programming a concern for abstracting information representation Representations.
Architectural Complexity  A useful technique for assessing the overall complexity of a proposed architecture is to consider dependencies between components.
CS646: Software Design and Architectures Design methods: SSA/SD †  Stands for: Structured Systems Analysis / Structured Design.  Primary applicable notations:
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
© 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart1 of 37 C System Process Modeling DATA Flow Diagrams.
Systems Analysis and Design in a Changing World, Fourth Edition
Database Management Systems
CS 8532: Advanced Software Engineering
Software Design Designing the overall structure (architecture) of a software system Designing small pieces of computation Designing non-automated processes.
Design Model Like a Pyramid Component Level Design i n t e r f a c d s
Software Engineering: A Practitioner’s Approach, 6/e Chapter 10 Architectural Design copyright © 1996, 2001, 2005 R.S. Pressman & Associates, Inc. For.
Presentation transcript:

TCS2411 Software Engineering1 Data-Flow Oriented Design “From DFD to Structure Chart”

TCS2411 Software Engineering2 Lecture Objectives To describe the process of translating the DFDs to structure charts To understand the systematic approach in producing the design from the analysis model To understand the different types of conversion that can be done in producing the structure chart

TCS2411 Software Engineering3 Expanding the DFD Initial analysis produces the Context Diagram and Level 1 DFD In the design phase, the DFD is expanded to lower levels, giving more sub-processes within the original process Level 1  Level 2  Level 3  … Consistency is to be maintained from level to level

TCS2411 Software Engineering4 Example of Level 1 DFD Process Application Member application form Members new member record

TCS2411 Software Engineering5 Expanded to Level 2 Get Form Check Form Assign Code Format Record Prepare Record Member Members application form application details checked application details new member record new member details formatted new member record

TCS2411 Software Engineering6 Five-Step Process The type of information flow is established Flow boundaries are indicated The DFD is mapped into program structure Control hierarchy is defined by factoring Resultant structure is refined using design measures and heuristics

TCS2411 Software Engineering7 Types of Information Flow Transform Flow – Information enter at a point, transformed, and exit at another point – Path: incoming flow  central transform  outgoing flow Transaction Flow – Single data item, transaction, triggers one of many paths – Path: incoming flow  transaction centre  action path

Flow Characteristics Transform flow Transaction flow

Transform Mapping

Factoring

TCS2411 Software Engineering11 Transform Mapping After transform flow is identified, identify the boundaries of incoming and outgoing flow Incoming flow = Afferent flow Outgoing flow = Efferent flow In between the boundaries of the two is the central transform

TCS2411 Software Engineering12 Example of Boundaries Get Form Check Form Assign Code Format Record Prepare Record Member Members application form application details checked application details new member record new member details formatted new member record Afferent flowEfferent flowCentral transform

TCS2411 Software Engineering13 First Level Factoring Get Application Process Application Generate New Member Process Membership Application

TCS2411 Software Engineering14 Second Level Factoring Check Application Process Application Generate New Member Process Membership Application Get Application Get Application Form Format New Record Generate New Record

TCS2411 Software Engineering15 Refinement The hierarchy produced is then refined to improve the quality of the design Modules could be exploded or imploded Apply design concepts of module independence, good cohesion, minimal coupling, and ease of maintenance

TCS2411 Software Engineering16 Transaction Mapping If transaction flow is identified, identify the transaction centre and flow characteristics of each action path Similar to transform flow, boundaries are identified for incoming flow and the separate action paths Each action path is a transform flow or transaction flow as well

TCS2411 Software Engineering17 Example of Transaction Flow read user command invoke command processing user commands command type action paths

TCS2411 Software Engineering18 Transaction Mapping b d a c1 qp transaction control dispatcher a p b d q reception path

Transaction Mapping a b t g h d e f i k j l m n Data flow model x1 b a t x2 x3 x4 d e f g h x3.1 l m n i j k mapping program structure

Isolate Flow Paths read command validate command determine type read record calculate output values format report produce error msg read fixture status determine setting format setting send control value command invalid command error msg status combined status raw setting fixture setting robot control start/stop assembly record values report valid command

Map the Flow Model

Refining