Structured Analysis and Dataflow Diagrams

Slides:



Advertisements
Similar presentations
Context Diagram Yong Choi BPA CSUB.
Advertisements

Use Case & Use Case Diagram
1 Chapter 4 Dynamic Modeling and Analysis (Part I) Object-Oriented Technology From Diagram to Code with Visual Paradigm for UML Curtis H.K. Tsang, Clarence.
Sequence Diagrams. Introduction A Sequence diagram depicts the sequence of actions that occur in a system. The invocation of methods in each object, and.
CS3773 Software Engineering Lecture 03 UML Use Cases.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
CS /47 Illinois Institute of Technology CS487 Software Engineering Requirements II- part B Instructor David Lash.
Marcelo Santos – OOAD-CDT309, Spring 2008, IDE-MdH 1 Object-Oriented Analysis and Design - CDT309 Period 4, Spring 2008 More on use cases System sequence.
Data Flow Diagram Notations
Data Flow Diagrams BCA Sem IV K.I.R.A.S.
1 Structured Analysis Techniques. 2 Data Flow Diagrams.
Functional Modeling Joseph Valacich, Joey George and Jeff Hoffer, Essentials of System Analysis and Design, 4 th edition, Prentice Hall, 2009.
Chapter 5: Specification Yuanfang Cai CS751 Jan 29, 2003.
Data Flow Diagrams.
程建群 博士(Dr. Jason Cheng) 年03月
Lecture 6 Data Flow Modeling
Use Case Modeling. Watch the video on use cases Review at minute 2:41-3:37.
Ch. 51 Specification. Ch. 52 Outline Discussion of the term "specification" Types of specifications –operational Data Flow Diagrams (Some) UML diagrams.
Software Engineering INTRODUCTION TO SOFTWARE ENGINEERING.
1 Object-Oriented Analysis Use Case Driven. 2 The outline method for OOA 1.Identify object classes within the problem domain 2.Define the behaviour of.
Faculty of Computer & Information Software Engineering Third year
Faculty of Computer & Information
Ch. 51 Specification. Ch. 52 Outline Discussion of the term "specification" Types of specifications –operational Data Flow Diagrams (Some) UML diagrams.
UML’s StateChart FSM, EFSM in UML Concurrent states Tool support.
Functional Modeling Joseph Valacich, Joey George and Jeff Hoffer, Essentials of System Analysis and Design, 4 th edition, Prentice Hall, 2009.
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.
Systems Analysis & Design
Data Flow Diagram, Data Dictionary, and Process Specification PART I
Chapter 6: System Models Omar Meqdadi SE 273 Lecture 6 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
1 Specification A broad term that means definition Used at different stages of software development for different purposes Generally, a statement of agreement.
Application architectures Advisor : Dr. Moneer Al_Mekhlafi By : Ahmed AbdAllah Al_Homaidi.
UC Diagram & Scenario RKPL C & D. Using Use Case Diagram Use case diagrams are used to visualize, specify, construct, and document the (intended) behavior.
1 Object-Oriented Static Modeling of the Banking System - III Lecture # 33.
Introduction What would our society be like now if we did not have ATm’s? Not able to access money when we urgently want it. You will have to go to the.
Application architectures. Objectives l To explain the organisation of two fundamental models of business systems - batch processing and transaction processing.
CompSci 280 S Introduction to Software Development
Systems Analysis and Design in a Changing World, Fourth Edition
Chapter 8 Analysis Engineering
Using Use Case Diagrams
Object-oriented and Structured System Models
DFD(Data Flow Diagram)
Data Flow Diagrams.
Structured Analysis and Design Technique
ATM OO Design and Implementation Case Study
Chapter 7 Text Input/Output Objectives
G063 - Data flow diagrams.
Software Specification Tools
Problem Solving How do we attack a large problem?
Topic for Presentaion-2
Object-Oriented Static Modeling of the Banking System - I
Chapter 7 Text Input/Output Objectives
UML Use Case Diagrams.
System Process Modeling
Rumbaugh’s Objectmodeling Technique
Data Flow Diagram (DFD)
Function-Oriented Software Design (continued):
Data Dictionaries ER Diagram.
Data Flow Diagrams.
Abstract descriptions of systems whose requirements are being analysed
UML’s StateChart FSM, EFSM in UML Concurrent states Tool support.
تحلیل سیستم‌ها مدل‌سازی پردازشی.
SAD ::: Spring 2018 Sabbir Muhammad Saleh
G063 - Data flow diagrams.
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Using Use Case Diagrams
Ambiguity and Specificity
Requirement Analysis using
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Real-Time Structured Analysis and Design Technique (RSTAD)
DFD Process & Examples.
Presentation transcript:

