Lecture 7 - Requirement Engineering
Lecture 7 - Requirement Engineering
(SPRING 2024)
Lecture 7
Requirements
Engineering
Process
06/11/2024 CSC291- Software Engineering Concepts 2
Objectives
• Feasibility studies
• Requirements elicitation and analysis
• Requirements validation
• Requirements management
06/11/2024 CSC291- Software Engineering Concepts 3
Requirements Engineering
Feasibility Requirements
report validation
System
models
Requirements
document
06/11/2024 CSC291- Software Engineering Concepts 6
Feasibility Study
• A feasibility study decides whether or not the proposed system
is worth implementing.
Requirements documentation(Specification)
• Requirements are documented.
06/11/2024 CSC291- Software Engineering Concepts 11
Scenarios
• People usually find it easier to relate to real-life examples rather than
abstract descriptions.
• Scenarios are real-life examples of how a system can be used.
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.
06/11/2024 CSC291- Software Engineering Concepts 17
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.
06/11/2024 CSC291- Software Engineering Concepts 18
Use Cases
• Use cases are a scenario-based technique for requirement elicitation
• A set of use cases should describe all possible interactions with the
system.
Article search
Ethnography
Prototyping
• Providing stakeholders with prototypes of the system to support the
investigation of possible solutions is an effective way to gather
detailed information and relevant feedback
Elicitation Workshops
• Stay in scope
• Time box discussions
• Keep team small and select appropriate members
• Keep everyone engaged
06/11/2024 CSC291- Software Engineering Concepts 24
Brainstorming
Questionnaires
Questionnaires are mainly used during the early stages of
requirements elicitation and may consist of open and/or
closed questions.
Requirements Validation
Requirements Checking
Checks include
• Requirements reviews:
• Systematic manual analysis of the requirements(by a team of
reviewers) who check for error and inconsistencies.
• Prototyping:
• Using an executable model of the system to check
requirements.
• Test-case generation:
• Developing tests for requirements to check testability.
06/11/2024 CSC291- Software Engineering Concepts 29
Requirements Management
Requirements Evolution
Initial Changed
understanding understanding
of problem of prob lem
Initial Changed
requirements requirements
Time
06/11/2024 CSC291- Software Engineering Concepts 31
Change Management
Identified Revised
problem Problem analysis and Change analysis Change requirements
change specification and costing implementation
06/11/2024 CSC291- Software Engineering Concepts 33
Key Points
Key Points
Chapter Reading
• Chapter 4, Requirement Engineering,
Software Engineering by Ian Sommerville