1 / 18

Chapter 4, Requirements Elicitation

Chapter 4, Requirements Elicitation. Dealing with Complexity Start with a description of the functionality (Use case model). Then proceed by finding objects (object model). What activities and models are needed? This leads us to the software lifecycle we use in this class. class...

tballard
Download Presentation

Chapter 4, Requirements Elicitation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 4, Requirements Elicitation

  2. Dealing with Complexity • Start with a description of the functionality (Use case model). Then proceed by finding objects (object model). • What activities and models are needed? • This leads us to the software lifecycle we use in this class

  3. class... class... class... class.... Software Lifecycle Activities Requirements Elicitation Requirements Analysis System Design Object Design Implemen- tation Testing Implemented By Expressed in Terms Of Structured By Realized By Verified By ? ? Application Domain Objects Solution Domain Objects Use Case Model Source Code SubSystems Test Cases

  4. First Step in Establishing the Requirements: System Identification • The development of a system is not just done by taking a snapshot of a scene (domain) • Two questions need to be answered: • How can we identify the purpose of a system? • Crucial is the definition of the system boundary: What is inside, what is outside the system? • These two questions are answered in the 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”)

  5. Defining the System Boundary is Often Difficult What do you see here?

  6. Problem Statement Generation Requirements system Elicitation specification: Model Requirements Analysis analysis model: Model Products of Requirements Process (Activity Diagram) Problem Statement

  7. 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

  8. 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

  9. ARENA: The Problem • The Internet has enabled virtual communities • Groups of people sharing common of interests but who have never met each other in person. Such virtual communities can be short lived (e.g people in a chat room or playing a multi player game) or long lived (e.g., subscribers to a mailing list). • Many multi-player computer games now include support for virtual communities. • Players can receive news about game upgrades, new game levels, announce and organize matches, and compare scores. • Currently each game company develops such community support in each individual game. • Each company uses a different infrastructure, different concepts, and provides different levels of support. • This redundancy and inconsistency leads to problems: • High learning curve for players joining a new community, • Game companies need to develop the support from scratch • Advertisers need to contact each individual community separately.

  10. ARENA: The Objectives • Provide a generic infrastructure for operating an arena to • Support virtual game communities. • Register new games • Register new players • Organize tournaments • Keeping track of the players scores. • Provide a framework for tournament organizers • to customize the number and sequence of matchers and the accumulation of expert rating points. • Provide a framework for game developers • for developing new games, or for adapting existing games into the ARENA framework. • Provide an infrastructure for advertisers.

  11. 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.

  12. What is usually not in the requirements? • System structure, implementation technology • Development methodology • Development environment • Implementation language • Reusability • It is desirable that none of these above are constrained by the client. Fight for it!

  13. 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 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

  14. Types of Requirements Elicitation • Greenfield Engineering • Development starts from scratch, no prior system exists, the requirements are extracted from the end users and the client • Triggered by user needs • Re-engineering • Re-design and/or re-implementation of an existing system using newer technology • Triggered by technology enabler • Interface Engineering • Provide the services of an existing system in a new environment • Triggered by technology enabler or new market needs

  15. Scenarios Scenario Definition: • A concrete, focused, informal description of a single feature of the system used by a single actor. • Scenarios can have many different uses during the software lifecycle • Requirements Elicitation: As-is scenario, visionary scenario • Client Acceptance Test: Evaluation scenario • System Deployment: Training scenario.

  16. Types of Scenarios • As-is scenario: • Used in describing a current situation. Usually used in re-engineering projects. The user describes the system. • Visionary scenario: • Used to describe a future system. Usually used in greenfield engineering and reengineering projects. • Can often not be done by the user or developer alone • Evaluation scenario: • User tasks against which the system is to be evaluated. • Training scenario: • Step by step instructions that guide a novice user through a system

  17. How to find 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

  18. Summary • The requirements process consists of requirements elicitation and analysis. • The requirements elicitation activity is different for: • Greenfield Engineering, Reengineering, Interface Engineering • Scenarios: • Great way to establish communication with client • Different types of scenarios: As-Is, visionary, evaluation and training • Use cases: Abstraction of scenarios • The key to successful analysis: • Start with use cases and then find the participating objects • If somebody asks “What is this?”, do not answer right away. Return the question or observe the end user: “What is it used for?”

More Related