Structured Analysis and Dataflow Diagrams

Structured Analysis Views The functional view data flow diagrams the primary view of the system. defines what is done, the flow of data between things that are done The data view entity relationship diagrams, a record of what is in the system, or what is outside the system that is being monitored. The dynamic view state transition diagrams, defines when things happen and the conditions under which they happen 2

Structured Analysis Views The functional view data flow diagrams the primary view of the system. defines what is done, the flow of data between things that are done The data view entity relationship diagrams, a record of what is in the system, or what is outside the system that is being monitored. The dynamic view state transition diagrams, defines when things happen and the conditions under which they happen 3

Data Flow Diagram (DFD) A semi-formal operational specification System viewed as collection of data manipulated by “functions” Data can be persistent It is stored in data repositories Data can flow This is represented by data flows DFD has a graphical notation 4 4

Graphical Notation Bubbles represent functions Arcs represent data flows Open boxes represent persistent data stores Closed boxes represent I/O interaction 5 5

An Example: Library I/O persistent data 6 6

Refinement of “Get a Book” Shelves List of Authors List of titles Title and author of requested book; name of the user Book List of books borrowed Book title; user name Book request by the user reception Author Title Find book position <shelf#, book#> Get the book 7 7

Data Flow Diagram Creation Given a system description, identify Functions (actions) Inputs and outputs Data Proceed top-down Start with level 0 (context) diagram Successively refine Use text to document diagram objects 8

Patient Monitoring System The purpose is to monitor the patients’ vital signs -- blood pressure, temperature, pulse -- reading them at specified frequencies from analog devices and storing readings in a DB. If readings fall outside the range specified for patient an alarm must be sent to a nurse. The system also provides reports to nurses on request. 9 9

Patient Monitoring System 10 10

A Refinement 11 11

More Refinement 12 12

Describing Functions Function check-limit-violations Input: Pressure, Temperature, Pulse, Limits Output: Pressure, Temperature, Pulse, Result If any of (Pressure, Temperature, Pulse) are outside of Limits result = alarm Else result = okay Endif Output result Output Pressure, Temperature, Pulse

Limitations of DFDs Easy to read, but … Informal semantics Inherent ambiguities Couldn’t use to generate code Are outputs from A, B, C all needed? Are outputs for E and F are produced at the same time? 14 14

Limitations of DFDs Control information is absent Possible interpretations: (a) A produces datum, waits until B consumes it (b) B can read the datum many times without consuming it (c) a pipe is inserted between A and B 15 15

DFD Problem Use a DFD to specify the requirements for an ATM machine that reads a user’s card and takes their PIN as input from a keypad, checks the PIN against a database, and if the user is authorized to proceed, allows the user to conduct transactions on their account, else if not, returns their card. Transactions are specified with selection arrows, and include receiving or dispensing cash. A receipt is given for each transaction. All transactions are logged by the system. 16

Same Problem: Can you Model this Using a State Diagram? Use a DFD to specify the requirements for an ATM machine that reads a user’s card and takes their PIN as input from a keypad, checks the PIN against a database, and if the user is authorized to proceed, allows the user to conduct transactions on their account, else if not, returns their card. Transactions are specified with selection arrows, and include receiving or dispensing cash. A receipt is given for each transaction. All transactions are logged by the system. 17

Earlier State Diagram Problem: Can you Model this Using a DFD? Consider the control of a small part of a chemical plant. Temperature and pressure levels must be monitored for safety reasons. Sensors are installed to generate signals when either of these levels exceeds some predefined value. When one of the two signals is raised, a recovery action is automatically invoked (there is a “temperature action” and a “pressure action”.) If, after a while, the recovery action succeeds, the system is automatically reset to the “normal” state. Otherwise, the alarm signal must be raised and the plant must be shut off. The system must also be shut off if it is trying to recover from one kind of anomaly (temperature or pressure) and the other signal is raised. It is assumed that the two signals cannot occur simultaneously.

DFD Problem Use a DFD to specify the requirements for a “spell-checker” that takes as input a command issued by a user, and a document, and outputs a list of the words in that document that may be misspelled. The spell-checker has access to a system dictionary and a user-supplied dictionary. An example answer will be posted on the Class Handouts page, look for “Answer to Spell-Checker DFD problem.” 19