Software Engineering Lecture 5 Requirement Engineering
Software Engineering Lecture 5 Requirement Engineering
Engineering
(Fall 2018)
Lecture 5
Requirements
Engineering
Process
10/9/2018 CSE291 - Introduction to Software Engineering 2
Outline
• Feasibility studies
• Requirements elicitation and analysis
• Requirements validation
• Requirements management
10/9/2018 CSE291 - Introduction to Software Engineering 3
Requirements Engineering
• Requirements Elicitation
• Requirements Analysis
• Requirements Validation
• Requirements Management
10/9/2018 CSE291 - Introduction to Software Engineering 7
Feasibility Study
• A feasibility study decides whether or not the proposed system
is worth implementing.
Requirements documentation(Specification)
• Requirements are documented.
10/9/2018 CSE291 - Introduction to Software Engineering 12
Requirements Discovery
Effective Interviewers
• Interviewers should be open-minded.
a question or a proposal.
10/9/2018 CSE291 - Introduction to Software Engineering 17
Scenarios
• People usually find it easier to relate to real-life examples
Scenarios
LIBSYS Scenario
Initial assumption: The user has logged on to the LIBSYS system and has located the
journal containing the copy of the article.
Normal: The user selects the article to be copied. He or she is then prompted by the
system to either provide subscriber information for the journal or to indicate how they
will pay for the article. Alternative payment methods are by credit card or by quoting an
organisational account number.
The user is then asked to fill in a copyright form that maintains details of the transaction
and they then submit this to the LIBSYS system.
The copyright form is checked and, if OK, the PDF version of the article is downloaded
to the LIBSYS working area on the user’s computer and the user is informed that it is
available. The user is asked to select a printer and a copy of the article is printed. If the
article has been flagged as ‘print-only’ it is deleted from the user’s system once the user
has confirmed that printing is complete.
10/9/2018 CSE291 - Introduction to Software Engineering 20
LIBSYS Scenario
What can go wrong: The user may fail to fill in the copyright form correctly. In this
case, the form should be re-presented to the user for correction. If the resubmitted form is
still incorrect then the user’s request for the article is rejected.
The payment may be rejected by the system. The user’s request for the article is rejected.
The article download may fail. Retry until successful or the user terminates the session.
It may not be possible to print the article. If the article is not flagged as ‘print-only’ then it
is held in the LIBSYS workspace. Otherwise, the article is deleted and the user’s account
credited with the cost of the article.
Other activities: Simultaneous downloads of other articles.
System state on completion: User is logged on. The downloaded article has been deleted
from LIBSYS workspace if it has been flagged as print-only.
10/9/2018 CSE291 - Introduction to Software Engineering 21
Use Cases
• Use-cases are a scenario based technique for
requirement elicitation
Ethnography
Requirements Validation
Requirements Checking
Checks include
• Requirements reviews:
• Systematic manual analysis of the requirements(by a team of
reviewers) who check for error and inconsisitencies.
• Prototyping:
• Using an executable model of the system to check
requirements.
• Test-case generation:
• Developing tests for requirements to check testability.
10/9/2018 CSE291 - Introduction to Software Engineering 28
Requirements Management
Requirements Evolution
10/9/2018 CSE291 - Introduction to Software Engineering 30
Change Management
10/9/2018 CSE291 - Introduction to Software Engineering 33
Key Points
Key Points
Chapter Reading
• Chapter 4, Requirement Engineering,
Software Engineering by Ian Sommerville