Recall The Team Skills 1. Analyzing the Problem (with 5 steps) 2. Understanding User and Stakeholder Needs 3. Defining the System 4. Managing Scope 5.

Slides:



Advertisements
Similar presentations
ANALYSIS MODEL. Analysis Model Actual system development start with this. Aims to structure the system independently of the actual implementation environment.
Advertisements

GCSE ICT By the end of this session, you will be able to: Explain main features of ATM machines Identify features of credit cards, debit cards, smart cards.
Chapter 4: Requirements Engineering
Design by Contract.
Use-Cases.
Withdrawal Transaction Use Case Primary Actor: Customer Pre-conditions: The customer must have a valid ATM card and PIN. Post-conditions: The customer.
Use Case Diagrams Damian Gordon.
Use Case & Use Case Diagram
CPSC 333: Foundations of Software EngineeringJ. Denzinger Small Test: Bank account manager System has to run on an automated teller machine. User must.
Sequence Diagrams. Introduction A Sequence diagram depicts the sequence of actions that occur in a system. The invocation of methods in each object, and.
1 Chapter 4 The Software Team Requisite’s 6 team skills for effective requirements management.
Chapter 12 ATM Case Study, Part 1: Object-Oriented Design with the UML
Tutorial 2. What is a UML Use Case Diagram? Use case diagrams model the functionality of a system using actors and use cases. Use cases are services or.
Major Exam II Reschedule 5:30 – 7:30 pm in Tue Dec 5 th.
Functional Requirements – Use Cases Sriram Mohan/Steve Chenoweth (Chapters 14, 21 – Requirements Text) 1.
Major Exam II Reschedule 5:30 – 7:30 pm in Tue Dec 5 th.
Recall The Team Skills 1. Analyzing the Problem (with 5 steps) 2. Understanding User and Stakeholder Needs 3. Defining the System 4. Managing Scope 5.
Recall The Team Skills Analyzing the Problem
Chapter 9 Domain Models 1CS6359 Fall 2012 John Cole.
1 Lab Beginning Analysis and Design 4 Completion of first version of use case diagram initiates the processes of analysis and design. 4 UML provides.
Use Case Modeling. Use case diagram For each use case we develop  Object class diagram (with attributes only)  System sequence diagram (analysis) 
The first step in getting what you want is to decide what you want.
Chapter 3 Object-Oriented Analysis of Library Management System(LMS)
RUP Requirements RUP Artifacts and Deliverables
Chapter 3 Use Cases.
Use Cases 2 ENGR ♯10 Peter Andreae
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 06. Requirements.
Use Case Modeling Scenarios, Actors and Use cases Use case Relationships > and > Use case Generalization Writing use cases formally Choosing System Boundary.
Rational Unified Process (Part 1) CS3300 Fall 2015.
Managing Changing Requirements: Structure the Use Case Model PowerPoint Presentation derived from IBM/Rational course Mastering Requirements Management.
1 Objectives  Describe design constraints.  Identify methods of specifying functional requirements.  Describe techniques for writing and structuring.
Software Waterfall Life Cycle Requirements Construction Design Testing Delivery and Installation Operations and Maintenance Concept Exploration Prototype.
Intro: Use Case and Use Case Diagram Documentation.
Requirements Management with Use Cases Module 2: Introduction to RMUC Requirements Management with Use Cases Module 2: Introduction to RMUC.
1 IBM Software Group ® Mastering Requirements Management with Use Cases Module 10: Structure the Use-Case Model.
10/12/ Recall The Team Skills 1. Analyzing the Problem (with 5 steps) 2. Understanding User and Stakeholder Needs 1. Interviews & questionnaires.
1 Source: IBM Academic Program IBM Software Group ® Mastering Requirements Management with Use Cases Module 3: Introduction to Use-Case Modeling.
Chapter 6 A Use-Case-Driven Process. 2 Definitions The choice of models and the choice of techniques used to express them have a significant impact on.
1 Text Layout Introduction (1-4) Team Skill 1 – Analyzing the problem (5-7) Team Skill 2 – Understanding User and Stakeholder Needs (8-13) Team Skill 3.
 Development is organized in a series of short, fixed-length mini-projects called iterations  Iterations are also incremental  Successive enlargement.
