Systems Analysis and Design in a Changing World, Fourth Edition

Slides:



Advertisements
Similar presentations
© 2005 by Prentice Hall Appendix 3 Object-Oriented Analysis and Design Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George.
Advertisements

Week 2 The Object-Oriented Approach to Requirements
Requirements Diagrams With UML Models
© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 1 Appendix 3 Object-Oriented Analysis and Design.
Object-Oriented Analysis and Design
Objectives Detailed Object-Oriented Requirements Definitions
Object-Oriented Analysis
Drawing System Sequence Diagrams
Systems Analysis and Design in a Changing World, Fourth Edition
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
© 2005 Prentice Hall4-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
7. 2Object-Oriented Analysis and Design with the Unified Process Objectives  Detailed Object-Oriented Requirements Definitions  System Processes—A Use.
Objectives Explain the purpose and objectives of object- oriented design Develop design class diagrams Develop interaction diagrams based on the principles.
Detailed Object-Oriented Requirements Definitions
Chapter 7: The Object-Oriented Approach to Requirements
Chapter 7 Structuring System Process Requirements
Objectives Detailed Object-Oriented Requirements Definitions
The Object-Oriented Approach to Requirements
4 2009/10 Object Oriented Technology 1 Topic 4: The Object-Oriented Approach to Requirements Adopted from: Ch.7 The Object-Oriented Approach to Requirements.
Systems Analysis and Design in a Changing World, Fifth Edition
Systems Analysis and Design in a Changing World, 6th Edition
Systems Analysis and Design in a Changing World, 3rd Edition
Sommerville 2004,Mejia-Alvarez 2009Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
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.
Systems Analysis and Design in a Changing World, 6th Edition
Systems Analysis and Design in a Changing World, 6th Edition 1 Chapter 3 Use Cases.
Discovering object interaction. Use case realisation The USE CASE diagram presents an outside view of the system. The functionality of the use case is.
Drawing System Sequence Diagrams
COMP-350 Object-Oriented Analysis and Design Drawing System Sequence Diagrams Reference: Larman, Chapter 9.
Use Case Driven Analysis Requirements Use Case Use Case Description System Sequence Diagram Chapter 5.
Systems Analysis and Design in a Changing World, 6th Edition 1 Chapter 5 INTRODUCTION TO SYSTEMS ANALYSIS AND DESIGN: AN AGILE, ITERATIVE APPROACH CHAPTER.
7. 2Object-Oriented Analysis and Design with the Unified Process Objectives  Detailed Object-Oriented Requirements Definitions  System Processes—A Use.
Systems Analysis and Design in a Changing World, Fourth Edition
Chapter 3: Introducing the UML
Week04 Project Requirements.
Appendix Object-Oriented Analysis and Design: Use Cases and Sequence Diagrams Modern Systems Analysis and Design Fifth Edition Jeffrey A. Hoffer Joey F.
7 Systems Analysis – ITEC 3155 The Object Oriented Approach – Use Cases.
1 7 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 7 The Object-Oriented Approach to Requirements.
Engineering, 7th edition. Chapter 8 Slide 1 System models.
Engineering Quality Software Week02 J.N.Kotuba1 SYST Engineering Quality Software.
CompSci 280 S Introduction to Software Development
Business Process and Functional Modeling
Appendix 3 Object-Oriented Analysis and Design
Chapter 7 Appendix A Object-Oriented Analysis and Design: Use Cases
UML Diagrams By Daniel Damaris Novarianto S..
Chapter 5 System modeling
Systems Analysis and Design in a Changing World, Fourth Edition
Chapter 6 The Traditional Approach to Requirements.
Systems Analysis and Design in a Changing World, 6th Edition
Chapter 5 – System Modeling
Course Outcomes of Object Oriented Modeling Design (17630,C604)
Object-Oriented Analysis and Design
Use Case Model.
Object Oriented Approach
University of Central Florida COP 3330 Object Oriented Programming
UML Diagrams Jung Woo.
System Modeling Chapter 4
The Process of Object Modeling
Business System Development
Sequence Diagrams Lecture 6.
IMPORTANT NOTICE TO STUDENTS:
Systems Analysis and Design in a Changing World, 6th Edition
CIS 375 Bruce R. Maxim UM-Dearborn
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Engineering Quality Software
Stumpf and Teague Object-Oriented Systems Analysis and Design with UML
CIS 375 Bruce R. Maxim UM-Dearborn
Chapter 4 System Modeling.
Appendix 3 Object-Oriented Analysis and Design
Presentation transcript:

