Use Cases & Requirements Analysis By: Mostafa Elbarbary.

Slides:



Advertisements
Similar presentations
Object-Oriented Analysis and Design Evolutionary Requirements.
Advertisements

© 2010 Bennett, McRobb and Farmer1 Use Case Description Supplementary material to support Bennett, McRobb and Farmer: Object Oriented Systems Analysis.
Object Design Examples with GRASP
Actors and use cases Use-case diagram Brief notation Prioritization Fully dressed notation Requirements Functional requirements  Use-cases.
Use cases.
Information System Engineering
January Ron McFadyen1 Use Cases in the UML Functionality under consideration is represented by use cases (named ellipses) enclosed in a box.
Conversation Form l One path through a use case that emphasizes interactions between an actor and the system l Can show optional and repeated actions l.
COMP 350: Object Oriented Analysis and Design Lecture 3 Case Studies, Inception & Use Cases References: Craig Larman Chapters 3-6.
January Ron McFadyen1 Ch 9. Use-case model: drawing System Sequence Diagrams Elaboration Iteration 1: a simple cash-only success scenario of.
Sept Ron McFadyen1 Use Cases Introduced by Ivar Jacobson in 1986 literal translation from Swedish ”usage case” - may be of.
Fall 2009ACS-3913 Ron McFadyen1 Use Cases Used to capture functional requirements – there are other requirements categories such as usability, reliability,
Understanding Requirements
A use case describes one “case” of how a user can use the system.
Copyright ©2004 Cezary Z Janikow 1 Use Cases n Within Requirements discipline/workflow n Verbal descriptions of important functional (behavioral, transactional,
Introduction to Software Engineering Dr. Basem Alkazemi
Requirements Analysis 4. 1 Use Case I b504.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis Use-Cases.
Use Case Diagram.
Use Case Modeling. Use case diagram For each use case we develop  Object class diagram (with attributes only)  System sequence diagram (analysis) 
Unified Modeling Language
The first step in getting what you want is to decide what you want.
TK2023 Object-Oriented Software Engineering
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 4: Detailing a Use Case.
Software Engineering 1 Object-oriented Analysis and Design Chap 30 Relating Use Cases.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 06. Requirements.
SYS466: Analysis and Design Using OO Models
SOEN 6011 Software Engineering Processes Section SS Fall 2007 Dr Greg Butler
OBJECT ORIENTED METHODOLOGIES Week04. Agenda… © Jerry Kotuba SYST39409-Object Oriented Methodologies 2  This week  Quiz 1  Take up ICE-01  Check “Grade.
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.
Chapter 6 Use Cases. Use Cases: –Text stories Some “actor” using system to achieve a goal –Used to discover and record requirements –Serve as input to.
Use Cases 1. Last week  Introduction to software engineering  How is it different from traditional engineering?  Introduction to specification  Operational.
Faculty of Computer & Information Software Engineering Third year
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 20. Review Software Requirements Requirements Engineering Process.
USE CASE Bayu Adhi Tama, MTI Faculty of Computer Science, University of Sriwijaya Slides are adapted from Petrus Mursanto
Object-Oriented Analysis and Design Jan 14, 2009.
Faculty of Computer & Information
OOSE Use Case. Requirement Functional: –Features, capabilities, and security Non Functional: –Usability: Human factors, help, and documentation –Reliability:
1 Objectives  Define key concepts of use-case modeling.  List the benefits of use-case modeling.  Find actors and use cases.  Describe their relationships.
Faculty of Applied Engineering and Urban Planning Software Engineering Department Software Engineering Lab Use Cases Faculty of Information system Technology.
1 Structuring Systems Requirements Use Case Description and Diagrams.
Chapter 1 Applying UML and Patterns. The Need for Software Blueprints Knowing an object-oriented language and having access to a library is necessary.
Use Cases Use Cases are employed to describe the functionality or behavior of a system. Each use case describes a different capability that the system.
Business Analysis with For PG MDI, Gurgaon Kamna Malik, Ph.D.
January Ron McFadyen1 January 2004 Assignment 1 Due: Friday Jan 23, Implement the ProductSpecification and Payment classes in any OO.
Week IV in SOS  Tuesday Project Time -- 4:15pm-5pm URL for project(s) due to Judy by Friday 5pm  Friday Paper  OOAD Handouts thru last Thursday (see.
CS212: Object Oriented Analysis and Design Lecture 32: Use case and Class diagrams.
Sept Ron McFadyen1 Use Cases Introduced by Ivar Jacobson in 1986 literal translation from Swedish ”usage case” Used to capture and describe.
Lecture 14 22/10/15. The Object-Oriented Analysis and Design  Process of progressively developing representation of a system component (or object) through.
IntellAgile Copyright © 2002 Craig Larman. All rights reserved. Writing Use Cases: Requirements in Context.
Understanding Requirements
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 3: Outlining Use Cases.
Larman chapter 61 Use cases Larman chapter 6. 2 Fig. 6.1.
Chapter 6: Structuring Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
OO DomainModeling With UML Class Diagrams and CRC Cards Chapter 6 Princess Nourah bint Abdulrahman University College of Computer and Information Sciences.
SYSTEM-LEVEL SEQUENCE DIAGRAMS Sys466. System-Level Sequence Diagrams  Use cases describe how external actors interact with the software system…  An.
Page 1  Copyright © 1997 by Rational Software Corporation Putting the UML to Work The ESU University wants to computerize their registration system –
ACO 101: Use cases What do the users do?. When building a system You begin with the Use Case Analysis – When looking at the system as a whole, Use Case.
Requirements capture: Using UML Use Cases David Millard and Yvonne Howard {dem,
Jan Ron McFadyen1 Use Cases Used to capture functional requirements – there are other requirements categories such as usability, reliability,
CMPE 280 Web UI Design and Development August 29 Class Meeting
Objectives Importance of Requirement Engineering
Use Case Model.
UML Use Case Diagrams.
Writing Use Cases.
OO Domain Modeling With UML Class Diagrams and CRC Cards
Start at 17th March 2012 end at 31th March 2012
Object Oriented Analysis and Design
Use Case Modeling.
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Use cases Dr. X.
Presentation transcript:

Use Cases & Requirements Analysis By: Mostafa Elbarbary

Objectives Define software Requirements and their types Define actor, use case, and use-case model Explain Software Requirements Engineering Process Explain how use cases fit into a requirements engineering process

Agenda Requirements and Requirements Type Use cases and Requirements Use case Elements Use case Relationships Use case Model Use case Formats Use case Types Use Cases and Requirements Analysis

Requirements Requirements are capabilities and conditions to which the system conform.

Requirements Types Functional Requirements functional requirement defines a function and features of a software system or its component. Non Functional Requirements Usability, Reliability, Performance, Security,etc.

Agenda Requirements and Requirements Type Use cases and Requirements Use case Elements Use case Relationships Use case Model Use case Formats Use case Types Use Cases and Requirements Analysis

Use cases and Requirements Use cases are requirements, primarily functional or behavioral requirements that indicate what the system will do. Use cases Used to capture and model Functional requirements.

Agenda Requirements and Requirements Type Use cases and Requirements Use case Elements Use case Relationships Use case Model Use case Formats Use case Types Use Cases and Requirements Analysis

Use Case Elements A Use Case is a collection of related success and failure scenarios that describe an actor using a system to support a goal. A scenario is a specific sequence of actions and interactions between actors and the system; it is also called a use case instance

Use Case Elements An actor is something with behavior, such as a person (identified by role), computer system, or organization; for example, a Student. Actors Type Primary actor has user goals fulfilled through using services of the SuD. Supporting actor provides a service (for example, information) to the SuD.

An Example Process Sale Handle Returns Cashier Partial Use case diagram for Point of Sale System Tax Calculator

Agenda Requirements and Requirements Type Use cases and Requirements Use case Elements Use case Relationships Use case Model Use case Formats Use case Types Use Cases and Requirements Analysis

Use case Relationships Includes relationship allows one use case to use the functionality provided by another use case > Login

An Example Student Submit Class Schedule Register for Classes > Login Administrator > Partial Use case diagram for University Management System

Use case Relationships Extends relationship allows one use case the option to extend the functionality provided by another use case >

An Example Customer Cash Deposit Cash Withdrawal > Login > Partial Use case diagram for ATM Print Receipt >

Agenda Requirements and Requirements Type Use cases and Requirements Use case Elements Use case Relationships Use case Model Use case Formats Use case Types Use Cases and Requirements Analysis

Use Case Model Use cases are text documents, not diagrams, and use-case modeling is primarily an act of writing text, not drawing diagrams. The Use-Case Model may optionally include a UML use case diagram to show the names of use cases and actors, and their relationships.

Agenda Requirements and Requirements Type Use cases and Requirements Use case Elements Use case Relationships Use case Model Use case Formats Use case Types Use Cases and Requirements Analysis

Use Case Formats Brief Terse one-paragraph summary, usually of the main success scenario. Register for Classes: Student Requests Classes’ Section for a Term. System Adds the student to each section if possible. On completion, the student receives list of classes he is enrolled in.

Use Case Formats Casual Informal paragraph format. Multiple paragraphs that cover various scenarios. Register for Classes: Student Requests Classes’ Section for a Term. System Adds the student to each section if possible. On completion, the student receives list of classes he is enrolled in. if Invalid section number entered. Indicate error.

Use Case Formats fully dressed All steps and variations are written in detail, and there are supporting sections, such as preconditions and success guarantees. Use CaseRegister for Classes ActorsStudent PurposeRegister student for classes and record the student’s schedule OverviewStudent Requests Classes’ Section for a Term. System Adds the student to each section if possible. On completion, the student receives list of classes he is enrolled in. Pre-ConditionsClass schedule must exists Student is known by the system Post-ConditionsStudent was enrolled in the section

Main Success Scenario 1. Student desires to register for class 2. Student provides ID, Course number and section no. 3. Adds the student to the section if there are seats available 4. On completion of Entry, Student submits. 5. Produces a student class list for the student. 6. Student receives the class list Alternative Scenario 3a 1.Invalid section number entered. Indicate error. Return to step 2. 3b 1.No seats remaining. Inform the student. Return to step2 Use Case Formats

Agenda Requirements and Requirements Type Use cases and Requirements Use case Elements Use case Relationships Use case Model Use case Formats Use case Types Use Cases and Requirements Analysis

Use Case Types Business (Essential) Use Case describes the interaction between the user and the system at a high level of abstraction. System (Concrete) Use case the interaction between the user and system in a more detailed way

Use Case and Requirements Analysis 1. Identify the primary actors and their goals 2. Identify the use cases and make a use case diagram for the system. 3. Write a use case narrative describing use case main success scenario (Brief Format). 4. Detail use case narrative describing use case main success scenario and Alternative scenarios(Fully- dressed Format).