Docsity

Software Development: Requirements Engineering Essentials, Exams of Introduction to Software Engineering

Partial preview of the text

Download Software Development: Requirements Engineering Essentials and more Exams Introduction to Software Engineering in PDF only on Docsity!

Chapter: Requirement Engineering

Requirements Engineering

 Requirement: A function, constraint or

other property that the system must

provide to fill the needs of the system’s

intended user(s)

 Engineering: implies that systematic and

repeatable techniques should be used

 Requirement Engineering means that

requirements for a product are defined,

managed and tested systematically

Characteristics of a Good Requirement

 Clear and Unambiguous
 standard structure
 has only one possible interpretation
 Not more than one requirement in one
sentence
 Correct
 A requirement contributes to a real need
 Understandable
 A reader can easily understand the meaning
of the requirement
 Verifiable
 A requirement can be tested
 Complete
 Consistent
 Traceable

Why is Getting Good Requirements Hard?  Stakeholders don’t know what they really want.  Stakeholders express requirements in their own terms.  Different stakeholders may have conflicting requirements.  Organisational and political factors may influence the system requirements.  The requirements change during the RE process. New stakeholders may emerge and the business environment change.

Inception  Inception— Ask “context-free” questions that establish …  Basic understanding of the problem  The people who want a solution  The nature of the solution that is desired, and  The effectiveness of preliminary communication and collaboration between the customer and the developer

Elicitation  Elicitation - elicit requirements from customers, users and others.  Find out from customers, users and others what the product objectives are  what is to be done  how the product fits into business needs, and  how the product is used on a day to day basis

Elaboration  Focuses on developing a refined technical model of software functions, features, and constraints using the information obtained during inception and elicitation  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 interact with the system.  End result defines informational, functional and behavioral domain of the problem

Negotiation

 Negotiation - agree on a deliverable system
that is realistic for developers and customers
 Requirements are categorized and organized
into subsets
 Relations among requirements identified
 Requirements reviewed for correctness
 Requirements prioritized based on customer
needs
 Negotiation about requirements, project
cost and project timeline.
 There should be no winner and no loser in
effective negotiation.

Validation  Requirements Validation - formal technical review mechanism that looks for  Errors in content or interpretation  Areas where clarification may be required  Missing information  Inconsistencies (a major problem when large products or systems are engineered)  Conflicting or unrealistic (unachievable) requirements.

Requirement Management  Set of activities that help project team to identify, control, and track requirements and changes as project proceeds Requirements begin with identification. Each requirement is assigned a unique identifier. Once requirement have been identified, traceability table are developed. Traceability Table :  Features traceability table - shows how requirements relate to customer observable features  Source traceability table - identifies source of each requirement  Dependency traceability table - indicate relations among requirements  Subsystem traceability table - requirements categorized by subsystem  Interface traceability table - shows requirement relations to internal and external interfaces It will help to track, if change in one requirement will affect different aspects of the system.

Work toward collaboration  RE identify areas of commonality (i.e. Agreed requirement) and areas of conflict or inconsistency.  It does not mean requirement defined by committee. It may happened they providing just view of their requirement.  Business manager or senior technologist may make final decision.  Asking the first questions  Who is behind the request for this work?  Who will use the solution?  What will be the economic benefit of a successful solution  Is there another source for the solution that you need? These questions will help – stakeholder interest in the software & measurable benefit of successful implementation.

Asking the question Next set of questions – better understanding of the problem.  What business problem (s) will this solution address?  Describe business environment in which the solution will be used?  will performance or productivity issues affect the solution is approached? Final set of questions – Effectiveness of communication  Are my questions relevant to the problem?  Am I asking too many questions?  Can anyone else provide additional information?  should I be asking you anything else?

Collaborative Requirement Gathering  Meetings are attended by all interested stakeholders.  Rules established for preparation and participation.  Agenda should be formal enough to cover all important points, but informal enough to encourage the free flow of ideas.  A facilitator controls the meeting.  A definition mechanism (blackboard, flip charts, etc.) is used.  During the meeting:  The problem is identified.  Elements of the solution are proposed.  Different approaches are negotiated.  A preliminary set of solution requirements are obtained.  The atmosphere is collaborative and non-threatening.  Flow of event – Outline the sequence of events occurs  Requirement gathering meeting ( initial meeting)  During meeting  Follow the meeting.

Collaborative requirement gathering (contd.)  In initial meeting, distribute “Product request” (defined by stakeholder) to all attendee.  Based on product request, each attendee is asked to make  List of objects (Internal or external system objects)  List of services( Processes or functions)  List of constraints ( cost, size, business rules) and performance criteria( speed, accuracy) are developed.  Collect lists from everyone and combined.  Combined list eliminates redundant entries, add new ideas , but does not delete anything.  Objective is to develop a consensus list in each topic area (objects, services, constraints and performance).  Based on lists, team is divided into smaller sub-teams : each works to develop mini-specification for one or more entries on each of the lists.