IMPORTANT NOTICE TO STUDENTS:

Slides:



Advertisements
Similar presentations
CS3773 Software Engineering Lecture 03 UML Use Cases.
Advertisements

Systems Analysis and Design in a Changing World, Fourth Edition
Lecture 11: Chapter 22 Topics –Object Oriented Modeling –UML –Use case.
Systems Analysis & Design Sixth Edition Systems Analysis & Design Sixth Edition Toolkit Part 5.
© Copyright Eliyahu Brutman Programming Techniques Course.
Chapter 7: The Object-Oriented Approach to Requirements
USE Case Model.
SOFTWARE ENGINEERING BIT-8 APRIL, 16,2008 Introduction to UML.
Lecture 3: Visual Modeling & UML 1. 2 Copyright © 1997 by Rational Software Corporation Computer System Business Process Order Item Ship via “ Modeling.
Requirement Engineering. Review of Last Lecture Problems with requirement Requirement Engineering –Inception (Set of Questions) –Elicitation (Collaborative.
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
Requirements – Scenarios and Use Cases
Programming Logic and Design Fourth Edition, Comprehensive Chapter 15 System Modeling with the UML.
7 Systems Analysis and Design in a Changing World, Fifth Edition.
Discovering object interaction. Use case realisation The USE CASE diagram presents an outside view of the system. The functionality of the use case is.
Course Instructor: Kashif Ihsan 1. Chapter # 3 2.
Software Engineering Software Engineering - Mr. Ahmad Al-Ghoul.
Unified Modelling Language (UML) Software Engineering Lab. Sharif University of Technology.
Systems Analysis and Design in a Changing World, Fourth Edition
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
Lecture 14 22/10/15. The Object-Oriented Analysis and Design  Process of progressively developing representation of a system component (or object) through.
UML Course Instructor: Rizwana Noor. Overview  Modeling  What is UML?  Why UML?  UML Diagrams  Use Case  Components  Relationships  Notations.
 What to do if you want to build a new house? › Buy a bunch of wood and nails and start immediately. › Or, put some blueprints to follow, and plan of.
Object Oriented Analysis and Design Introduction to Rational Rose.
1 SYS366 Week 2 - Lecture 2 Visual Modeling & UML.
7 Systems Analysis – ITEC 3155 The Object Oriented Approach – Use Cases.
Unified Modeling Language. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems,
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
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.
Engineering Quality Software Week02 J.N.Kotuba1 SYST Engineering Quality Software.
CompSci 280 S Introduction to Software Development
Introduction to UML.
Systems Analysis and Design in a Changing World, Fourth Edition
Appendix 3 Object-Oriented Analysis and Design
CHAPTER
UML Diagrams By Daniel Damaris Novarianto S..
Unified Modeling Language Tutorial
Roberta Roth, Alan Dennis, and Barbara Haley Wixom
The Movement To Objects
Systems Analysis and Design
Chapter 5 – System Modeling
Course Outcomes of Object Oriented Modeling Design (17630,C604)
Object-Oriented Analysis and Design
Unified Modeling Language
Introduction to Unified Modeling Language (UML)
Week 10: Object Modeling (1)Use Case Model
UML Diagrams Jung Woo.
System Modeling Chapter 4
UML PPt by: Hong Qing Yu.
The Process of Object Modeling
UML dynamic Modeling (Behavior Diagram)
Software Architecture & Design Pattern
Requirements – Scenarios and Use Cases
Use Case Modeling.
Unified Modeling Language
Chapter 9 Use Cases.
University of Houston-Clear Lake
Object Oriented Analysis and Design
Chapter 20 Object-Oriented Analysis and Design
CIS 375 Bruce R. Maxim UM-Dearborn
IMPORTANT NOTICE TO STUDENTS:
Interaction diagrams Interaction diagrams are models that describe how groups of objects collaborate in some behavior. Typically, an interaction diagram.
Software Design Lecture : 15.
Copyright 2007 Oxford Consulting, Ltd
Use Case Modeling Part of the unified modeling language (U M L)
Chapter 5.
Chapter 22 Object-Oriented Systems Analysis and Design and UML
CIS 375 Bruce R. Maxim UM-Dearborn
Uml diagrams In ooad.
UML  UML stands for Unified Modeling Language. It is a standard which is mainly used for creating object- oriented, meaningful documentation models for.
Presentation transcript:

IMPORTANT NOTICE TO STUDENTS: These slides are NOT to be used as a replacement for student notes. These slides are sometimes vague and incomplete on purpose to spark class discussions. Software models and the Unified Modeling Language (UML) - Behavioral Diagrams CS 360 Lecture 9

Outline What is UML? Behavioral UML Diagrams System Boundary Use Case Diagram Use Case Scenarios Requirements Tracing Sequence Diagram State Diagram

The Unified Modeling Language UML: A general purpose visual modeling language for software systems. Designed to incorporate current best practice in modeling techniques and software engineering.

Behavioral UML Diagrams Emphasize what must happen in the system being modelled. Use Case Diagram Sequence Diagram State Diagram

The System Boundary Define what the system should/should not do: Shows other systems that use the system being built. Identifies where the system begins/ends System scalability boundaries System portability boundaries Defining System Boundaries Physical – Infrastructure, resources Logical – data types, interfaces Social – traditions, behavioral Economic – use of limited resources, benefits to society Political – community concern, legal issues

Team Activity Discuss and draw diagram(s) representing the system boundaries for your project. Physical – Infrastructure, resources Logical – data types, interfaces Social – traditions, behavioral Economic – use of limited resources, benefits to society Political – community concern, legal issues

The Use Case Diagram Graphical visualization of the interactions among the elements of a software system. Use Case Diagrams always provide: The System Boundary Defines the system in relation to external components. The Actors Individuals or external components that interact with your system. The Use Cases Actions that your system can perform by interacting with internal components and outside actors. The relationships between Actors and Use Cases.

The use case Diagram Identifying Actors

The use case Diagram Identifying Use Cases

The use case Diagram - Example System Boundary 4. Relationships 3. Use Cases 2. Actors

Use Case Scenarios Scenarios: Whenever possible, Use Cases should be kept simple. Scenarios: Another way of viewing a Use Case. Exactly one Primary Scenario per Use Case. “Scenario where everything goes as planned.” Zero to many Secondary Scenarios per Use Case. Captures errors, exceptions, branches, etc. of the main Scenario.

Use Cases – Requirements Tracing With a Requirements Specification document and a set of Use Cases, you effectively have two “databases” of functional requirements. Requirements tracing can be accomplished by creating a Requirements Traceability Table. If there’s a req that doesn’t map to any use case, then there is a missing Use Case. If there is a Use Case that doesn’t map to any req, then the set of reqs is incomplete. Use Cases Requirements UC 001 UC 002 UC 003 UC 004 R1 X R2 R3 R4 R5

Team Activity Discuss and create the initial Actors and Use Cases for your project. Generate your first Primary Scenario. Generate a Requirements Traceability Table based on the Use Cases that you have defined and your project Requirements.

The Sequence Diagram Shows Instance and actor interactions arranged in a time sequence. Sequence Diagrams always provide: The Instance Symbols Represents a class, object, or component. The Actor Symbols Entities that interact with or are external to the system. Lifelines Represents the passage of time as it extends downward. May begin with Instances and/or Actors. Activation Boxes Represents the time needed for Instances and/or Actors to complete a task. Also known as Focus Boxes. Message Symbols Represents how information is transmitted between Instances and Actors. Solid lines for requests, dashed lines for responses.

The Sequence Diagram - Example 1. Instance Symbols 5. Messages 2. Actor Symbols 3. Lifelines 4. Activation Boxes

The Sequence Diagram Sequence diagrams can become complex if they’re not bound. Generally, sequence diagrams are used to show Instance and Actor interactions for specific Use Case Scenarios.

Team Activity Discuss and create the initial Sequence Diagram for the Primary Scenario that you developed earlier.

The State Diagram Describes the different states of a software system. State diagrams can be used to describe the state of individual components, sets of components, or an entire software system. State Diagrams always: Identifies important component(s) to be analyzed. Represents a class, use case, object, subsystem, or entire system. Identifies the states: Unique conditions for the identified component(s) Identifies the events: Action that can be used to generate a component state change.

The State Diagram - Example 1. Components 3. Events 2. States

Team Activity Discuss and create a State Diagram for the user login interface of your project.