Requirements Elicitation and Analysis: Techniques and Best Practices, Lecture notes of Software Engineering

Software Requirement Engineering

Typology: Lecture notes

2019/2020

Uploaded on 11/02/2020

hui-ching-lim
hui-ching-lim šŸ‡²šŸ‡¾

5 documents

1 / 50

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Chapter 2
Requirements
Elicitation and Analysis
Source of PP slides :
- Lamsweerde, A. V. 2011. Requirements Engineering: From System goals to UML Models to Software
Specification. 2nd ed.Wiley.
- Weigers, K. And Beatty, J. 2013. Software Requirements. 3rd edn. Microsoft Press.
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32

Partial preview of the text

Download Requirements Elicitation and Analysis: Techniques and Best Practices and more Lecture notes Software Engineering in PDF only on Docsity!

Chapter 2

Requirements

Elicitation and Analysis

Source of PP slides :

- Lamsweerde, A. V. 2011. Requirements Engineering: From System goals to UML Models to Software Specification. 2 nd^ **ed.Wiley.

  • Weigers, K. And Beatty, J.** 2013. Software Requirements. 3rd^ edn. Microsoft Press. 1



Identifying stakeholder



Explain Artefact-driven

elicitation techniques



Explain Stakeholder-driven

elicitation techniques



Understand Requirement

Elicitation Process

2 Lesson objectives:



Selection of stakeholder based on ...

ā—¦ (^) relevant position in the organization ā—¦ (^) role in making decisions, reaching agreement ā—¦ (^) type of contributed knowledge, level of domain expertise ā—¦ (^) exposure to perceived problems ā—¦ (^) personal interests, potential conflicts ā—¦ (^) influence in system acceptance Stakeholder analysis (2) 4

 Distributed sources, conflicting viewpoints  (^) Difficult access to key people & data  (^) Different background, terminology, culture  (^) Hidden needs or/and Irrelevant details  (^) Internal politics, competition, resistance to change, ...  Personnel turnover, changes in organization, in priorities, ... Knowledge acquisition from stakeholders is difficult (1) 5

 2 main categories of elicitation techniques:

ā—¦ Artefact-driven elicitation techniques

ā—¦ Stakeholder-driven elicitation techniques

7 Elicitation Techniques

Background study

Data collection, questionnaires

Repertory grids, card sorts for concept

acquisition

Scenarios, storyboards for problem world

exploration

Prototypes, mock-ups for early feedback

Knowledge reuse: domain-independent,

domain-specific

8 Artefact-driven elicitation techniques

Background study (2) 

Provides basics for getting prepared

before meeting stakeholders =>

prerequisite to other techniques



Data mining problem: huge

documentation, irrelevant details,

outdated info



Solution: use meta-knowledge to

prune the doc space

ā—¦ (^) know what you need to know & what you don’t need to know

Data collection 

Gather undocumented facts & figures

ā—¦ (^) marketing data, usage statistics, performance figures, costs, ... ā—¦ (^) selection of representative data sets from available sources (use of statistical sampling techniques) 

May complement background study



Helpful for eliciting non-functional reqs on

performance, usability, cost etc.



However, difficulties:

ā—¦ (^) Getting reliable data may take time ā—¦ (^) Data must be correctly interpreted

Questionnaires (2)  Effective for acquiring subjective info quickly, cheaply, remotely from many people  Helpful for preparing better focused interviews (see next)  Subject to ... ā—¦ (^) multiple biases: recipients, respondents, questions, answers ā—¦ (^) unreliable info: misinterpretation of questions, of answers, inconsistent answers, ....

Questionnaires (3) Guidelines for questionnaire design and validation: ā—¦ (^) Select a representative, statistically significant sample of people; provide motivation for responding ā—¦ (^) Check coverage of questions, of possible answers ā—¦ (^) Make sure questions, answers, formulations are unbiased & unambiguous ā—¦ (^) Add implicitly redundant questions to detect inconsistent answers ā—¦ (^) Have your questionnaire checked by a third party

16

Card sorts

17

Card sorts

Scenarios & storyboards 

Goal: acquire or validate info from concrete

examples through narratives ...

ā—¦ (^) how things are running in the system- as-is ā—¦ (^) how things should be running in the system- to-be

 Storyboard: tells a story by a sequence of snapshots

ā—¦ (^) Snapshot = sentence, sketch, slide, picture, etc. ā—¦ (^) Possibly structured with annotations:  (^) WHO are the players, WHAT happens to them, WHY this happens, WHAT IF this does / does not happen, etc ā—¦ (^) Passive mode (for validation): stakeholders are told the story ā—¦ (^) Active mode (for joint exploration): stakeholders contribute

Scenarios  (^) Illustrate typical sequences of interaction among system components to meet an implicit objective  (^) Widely used for... ā—¦ (^) explanation of system- as-is ā—¦ (^) exploration of system- to-be + elicitation of further info ... e.g. WHY this interaction sequence? WHY among these components? ā—¦ (^) specification of acceptance test cases  Represented by text or diagram