Chapter 6 – System Design II: Behavioral Models

Slides:



Advertisements
Similar presentations
Chapter 3 Requirements Analysis, Negotiation and Modeling Part 3 Dr. Eman Al-Maghary Requirements Engineering.
Advertisements

Chapters 7 & 9 System Scope
Software Requirements Engineering
 Functional Design ◦ Appropriate for function-oriented systems: inputs, outputs, and some transformation between them.  There are other types of system.
UML Sequence Diagrams Eileen Kraemer CSE 335 Michigan State University.
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
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 – Analyzing Requirements.  Analyzing requirement stage identifies user information needs and new systems requirements  IS dev team.
Chapter 5 – System Modeling
Systems Analysis and Design in a Changing World, Fifth Edition
Chapter 6 – System Design II: Behavioral Models. 6.1 Models Models - what do you think of? 2.
5 Systems Analysis and Design in a Changing World, Fourth Edition.
Systems Analysis and Design in a Changing World, Fifth Edition
Faculty of Computer & Information Software Engineering Third year
Faculty of Computer & Information
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.
UML’s StateChart FSM, EFSM in UML Concurrent states Tool support.
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.
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.
EENG 1920 Chapter 6 System Design II: Behavioral Models 1.
Chapter 4 – System Modeling Lecture 1 1Chapter 5 System modeling.
1 Team Skill 3 Defining the System Part 1: Use Case Modeling Noureddine Abbadeni Al-Ain University of Science and Technology College of Engineering and.
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
Pepper modifying Sommerville's Book slides
CompSci 280 S Introduction to Software Development
Systems Analysis and Design in a Changing World, Fourth Edition
Object-oriented and Structured System Models
Chapter 5 System modeling
DATA REQIREMENT ANALYSIS
Systems Analysis and Design in a Changing World, Fourth Edition
Chapter 6 The Traditional Approach to Requirements.
Main issues: • What do we want to build • How do we write this down
Chapter 5 – System Modeling
Recall The Team Skills Analyzing the Problem (with 5 steps)
Unified Modeling Language
Object-Oriented Systems Analysis and Design Using UML
OO Domain Modeling With UML Class Diagrams and CRC Cards
Data Dictionaries ER Diagram.
System Modeling Chapter 4
CSSSPEC6 SOFTWARE DEVELOPMENT WITH QUALITY ASSURANCE
IS301 – Software Engineering V:
UML’s StateChart FSM, EFSM in UML Concurrent states Tool support.
System Requirements Specification
Use Cases & Use Case Diagrams
Use Cases CS/SWE 421 Introduction to Software Engineering Dan Fleck
Software Design Lecture : 15.
Dynamic Modeling Lecture # 37.
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Stumpf and Teague Object-Oriented Systems Analysis and Design with UML
Chapter 22 Object-Oriented Systems Analysis and Design and UML
Chapter 4 System Modeling.
Chapter 3 Systems Documentation Techniques
Software Development Process Using UML Recap
Presentation transcript:

Chapter 6 – System Design II: Behavioral Models

6.1 Models Models - what do you think of?

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

Ralph M. Ford and Chris Coulston 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

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

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

Ralph M. Ford and Chris Coulston Does not have to be graphical Refined to a science with lots of theory A lot like a programming language. 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

Flowcharts Symbols:

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!

Ralph M. Ford and Chris Coulston 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

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

Example: Video Browsing System

The Event Table Event Trigger Process Source Annotate Video New Video Arrival Shot Boundary Detection System View Storyboard Browse Request Storyboard Preview User View Shot Shot Preview Request Shot Preview The Event Table

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

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

College Database ERD

Try Again

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.

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

Ralph M. Ford and Chris Coulston 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

Ralph M. Ford and Chris Coulston 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

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

Use-Case Description Use-Case WebOrder Actors Customer, Database, and WebServer Description This 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. Stimulus Customer order via the GroceryCart. Response Verify payment, availability of order items, and if successful trigger the AssembleOrder use-case.

State Machine View

Activity View This is really just a Petri Net used very badly. Intention = describe a sequence of activities needed to complete a task. 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.

Ralph M. Ford and Chris Coulston 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

Ralph M. Ford and Chris Coulston 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

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

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.