Chapter 6 – System Design II: Behavioral Models. 6.1 Models Models - what do you think of? 2.

Slides:



Advertisements
Similar presentations
Chapters 7 & 9 System Scope
Advertisements

Software Requirements Engineering
OOAD Using the UML - Use-Case Analysis, v 4.2 Copyright  Rational Software, all rights reserved 1/18 Use Case Analysis – continued Control Classes.
 Functional Design ◦ Appropriate for function-oriented systems: inputs, outputs, and some transformation between them.  There are other types of system.
CT1404 Lecture 2 Requirement Engineering and Use Cases 1.
Using Dataflow Diagrams
Documenting Requirements using Use Case Diagrams
UML Sequence Diagrams Eileen Kraemer CSE 335 Michigan State University.
Use Case Analysis – continued
SE 555 Software Requirements & Specification Requirements Analysis.
Unified Modeling Language
6 Systems Analysis and Design in a Changing World, Fourth Edition.
UML Sequence Diagrams Michael L. Collard, Ph.D. Department of Computer Science Kent State University.
Chapter 7: The Object-Oriented Approach to Requirements
Chapter 6: The Traditional Approach to Requirements
System Analysis Overview Document functional requirements by creating models Two concepts help identify functional requirements in the traditional approach.
Chapter 5: Modeling Systems Requirements: Events and Things
Modeling Systems Requirements: Events and Things.
2 Approaches to Requierements Engineering Reference: Systems Analysis and Design in a Changing World, 3 rd Edition, chapter 2 and chapter 6.
Chapter 6 The Traditional Approach to Requirements
Systems Analysis and Design in a Changing World, Fifth Edition
Chapter 5 – System Modeling
Systems Analysis and Design in a Changing World, Fifth Edition
1 Lecture 3: Introducing Data Flow Diagrams (DFDs) Section 1 - The Concept of Diagrams Why use Diagrams? Diagrams as Working Documents Systems Analysis.
CIT UPES | Sept 2013 | Unified Modeling Language - UML.
5 Systems Analysis and Design in a Changing World, Fourth Edition.
10/12/ Recall The Team Skills 1. Analyzing the Problem (with 5 steps) 2. Understanding User and Stakeholder Needs 1. Interviews & questionnaires.
UML The Unified Modeling Language A Practical Introduction Al-Ayham Saleh Aleppo University
Faculty of Computer & Information Software Engineering Third year
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 8 Slide 1 Object-oriented and Structured System Models.
 A software application is like a city  Modeling = Architecture  OOP = Civil Engineering  UML Classes = Blueprints of Buildings  UML is a common.
Faculty of Computer & Information
Behavioral Modeling: Sequence and Communication Diagrams Copyright © 2009 John Wiley & Sons, Inc. Copyright © 2005 Pearson Education Copyright © 2009 Kannan.
Copyright © 2013 Curt Hill UML Unified Modeling Language.
5 Systems Analysis and Design in a Changing World, Fifth Edition.
Systems Analysis and Design in a Changing World, 6th Edition
The Unified Modeling Language Part II Omar Meqdadi SE 2730 Lecture 9 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
Software Engineering Software Engineering - Mr. Ahmad Al-Ghoul.
Analysis Modeling CpSc 372: Introduction to Software Engineering
R R R CSE870: Advanced Software Engineering: UML-- Use Cases1 Use Cases and Scenarios.
UML’s StateChart FSM, EFSM in UML Concurrent states Tool support.
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Object-Oriented Systems Analysis and Design Using UML Systems Analysis and Design,
Chapter 5 System Modeling (1/2) Yonsei University 2 nd Semester, 2015 Sanghyun Park.
Requirement engineering & Requirement tasks/Management. 1Prepared By:Jay A.Dave.
Systems Analysis & Design
6 Systems Analysis and Design in a Changing World, Fourth Edition.
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 12 Exploring Information System Development.
1 BTS330 Visual Modeling. What is Visual Modeling? 2 Copyright © 1997 by Rational Software Corporation Computer System Business Process Order Item Ship.
Chapter 7 Part II Structuring System Process Requirements MIS 215 System Analysis and Design.
Lecturer: Eng. Mohamed Adam Isak PH.D Researcher in CS M.Sc. and B.Sc. of Information Technology Engineering, Lecturer in University of Somalia and Mogadishu.
EENG 1920 Chapter 6 System Design II: Behavioral Models 1.
Chapter 4 – System Modeling Lecture 1 1Chapter 5 System modeling.
5 Systems Analysis and Design in a Changing World, Fourth Edition.
5 Chapter 5: Modeling Systems Requirements: Events and Things Systems Analysis and Design in a Changing World.
Chapter 5 – System Modeling
CompSci 280 S Introduction to Software Development
Systems Analysis and Design in a Changing World, Fourth Edition
Chapter 5 System modeling
DATA REQIREMENT ANALYSIS
Systems Analysis and Design in a Changing World, Fourth Edition
Chapter 5 – System Modeling
Unified Modeling Language
System Modeling Chapter 4
UML’s StateChart FSM, EFSM in UML Concurrent states Tool support.
Chapter 6 – System Design II: Behavioral Models
Software Design Lecture : 15.
Dynamic Modeling Lecture # 37.
Chapter 4 System Modeling.
Presentation transcript:

