Presentation is loading. Please wait.

Presentation is loading. Please wait.

These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.

Similar presentations


Presentation on theme: "These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by."— Presentation transcript:

1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 1 Software Engineering: A Practitioner’s Approach, 6/e Chapter 7 Requirements Engineering Software Engineering: A Practitioner’s Approach, 6/e Chapter 7 Requirements Engineering copyright © 1996, 2001, 2005 R.S. Pressman & Associates, Inc. For University Use Only May be reproduced ONLY for student use at the university level when used in conjunction with Software Engineering: A Practitioner's Approach. Any other reproduction or use is expressly prohibited.

2 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 2 A Bridge to Design & Construction “The hardest single part of building a S/W system is deciding what to build. No part of the work so cripples the resulting system if done wrong. No part is more difficult to rectify later.” Fred Brooks. “The hardest single part of building a S/W system is deciding what to build. No part of the work so cripples the resulting system if done wrong. No part is more difficult to rectify later.” Fred Brooks. Requirement Engineering (RE) is S.E. Action that begins during the communication activity and continues into the modeling activity. Requirement Engineering (RE) is S.E. Action that begins during the communication activity and continues into the modeling activity. Every task defined for comprehensive RE must be performed rigorously. Every task defined for comprehensive RE must be performed rigorously. It is essential that the S/W team make a real effort to understand the req. of a problem before the team attempts to solve the problem. It is essential that the S/W team make a real effort to understand the req. of a problem before the team attempts to solve the problem. The journey across the bridge takes us above the the project, allowing the S/W team to examine the context of the S/W to be performed; the specific needs that design and construction must address; the priorities that guide the order in which work is to be completed; and the information, functions, and behaviors that will have a profound impact on the resultant design. The journey across the bridge takes us above the the project, allowing the S/W team to examine the context of the S/W to be performed; the specific needs that design and construction must address; the priorities that guide the order in which work is to be completed; and the information, functions, and behaviors that will have a profound impact on the resultant design.

3 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 3 Requirements Engineering-I RE provides the appropriate mechanisms for understanding what the customer wants, analyzing need, assessing feasibility, negotiating a reasonable solution, specifying the solution unambiguously, validating the specification, and managing the requirements as they are transformed into an operational system. RE provides the appropriate mechanisms for understanding what the customer wants, analyzing need, assessing feasibility, negotiating a reasonable solution, specifying the solution unambiguously, validating the specification, and managing the requirements as they are transformed into an operational system. The RE process is accomplished through the execution of seven distinct functions: The RE process is accomplished through the execution of seven distinct functions: Inception, elicitation, elaboration, negotiation, specification, validation, and management. Inception, elicitation, elaboration, negotiation, specification, validation, and management. Inception—ask a set of questions that establish … Inception—ask a set of questions that establish … basic understanding of the problem basic understanding of the problem the people who want a solution the people who want a solution the nature of the solution that is desired, and the nature of the solution that is desired, and the effectiveness of preliminary communication and collaboration between the customer and the developer the effectiveness of preliminary communication and collaboration between the customer and the developer “The seeds of major S/W disasters are usually sown in the first three month of commencing the S/W project.” Capers Jones “The seeds of major S/W disasters are usually sown in the first three month of commencing the S/W project.” Capers Jones

4 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 4 Elicitation Elicitation Elicit requirements from all stakeholders (customer, users, etc.) Elicit requirements from all stakeholders (customer, users, etc.) Why requirement elicitation is difficult? Why requirement elicitation is difficult? Problem of Scope: The boundary of the system is ill-defined. Problem of Scope: The boundary of the system is ill-defined. Problems of Understanding: The customer/users are not sure of what us needed. They may have a poor understanding of the capabilities and limitations of their computing environment, don’t have a full understanding of the problem domain. Problems of Understanding: The customer/users are not sure of what us needed. They may have a poor understanding of the capabilities and limitations of their computing environment, don’t have a full understanding of the problem domain. Problems of Volatility: The requirements change over time. Problems of Volatility: The requirements change over time. Elaboration Elaboration Create an analysis model that identifies data, function and behavioral requirements. Create an analysis model that identifies data, function and behavioral requirements. It is driven by the creation and refinement of user scenarios that describe how the end-user will act with the system. It is driven by the creation and refinement of user scenarios that describe how the end-user will act with the system.

