Bernd Bruegge and Allen Dutoit Requirements Process The requirements process consists of two activities: Requirements Elicitation: Definition of the system.

Slides:



Advertisements
Similar presentations
Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java L6 (Adapted For ISE 2005/6 By Ananda Amatya, University.
Advertisements

Chapter 4, Requirements Elicitation
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 1: Introduction.
Conquering Complex and Changing Systems Object-Oriented Software Engineering Chapter 4, Requirements Elicitation - Continued.
Using UML, Patterns, and Java Object-Oriented Software Engineering Requirements Elicitation Chapter 4 Object-Oriented Software Engineering: Using UML,
CEN 4010 Fifth Lecture February 8, 2006 Introduction to Software Engineering (CEN- 4010) Spring 2006 Instructor: Masoud Sadjadi
Requirements Elicitation Labs Discussion p2 T120B pavasario sem.
Presentation material is based on notes from Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 1 ECE.
Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 1 Software Engineering September 12, 2001 Capturing.
Conquering Complex and Changing Systems Object-Oriented Software Engineering Chapter 4, Requirements Elicitation.
Conquering Complex and Changing Systems Object-Oriented Software Engineering Chapter 4, Requirements Elicitation.
Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 1 Example of a Problem Statement: Introduction into.
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 4, Requirements Elicitation.
Conquering Complex and Changing Systems Object-Oriented Software Engineering Chapter 4, Requirements Elicitation.
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 5, Analysis: Dynamic Modeling.
Chapter 4, Requirements Elicitation
Requirements Elicitation Chapter 4. Establishing Requirements Two questions –What is the purpose of the system –What is inside and what is outside the.
Use Cases Chapter 4. After Scenarios Find all the use cases in the scenario that specifies all possible instances of how to report a fire –Ex: “Report.
Requirements Elicitation
Conquering Complex and Changing Systems Object-Oriented Software Engineering Chapter 4, Requirements Elicitation: Functional Modeling.
Using UML, Patterns, and Java Object-Oriented Software Engineering Example of a Problem Statement: Introduction into ARENA.
Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 1 Requirements Analysis Document Template 1.Introduction.
An Introduction to Use-Case Modeling
Chapter 4, Requirements Elicitation
Presentation material is based on notes from Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 1 ECE.
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 4, Requirements Elicitation.
Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 1 Functional Modeling.
Requirements Analysis
1 Phases in Software Development Lecture Software Development Lifecycle Let us review the main steps –Problem Definition –Feasibility Study –Analysis.
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 4, Requirements Elicitation: Functional Modeling.
Requirements Elicitation Labs Discussion p2 T120B pavasario sem.
Conquering Complex and Changing Systems Object-Oriented Software Engineering Chapter 4, Requirements Elicitation: Functional Modeling.
Using UML, Patterns, and Java Object-Oriented Software Engineering Functional Modeling.
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 4, Requirements Elicitation.
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 4, Requirements Elicitation.
Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 1 Object Modeling.
1 Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 1 Reminders The 0 th project reports (case) will.
1 Requirements Elicitation Lectures 10 & References Chapter 4: Requirements Elicitation from Object Oriented Software Engineering: Conquering Complex.
Lecture 7: Requirements Engineering
Conquering Complex and Changing Systems Object-Oriented Software Engineering Chapter 4, Requirements Elicitation.
Conquering Complex and Changing Systems Object-Oriented Software Engineering Chapter 4, Requirements Elicitation: Functional Modeling.
Yarmouk University Department of Computer Information Systems CIS 499 Yarmouk University Department of Computer Information Systems CIS 499 Yarmouk University.
Conquering Complex and Changing Systems Object-Oriented Software Engineering Chapter 4, Requirements Elicitation: Functional Modeling.
CEN th Lecture Advance Software Engineering (CEN-5011) Instructor: Masoud Sadjadi Requirements Elicitation.
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 4, Requirements Elicitation.
Requirements Engineering Requirements Elicitation Overview of Requirements Analysis.
21/1/ Analysis - Model of real-world situation - What ? System Design - Overall architecture (sub-systems) Object Design - Refinement of Design.
Requirement Elicitation Review – Class 8 Functional Requirements Nonfunctional Requirements Software Requirements document Requirements Validation and.
1 Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 1 A Typical Example of Software Lifecycle Activities.
1 After the scenarios are formulated Find all the use cases in the scenario Describe each of these use cases in more detail Participating actors Describe.
1 Use Cases Object-Oriented Modeling and Design with UML (Second Edition) Blaha & Rumbaugh Sections 7.1, 8.1.
This Class  Finishing UML Tutorial  Develop UML models based on ArgoUML  Start Requirement Elicitation.
Outline  Requirement Elicitation  Problem Statement  Functional and Non-functional requirement  Requirement Elicitation Activities.
Outline  Requirement Elicitation  Problem Statement  Functional and Non-functional requirement  Requirement Elicitation Activities.
Outline  Requirement Elicitation  Problem Statement  Functional and Non-functional requirement  Requirement Elicitation Activities.
Digital Media & Interaction Design LECTURE 4+5. Lecture 4+5 Draw requirement + Prototyping.
CMPE 280 Web UI Design and Development August 29 Class Meeting
Example of a Problem Statement: Introduction into ARENA
Chapter 4, Requirements Elicitation
Chapter 4, Requirements Elicitation
Example of a Problem Statement: Introduction into ARENA
Advance Software Engineering (CEN-5011)
Chapter 4, Requirements Elicitation
Chapter 4, Requirements Elicitation
Example of a Problem Statement: Introduction into ARENA
Chapter 4, Requirements Elicitation: Functional Modeling
Introduction to Software Engineering (CEN-4010)
Chapter 4, Requirements Elicitation
Chapter 4, Requirements Elicitation: Functional Modeling
Members: Keshava Shiva Sanjeeve Kareena
Presentation transcript:

Bernd Bruegge and Allen Dutoit Requirements Process The requirements process consists of two activities: Requirements Elicitation: Definition of the system in terms understood by the customer (“Problem Description”) Requirements Analysis: Technical specification of the system in terms understood by the developer (“Problem Specification”)

Bernd Bruegge and Allen Dutoit Requirements Elicitation Very challenging activity Requires collaboration of people with different backgrounds –Users with application domain knowledge –Developer with solution domain knowledge (design knowledge, implementation knowledge) Bridging the gap between user and developer: –Scenarios: Example of the use of the system in terms of a series of interactions with between the user and the system –Use cases: Abstraction that describes a class of scenarios

Bernd Bruegge and Allen Dutoit System Specification vs Analysis Model Both models focus on the requirements from the user’s view of the system. System specification uses natural language (derived from the problem statement) The analysis model uses formal or semi-formal notation (for example, a graphical language like UML) The starting point is the problem statement

Bernd Bruegge and Allen Dutoit Problem Statement The problem statement is developed by the client as a description of the problem addressed by the system Other words for problem statement: –Statement of Work A good problem statement describes –The current situation –The functionality the new system should support –The environment in which the system will be deployed –Deliverables expected by the client –Delivery dates –A set of acceptance criteria

Bernd Bruegge and Allen Dutoit Ingredients of a Problem Statement Current situation: The Problem to be solved Description of one or more scenarios Requirements –Functional and Nonfunctional requirements –Constraints (“pseudo requirements”) Project Schedule –Major milestones that involve interaction with the client including deadline for delivery of the system Target environment –The environment in which the delivered system has to perform a specified set of system tests Client Acceptance Criteria –Criteria for the system tests

Bernd Bruegge and Allen Dutoit Types of Requirements Functional requirements: –Describe the interactions between the system and its environment independent from implementation –Examples: An ARENA operator should be able to define a new game. Nonfunctional requirements: –User visible aspects of the system not directly related to functional behavior. –Examples: The response time must be less than 1 second The ARENA server must be available 24 hours a day Constraints (“Pseudo requirements”): –Imposed by the client or the environment in which the system operates The implementation language must be Java ARENA must be able to dynamically interface to existing games provided by other game developers. See “URPS+” on page 126 For more/better details

Bernd Bruegge and Allen Dutoit Requirements Validation Requirements validation is a critical step in the development process, usually after requirements engineering or requirements analysis. Also at delivery (client acceptance test). Requirements validation criteria: –Correctness : The requirements represent the client’s view. –Completeness : All possible scenarios, in which the system can be used, are described, including exceptional behavior by the user or the system –Consistency : There are no functional or nonfunctional requirements that contradict each other –Realism : Requirements can be implemented and delivered –Traceability : Each system function can be traced to a corresponding set of functional requirements Know defs in Table 4.1 On page 128 too!

Bernd Bruegge and Allen Dutoit Heuristics for finding Scenarios Ask yourself or the client the following questions: –What are the primary tasks that the system needs to perform? –What data will the actor create, store, change, remove or add in the system? –What external changes does the system need to know about? –What changes or events will the actor of the system need to be informed about? However, don’t rely on questionnaires alone. Insist on task observation if the system already exists (interface engineering or reengineering) –Ask to speak to the end user, not just to the software contractor –Expect resistance and try to overcome it

Bernd Bruegge and Allen Dutoit Heuristics: How do I find use cases? Select a narrow vertical slice of the system (i.e. one scenario) –Discuss it in detail with the user to understand the user’s preferred style of interaction Select a horizontal slice (i.e. many scenarios) to define the scope of the system. –Discuss the scope with the user Use illustrative prototypes (mock-ups) as visual support Find out what the user does –Task observation (VeryGood) –Questionnaires (Sufficient)

Bernd Bruegge and Allen Dutoit Order of steps when formulating use cases First step: name the use case –Use case name: ReportEmergency Second step: Find the actors –Generalize the concrete names (“Bob”) to participating actors (“Field officer”) –Participating Actors: Field Officer (Bob and Alice in the Scenario) Dispatcher (John in the Scenario) Third step: Then concentrate on the flow of events –Use informal natural language

Bernd Bruegge and Allen Dutoit Use Case Associations A use case model consists of use cases and use case associations –A use case association is a relationship between use cases Important types of use case associations – Include, Extends, Generalization Include –A use case uses another use case (“functional decomposition”) Extends –A use case extends another use case Generalization –An abstract use case has different specializations

Requirements Gathering is NOT an Algorithm Human judgment involved (can you say “experience”) Pay attention to the boxes of heuristics –Questions for identifying actors – pg 132 –Simple Use Case Writing Guide – pg 137 Section tries to untangle the include/extend issue Initial Analysis objects (pg 145 box) –Launching pad for rest of SE process