Systems Analysis and Design in a Changing World, Fourth Edition

Learning Objectives Develop use case diagrams Write use case and scenario descriptions Develop activity diagrams and system sequence diagrams to model interactions Develop state machine diagrams to model object behavior Explain how UML diagrams work together to define functional requirements for the object-oriented approach Systems Analysis and Design in a Changing World, 4th Edition

Overview Objective of requirements definition is understanding users’ needs, business processes, and system to support business processes Understand and define requirements for a new system using object-oriented analysis models and techniques Line between object-oriented analysis and object-oriented design is somewhat fuzzy Iterative approach to development Models built in analysis are refined during design Systems Analysis and Design in a Changing World, 4th Edition

Object-Oriented Requirements Object-oriented modeling notation is Unified Modeling Language UML was accepted by Object Management Group (OMG) as standard modeling technique Purpose of Object Management Group Promote theory and practice of object-oriented technology for development of distributed systems Provide common architectural framework for OO Systems Analysis and Design in a Changing World, 4th Edition

Systems Analysis and Design in a Changing World, 4th Edition

System perspectives An external perspective, where you model the context or environment of the system. An interaction perspective, where you model the interactions between a system and its environment, or between the components of a system. A structural perspective, where you model the organization of a system or the structure of the data that is processed by the system. A behavioral perspective, where you model the dynamic behavior of the system and how it responds to events.

Context models Context models are used to illustrate the operational context of a system - they show what lies outside the system boundaries. Social and organisational concerns may affect the decision on where to position system boundaries. Architectural models show the system and its relationship with other systems.

System boundaries System boundaries are established to define what is inside and what is outside the system. They show other systems that are used or depend on the system being developed.

The context of the MHC-PMS

Sample Context Diagram Chapter 5 System modeling

Automation System Boundary Chapter 5 System modeling

Object-Oriented Requirements Models Use case diagrams – identify actors and their use cases (goals) Use case descriptions – include details of a use case and how actors use the system Systems sequence diagrams (SSDs) – define inputs and outputs and sequence of interactions between user and system for a use case Activity diagrams – describe user and system activities for a use case State machine diagrams – describe states of each object Systems Analysis and Design in a Changing World, 4th Edition

The System Activities— A Use Case/Scenario View Use case analysis used to identify and define all business processes that system must support Use case – an activity a system carried out, usually in response to a user request Actor Role played by user Outside automation boundary Systems Analysis and Design in a Changing World, 4th Edition

Techniques for Identifying Use Cases Starting points for use case development Identify all actors of the system Identify functions actors perform with system Develop flow of activities to identify various scenarios Common internal use cases can be identified and separated into different use cases Systems Analysis and Design in a Changing World, 4th Edition

Use Case Diagram Graphical UML diagram that summarizes information about actors and use cases Simple diagram shows overview of functional requirements Can have multiple use case diagrams By subsystem By actor Systems Analysis and Design in a Changing World, 4th Edition

Simple Use Case with an Actor (Figure 7-2) Systems Analysis and Design in a Changing World, 4th Edition

Use Case Diagram with Automation Boundary and Alternate Actor Notation (Figure 7-3) Systems Analysis and Design in a Changing World, 4th Edition

All Use Cases Involving Customer as Actor (Figure 7-4) Systems Analysis and Design in a Changing World, 4th Edition

Use Cases of RMO Order Entry Subsystem (Partial Figure 7-5 with package symbol) Systems Analysis and Design in a Changing World, 4th Edition

<<Includes>> Relationship Documents situation in which one use case requires the services of a common subroutine Another use case is developed for this common subroutine A common use case can be reused by multiple use cases Systems Analysis and Design in a Changing World, 4th Edition

Example of Order-Entry Subsystem with <<Includes>> Use Cases (Figure 7-6) Systems Analysis and Design in a Changing World, 4th Edition

<<Extends>> Relationship Can be used: To show that a part of a use case is optional, or potentially optional, system behavior. In this way, you separate optional behavior from mandatory behavior in your model. To show that a subflow is executed only under certain (sometimes exceptional) conditions, such as triggering an alarm. To show that there may be a set of behavior segments of which one or several may be inserted at an extension point in a base use case. The behavior segments that are inserted (and the order in which they are inserted) will depend on the interaction with the actors during the execution of the base use case. Systems Analysis and Design in a Changing World, 4th Edition

(Figure 7-6) Systems Analysis and Design in a Changing World, 4th Edition

