Professional Documents
Culture Documents
CH 7 Requirements Engineering Processes
CH 7 Requirements Engineering Processes
Haya Sammaneh
1
Objectives
2
Topics covered
Feasibility studies
Requirements elicitation and analysis
Requirements validation
Requirements management
3
Requirements Engineering processes
The processes used for RE vary widely depending on the
application domain, the people involved and the
organization developing the requirements
Requirements validation
Requirements management
4
The requirements engineering process
Feasibility Requirements
study elicitation and
analysis
Requir ements
specification
Feasibility Requirements
report validation
System
models
User and system
requirements
Requirements
document
5
The Spiral model of requirements
engineering Process
Requirements
specification
System requirements
specification and
modeling
User requirements
specification
Business requirements
specification
System
requirements Feasibility
User study
elicitation requirements
elicitation
Prototyping
Requirements
elicitation Requirements
Reviews
validation
Syst em requirements 6
document
Feasibility studies 7.1
A feasibility study decides whether or not the proposed
system is worthwhile
9
Problems of requirements analysis
Stakeholders don’t know what they really want
Domain
Prioritization
understanding
Process
entry
Requirements Conflict
collection resolution
Classification
11
The requirements Analysis Spiral
12
requirements analysis Process
(activities)
Requirements collection, interact with stakeholders, domain requirements
(understanding).
13
Requirements discovery 7.2.1
(Viewpoints, interview , scenario, use case)
14
a. Viewpoint-oriented approach
Stakeholders represent different ways of looking
at a problem
16
Auto-teller viewpoints
Bank customers
Representatives of other banks: allow other
ATM to be used
Hardware and software maintenance engineers
Marketing department
Communications engineers
Personnel department
18
LIBSYS viewpoint hierarchy
All VPs
System
Students Staff External Cataloguers
managers
19
Viewpoint process model
Viewpoint identification: discover viewpoints which
receive system services and identify the services
provided to each viewpoint using:
20
Viewpoint process model, cont
Viewpoint structuring, group related viewpoints
into a hierarchy. Common services are provided
at higher-levels in the hierarchy
21
Viewpoint identification
Query Get Customer Cash Transaction
balance transactions database withdrawal log
22
b. Interviewing
In formal or informal interviewing, the RE
team puts questions to stakeholders about
the system.
23
Interviews in practice
24
Effective interviewers
Interviewers should be open-minded, willing to
listen to stakeholders and should not have pre-
ideas about the requirements.
25
c. Scenarios
26
:Scenario include
description of the system state at the
beginning of the scenario
Normal flow of events in the scenario
What can go wrong and how this is handled
Other concurrent activities
description of the System state on completion
of the scenario
27
Event scenarios
Event scenarios may be used to describe how a
system responds to the occurrence of some particular
event such as ‘start transaction’
28
…Event scenarios, cont
The diagrammatic notations used in event
scenarios are:
Data provided and delivered from/to a
viewpoint is shown in ellipses.
Control information, enter and leave at the
top of each box.
Exception processing, shown at the
bottom of the box.
Name of the next expected event is shown
in a shaded box
29
Event scenario - start transaction
Card present
Valid card
Card User OK
Request PIN
PIN
Account Validate user Account
number number Select
PIN service
Timeout
Re-enter PIN
Invalid card
Return card
Incorrect PIN
Retain card
30
Exception description
31
c. Use cases
Use-cases are a scenario based technique for
requirement elicitation in the UML notations that used
in object-oriented system model (Unified Modelling
Language) which identify the actors in an interaction
and which describe the interaction itself
A set of use cases should describe all possible
interactions with the system
32
..Use cases, cont
The sequence diagram (ch 6) is used to add
information to use-case.
33
.Library system , example
Interaction for downloading and printing
article.
Objects used in this interaction are:
1. Article
2. Form
3. workspace
4. printer
34
Lending use-case
Lending services
35
use-cases for Library system
Lending services
Library
User
User administration
Library
Staff
User
request
request
complete
return
copyright OK
deliver
article OK
print send
inform confirm
delete
37
Requirements validation 7.3
Concerned with demonstrating that the requirements
define the system that the customer really wants
38
Requirements checking (types of checks
should be carried out on requirements)
Validity. Does the system provide the functions which best
support the customer’s needs?
Consistency. Are there any requirements conflicts?
Completeness. Are all functions required by the customer
included?
Realism. Can the requirements be implemented given
available budget and technology
Verifiability. Can the requirements be checked? In order to
reduce potential dispute عBزاBB نbetween customers.
Should be write a set of test that can be demonstrate that
the delivered system meet each specified requirements.
39
Requirements validation techniques
Requirements reviews, systematic manual analysis of the
requirements
45
Classification of Volatile requirements
47
Requirements management planning 7.4.2
49
Traceability
Traceability is concerned with the relationships between
requirements, their sources and relationships between
requirements and the system design
51
Requirements change management 7.4.3
process
53
Key points
Social and organisation factors influence system
requirements