5 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 5 Negotiation Negotiation It is relatively common for different customers or users to propose conflicting requirements, arguing that their version “is for our special needs.” It is relatively common for different customers or users to propose conflicting requirements, arguing that their version “is for our special needs.” The RE must reconcile these conflicts through a process of negotiation. The RE must reconcile these conflicts through a process of negotiation. Customers, users, and other stakeholders are asked to rank requirements and then discuss conflicts in priority. Customers, users, and other stakeholders are asked to rank requirements and then discuss conflicts in priority. Risks in each requirement are identified and analyzed. Risks in each requirement are identified and analyzed. Agree on a deliverable system that is realistic for developers and customers. Agree on a deliverable system that is realistic for developers and customers. Specification Specification Can be any one (or more) of the following: Can be any one (or more) of the following: A written document A written document A set of models A set of models A formal mathematical A formal mathematical A collection of user scenarios (use-cases) A collection of user scenarios (use-cases) A prototype A prototype It is the final work produced by the RE. It is serves as the foundation for subsequent S.E. activities. It is the final work produced by the RE. It is serves as the foundation for subsequent S.E. activities.

6 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 6 Validation Validation A review mechanism that looks for A review mechanism that looks for Errors in content or interpretation Errors in content or interpretation Areas where clarification may be required Areas where clarification may be required Missing information Missing information Inconsistencies (a major problem when large products or systems are engineered) Inconsistencies (a major problem when large products or systems are engineered) Conflicting or unrealistic (unachievable) requirements. Conflicting or unrealistic (unachievable) requirements. Requirements Validation Checklist: Requirements Validation Checklist: Are requirements stated clearly, can they be misinterpreted? Are requirements stated clearly, can they be misinterpreted? Is the source (person, document) of the requirement identified? Has the final statement of the req. been examined by or against the original source? Is the source (person, document) of the requirement identified? Has the final statement of the req. been examined by or against the original source? Is the req. bounded in a quantitative terms? Is the req. bounded in a quantitative terms? What other requirements related to this req.? What other requirements related to this req.? Requirements management Requirements management Set of activities that help the project team identify, control, and track reqs and changes to reqs at any time as the project proceeds. Set of activities that help the project team identify, control, and track reqs and changes to reqs at any time as the project proceeds.

7 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 7 Inception Identify stakeholders Identify stakeholders “who else do you think I should talk to?”; create a list of people who will contribute input a reqs are elicited. The list will grow as stakeholders are contacted. “who else do you think I should talk to?”; create a list of people who will contribute input a reqs are elicited. The list will grow as stakeholders are contacted. Recognize multiple points of view Recognize multiple points of view Each of the constituencies (Marketing groups, Managers, End-users, S.E.) will contribute information to the R.E. process. Each of the constituencies (Marketing groups, Managers, End-users, S.E.) will contribute information to the R.E. process. R.E. is to categorize the stakeholder information including inconsistent and conflicting reqs in a way that will allow decision makers to choose an internally consistent set of reqs for the system. R.E. is to categorize the stakeholder information including inconsistent and conflicting reqs in a way that will allow decision makers to choose an internally consistent set of reqs for the system. Work toward collaboration Work toward collaboration R.E. is to identify areas of commonality and areas of conflict or inconsistency. R.E. is to identify areas of commonality and areas of conflict or inconsistency. Stakeholders collaborate by providing their view of reqs. Stakeholders collaborate by providing their view of reqs. The first questions The first questions Who is behind the request for this work? Who is behind the request for this work? Who will use the solution? Who will use the solution? What will be the economic benefit of a successful solution? What will be the economic benefit of a successful solution? Is there another source for the solution that you need? Is there another source for the solution that you need? “It is better to know some of the questions than all of the answers.” James Thurber “It is better to know some of the questions than all of the answers.” James Thurber