Use Case Description Use case description provides details of preconditions, postconditions, sequence of activities, and exception conditions in use case Describes actor interacting with computer system step-by-step to carry out business activity May have several scenarios for a use case, each a specific use case instance Three levels of detail: brief, intermediate, and fully developed description Many analysts prefer to write narrative descriptions of use cases instead of drawing activity diagrams Systems Analysis and Design in a Changing World, 4th Edition

Brief Description of Create New Order Use Case (Figure 7-7) Systems Analysis and Design in a Changing World, 4th Edition

Intermediate Description of the Telephone Order Scenario for Create New Order Use Case (Figure 7-8) Systems Analysis and Design in a Changing World, 4th Edition

Intermediate Description of the Web Order Scenario for Create New Order (Figure 7-9) Systems Analysis and Design in a Changing World, 4th Edition

Fully Developed Description of Telephone Order Scenario for Create New Order Use Case (Figure 7-10) Systems Analysis and Design in a Changing World, 4th Edition

Top Detail from Fully Developed Use Case Description (Figure 7-10) Systems Analysis and Design in a Changing World, 4th Edition

Middle Detail from Fully Developed Use Case Description (Figure 7-10) Systems Analysis and Design in a Changing World, 4th Edition

Bottom Detail from Fully Developed Use Case Description (Figure 7-10) Systems Analysis and Design in a Changing World, 4th Edition

Use Case Description Components Use case name/scenario name Actors/stakeholders Related use cases Preconditions – set of criteria that must be true prior to initiation of the use case Postconditions – set of criteria that must be true upon completion of the use case Flow of activities (steps in one column or two) Exception conditions Systems Analysis and Design in a Changing World, 4th Edition

Activity Diagrams Used to document workflow of business process activities for each use case or scenario Can support any level of use case description; a supplement to use case descriptions Helpful in developing system sequence diagrams Systems Analysis and Design in a Changing World, 4th Edition

Activity Diagrams A swim lane (or swimlane) is a visual element used in process flow diagrams, or flowcharts, that visually distinguishes job sharing and responsibilities for sub-processes of a business process Systems Analysis and Design in a Changing World, 4th Edition

Activity Diagram— Telephone Order Scenario (Figure 7-12) Systems Analysis and Design in a Changing World, 4th Edition

Activity Diagram— Web Order Scenario (Figure 7-13) Systems Analysis and Design in a Changing World, 4th Edition

Identifying Inputs and Outputs— The System Sequence Diagram System sequence diagram (SSD) is type of UML 2.X interaction diagram Used to model input and output messaging requirements for a use case or scenario Shows actor interacting with system Shows sequence of interactions as messages during flow of activities System is shown as one object: a “black box” Systems Analysis and Design in a Changing World, 4th Edition

System Sequence Diagram (SSD) Notation (Figure 7-14) Systems Analysis and Design in a Changing World, 4th Edition

SSD Notation Actor represented by a stick figure – a person (or role) that interacts with system by entering input data and receiving output data Object is a rectangle with name of object underlined – shows individual object and not class of all similar objects ( :System for SSD ) Lifeline or object lifeline is a vertical line under object or actor to show passage of time for object Message is labeled on arrows to show messages sent to or received by actor or system Systems Analysis and Design in a Changing World, 4th Edition

SSD Lifelines Vertical line under object or actor Shows passage of time If vertical line dashed Creation and destruction of thing is not important for scenario Long narrow rectangles Activation lifelines emphasize that object is active only during part of scenario Systems Analysis and Design in a Changing World, 4th Edition

SSD Messages Internal events identified by the flow of objects in a scenario Requests from one actor or object to another to do some action Invoke a particular method Systems Analysis and Design in a Changing World, 4th Edition

Identifying Object Behavior— The State Machine Diagram State machine diagram is UML 2.X diagram that models object states and transitions Complex problem domain classes can be modeled State of an object A condition that occurs during its life when it satisfies some criterion, performs some action, or waits for an event Each state has unique name and is a semipermanent condition or status Transition The movement of an object from one state to another state Systems Analysis and Design in a Changing World, 4th Edition

Simple State Machine Diagram for a Printer (Figure 7-19) Systems Analysis and Design in a Changing World, 4th Edition

RMO State Machine Diagram for OrderItem Problem Domain Class Systems Analysis and Design in a Changing World, 4th Edition

Summary Object-oriented approach has complete set of diagrams that define system requirements Requirements specified using following models Domain model class diagram Use case diagrams Use case detailed models, either descriptive formats or activity diagrams System sequence diagrams State machine diagrams Systems Analysis and Design in a Changing World, 4th Edition