SFWR ENG 3KO4 Software Development for Computer/Electrical Engineering Fall 2009 Instructor: Dr. Kamran Sartipi Software Requirement Specification (SRS)
Faculty of Computer & Information
UML-1 3. Capturing Requirements and Use Case Model.
1 Objectives  Define key concepts of use-case modeling.  List the benefits of use-case modeling.  Find actors and use cases.  Describe their relationships.
1 Use Case Modeling Reference: RUP Doc. Use Case Example 2.
Functional Requirements – Use Cases (Chapters 14, 21) Sriram Mohan 1.
Use Case Driven Analysis Requirements Use Case Use Case Description System Sequence Diagram Chapter 5.
Requirements Management with Use Cases Module 10: Requirements Across the Product Lifecycle Requirements Management with Use Cases Module 10: Requirements.
1 Graph Coverage (6). Reading Assignment P. Ammann and J. Offutt “Introduction to Software Testing” ◦ Section
CS212: Object Oriented Analysis and Design Lecture 32: Use case and Class diagrams.
1 Requirements Engineering From System Goals to UML Models to Software Specifications Axel Van Lamsweerde.
Refining the Use Cases 1. How Use Cases Evolve  Early efforts typically define most of the major use cases.  The refining stages complete the process.
25/2/16. 2 DVD MovieVHS MovieVideo Game Rental Item Rental Invoice 1..* 1 Customer Checkout Screen CusID Name Address Phonenumber Transactionlist.
Chapter 7 Part II Structuring System Process Requirements MIS 215 System Analysis and Design.
Lecture Outline Monday 23 rd February (Week 4) 3 – 3:10pm Review of Requirements Eng. and use cases 3:10 – 3:40pm Exercise on Use Case 3:40-4:40 Class.
Chapter 3: Software Design –Use case Diagram Nouf Alghanmi.
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 Case Study and Use Cases for Case Study Lecture # 28.
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.
Using Use Case Diagrams
CMPE 280 Web UI Design and Development August 29 Class Meeting
Use Case Modeling - II Lecture # 27.
IT316 Software Requirement Engineering
Recall The Team Skills Refining the Use cases
Recall The Team Skills Analyzing the Problem (with 5 steps)
Concepts, Specifications, and Diagrams
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Using Use Case Diagrams
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Presentation transcript:

Recall The Team Skills 1. Analyzing the Problem (with 5 steps) 2. Understanding User and Stakeholder Needs 3. Defining the System 4. Managing Scope 5. Refining the System Definition 1. Software Requirements: a more rigorous look 2. Refining the Use cases 3. Developing the Supplementary Specification 4. On Ambiguity and Specificity 5. Technical Methods for Specifying Requirements 6. Building the Right System

Chapter 21 Refining the Use Cases  How Use Cases Evolve  The Scope of a Use Case  Dependency Relationships  Extending Use Cases  Including Use Cases

How Use Cases Evolve  The test for enough use cases should be the following:  A complete collection of use cases should describe all possible ways in which the system can be used, at a level of specificity suitable to drive design, implementation, and testing.

The Scope of a Use Case  Consider the use of a recycling machine.  The customer inserts cans and bottles into the recycling machine, presses a button, and receives a printed receipt that can be exchanged for money.  Are there 3 uses cases? one use case to insert a deposit item, another use case to press the button, and another to acquire the receipt?  Or is it just one use case?

The Scope of a Use Case  Three actions occur, but one without the others is of little value to the customer.  The complete process is required to make sense to the customer.  Thus, the complete dialogue from inserting the first deposit item to pressing the button to getting the receipt is a complete instance of use, of one use case.

Review use case  Review name Turn light on/off Control light  Refining the description The resident initiates a change to the light the room by pressing the on/off switch in the room-lighting control panel. The use case prescribes the way in which lights are turned on and off and also how they are dimmed and brightened in accordance with how long the user presses a light switch

Pre/Post condition  Pre condition State of the system That the user can observe (observable state), not the event that starts the use case  The user has logged on to the system  The user has opened the doc  Post condition describes what the change in state of the system will be after the use case completes. Post-conditions are guaranteed to be true when the use case ends  a cash withdraw will lead to an update of the account

Example: Automated Teller Machine

Post Condition of Withdraw  If the customer entered the PIN on the Card, and the customer's balance was greater or equal to the requested amount, then the customer got the requested amount and the amount was deducted from the balance.  If the customer entered the wrong PIN three times, the card was retained.  If the customer requested too much money, the card was returned to the customer.

 Control light use case Pre-conditions  The selected On/Off/Dim button must be Dim Enabled  The selected On/Off/Dim button must be preprogrammed to control a Light Bank Post-conditions  On leaving this use case, the system remembers the current brightness level of the selected On/Off/Dim button.

Dependency Relationships between Use Cases  Extend relationship defines that instances of a use case that may be augmented by some additional behaviour in an extended use case.  Include relationship is a directed relationship between use cases, implying that the behaviour in the additional use case is inserted into the behaviour of the base use case.

Extending Use Cases  Systems evolve over time and additional features and functionality are added.  A use case may be extended to have more actions in certain conditions. If some HOLIS systems included an optional “light bar” indicator on the control switch. Control light Update Display Indicate

Extending Use Cases  Why use the extend concept at all? 1. It can simplify maintenance and allow us to focus only on the extended functionality 2. Extension points for envisioned extensions can be provided in the base use case, which is an indication to future intent 3. The extended use case may represent optional behavior as opposed to a new, basic or alternative flow

A Base Use Case with Extended Flow  In order to apply the extend construct, all that is required is to indicate the extension points in the basic flow and the conditions under which the extended flow is to be executed.

Including Use Cases in Other Use Cases  Certain patterns of user and system behavior reoccur in a variety of places  e.g., entering passwords, performing a system status check, selecting items from a table, etc.  To avoid redundancy, the include relationship can be used.  When used properly, the include relationship can simplify the development and maintenance activities.

The Flow of an Included Use Case

Key Points  To support development and testing activities, the use cases defined earlier in the project must be more fully elaborated.  The use-case model is reviewed and will often be refactored as well.  A well-elaborated use case also defines all alternative flows, pre- and post-conditions, and special requirements.  The additional use-case relationships extend and include help the team structure and maintain the use-case model.

Reading Assignment  Read HOLIS case study in pages