Chapter 6 – System Design II: Behavioral Models

6.1 Models Models - what do you think of? 2

A model behaves like (some part of) the intended system, but in a more convenient way. A good model should be Abstract Unambiguous Allow for innovation Standardized Facilitate good communication Modifiable Remove unnecessary details & show important features Break system into sub-problems. Substitute sequence of actions by a single action. Assist in verification Assist in validation 3

Design for Electrical and Computer Engineers (Published by McGraw Hill) Not to be transmitted or reproduced without written consent of authors Copyright 2005 Ralph M. Ford and Chris Coulston 5

6.2 State Diagrams Example: Vending Machine Steady Discrete “States” Start Here (also a state) Transitions Inputs that Cause transitions Where are the outputs? Just names of states. Should not have confused the issue

We’ll try doing it properly. 7 Moore Machine Outputs on transitions Mealy Machine Outputs for states $0.00

Design for Electrical and Computer Engineers (Published by McGraw Hill) Not to be transmitted or reproduced without written consent of authors Copyright 2005 Ralph M. Ford and Chris Coulston 8 Does not have to be graphical Refined to a science with lots of theory A lot like a programming language.

Flowcharts Symbols: 9

Example: Light Monitoring System Can you figure out the operation of the system by looking at this? That is why the flowchart is elegant and not so lowly. Hah! 10

Design for Electrical and Computer Engineers (Published by McGraw Hill) Not to be transmitted or reproduced without written consent of authors Copyright 2005 Ralph M. Ford and Chris Coulston 11

6.4 Data Flow Diagrams Intention is ??? DFDs can have levels, just like the functional 12

Example: Video Browsing System 13

The Event Table EventTriggerProcessSource Annotate Video New Video Arrival Shot Boundary Detection System View Storyboard Browse Request Storyboard Preview User View ShotShot Preview Request Shot PreviewUser 14

6.5 Entity Relationship Diagrams Intention of an ERD is Entities = Relationships = Attributes = 15

Example: College Database System To From StudentCourseDepartment Student takes: one to many major: 1 to ≥1 Course has: one to many pre-req for: one to any requires: one to any offered by: one to one Department has majors: one to many offers: one to many Design for Electrical and Computer Engineers (Published by McGraw Hill) Not to be transmitted or reproduced without written consent of authors Copyright 2005 Ralph M. Ford and Chris Coulston 16

College Database ERD 17

Try Again 18

UML - Scenario Pretty popular idea – web ordering of groceries followed by home delivery. The “v-Grocer” system. User has a barcode scanner connected to home computer. They can scan a used item an automatically order it from the grocery store. Place the order and groceries delivered at pre- arranged time. 19

Static View Object view of software. Classes represent Data Methods (functions) that operate on the data Objects are Can allow for different security levels. 20

Class Diagram Design for Electrical and Computer Engineers (Published by McGraw Hill) Not to be transmitted or reproduced without written consent of authors Copyright 2005 Ralph M. Ford and Chris Coulston 21

Design for Electrical and Computer Engineers (Published by McGraw Hill) Not to be transmitted or reproduced without written consent of authors Copyright 2005 Ralph M. Ford and Chris Coulston 22

Use-Case View Intention = Characterized by a Use-Case Diagram 23 Who’s involved in which activities “Use-Case” = activity or procedure Actors or Agents

Use-Case Description Use-Case WebOrder Actors Customer, Database, and WebServer DescriptionThis use-case occurs when a customer submits an order via the WebServer. If it is a new customer, the WebServer prompts them to establish an account and their customer information is stored in the Database as a new entry. If they are an existing customer, they have the opportunity to update their personal information. StimulusCustomer order via the GroceryCart. ResponseVerify payment, availability of order items, and if successful trigger the AssembleOrder use-case. 24

State Machine View 25

Activity View Intention = describe a sequence of activities needed to complete a task. 26 This is really just a Petri Net used very badly. Look up “Petri Net”.

Interaction View Intention = to show interaction between objects (when they must cooperate to do something useful). Use either a collaboration or sequence diagram. This example is for the WebOrder use-case. 27

Design for Electrical and Computer Engineers (Published by McGraw Hill) Not to be transmitted or reproduced without written consent of authors Copyright 2005 Ralph M. Ford and Chris Coulston 28

Design for Electrical and Computer Engineers (Published by McGraw Hill) Not to be transmitted or reproduced without written consent of authors Copyright 2005 Ralph M. Ford and Chris Coulston 29

Physical View Show the physical components that constitute the system. Can think of this much more generally than presentation in UML. 30

6.8 Summary Models are an abstraction of system. Models can be thought of as a design specification. Models have different intentions for describing behavior. Models should encourage innovation and provide for clear documentation. 31