8 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 8 Eliciting Requirements Collaborative Reqs Gathering: Meetings are conducted and attended by both software engineers and customers. Meetings are conducted and attended by both software engineers and customers. Rules for preparation and participation are established. Rules for preparation and participation are established. An agenda is suggested that is formal to cover all important points. An agenda is suggested that is formal to cover all important points. A "facilitator" (can be a customer, a developer, or an outsider) controls the meeting. A "facilitator" (can be a customer, a developer, or an outsider) controls the meeting. A "definition mechanism" (can be work sheets, flip charts, or wall stickers or an electronic bulletin board, chat room or virtual forum) is used. A "definition mechanism" (can be work sheets, flip charts, or wall stickers or an electronic bulletin board, chat room or virtual forum) is used. The goal is: The goal is: to identify the problem to identify the problem propose elements of the solution propose elements of the solution negotiate different approaches, and negotiate different approaches, and specify a preliminary set of solution requirements specify a preliminary set of solution requirements

9 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 9 Eliciting Requirements

10 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 10 Quality Function Deployment Function deployment determines the “value” (as perceived by the customer) of each function required of the system Function deployment determines the “value” (as perceived by the customer) of each function required of the system Information deployment identifies data objects and events Information deployment identifies data objects and events Task deployment examines the behavior of the system Task deployment examines the behavior of the system Value analysis determines the relative priority of requirements Value analysis determines the relative priority of requirements

11 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 11 Elicitation Work Products a statement of need and feasibility. a statement of need and feasibility. a bounded statement of scope for the system or product. a bounded statement of scope for the system or product. a list of customers, users, and other stakeholders who participated in requirements elicitation a list of customers, users, and other stakeholders who participated in requirements elicitation a description of the system’s technical environment. a description of the system’s technical environment. a list of requirements (preferably organized by function) and the domain constraints that apply to each. a list of requirements (preferably organized by function) and the domain constraints that apply to each. a set of usage scenarios that provide insight into the use of the system or product under different operating conditions. a set of usage scenarios that provide insight into the use of the system or product under different operating conditions. any prototypesdeveloped to better define requirements any prototypes developed to better define requirements.

12 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 12 Negotiating Requirements Identify the key stakeholders Identify the key stakeholders These are the people who will be involved in the negotiation These are the people who will be involved in the negotiation Determine each of the stakeholders “win conditions” Determine each of the stakeholders “win conditions” Win conditions are not always obvious Win conditions are not always obvious Negotiate Negotiate Work toward a set of requirements that lead to “win-win” Work toward a set of requirements that lead to “win-win”

13 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 13 Validating Requirements-I Is each requirement consistent with the overall objective for the system/product? Is each requirement consistent with the overall objective for the system/product? Have all requirements been specified at the proper level of abstraction? That is, do some requirements provide a level of technical detail that is inappropriate at this stage? Have all requirements been specified at the proper level of abstraction? That is, do some requirements provide a level of technical detail that is inappropriate at this stage? Is the requirement really necessary or does it represent an add-on feature that may not be essential to the objective of the system? Is the requirement really necessary or does it represent an add-on feature that may not be essential to the objective of the system? Is each requirement bounded and unambiguous? Is each requirement bounded and unambiguous? Does each requirement have attribution? That is, is a source (generally, a specific individual) noted for each requirement? Does each requirement have attribution? That is, is a source (generally, a specific individual) noted for each requirement? Do any requirements conflict with other requirements? Do any requirements conflict with other requirements?

14 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 14 Validating Requirements-II Is each requirement achievable in the technical environment that will house the system or product? Is each requirement achievable in the technical environment that will house the system or product? Is each requirement testable, once implemented? Is each requirement testable, once implemented? Does the requirements model properly reflect the information, function and behavior of the system to be built. Does the requirements model properly reflect the information, function and behavior of the system to be built. Has the requirements model been “partitioned” in a way that exposes progressively more detailed information about the system. Has the requirements model been “partitioned” in a way that exposes progressively more detailed information about the system. Have requirements patterns been used to simplify the requirements model. Have all patterns been properly validated? Are all patterns consistent with customer requirements? Have requirements patterns been used to simplify the requirements model. Have all patterns been properly validated? Are all patterns consistent with customer requirements?


Download ppt "These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by."

Similar presentations


Ads by Google