SRE Lab 01
SRE Lab 01
SRE Lab 01
SOFTWARE REQUIREMENT
SPECIFICATION
Experiment 1
Introduction to Requirement Engineering
Purpose:
Objectives:
1. StarUML v2.8.0
2. Microsoft Visio Professional 2016
Requirements:
For example , to have food is a need but to have specific items of our choice is want.
Software Requirement:
A complete description of what the software system will do without describing how it will
do it is represented by the software requirements
Requirement Engineering:
1. requirements elicitation
4. requirements validation.
What: The various levels and types of requirements that need to be defined
Why: The benefits of having the right software requirements
Who: The stakeholders of the software requirements and getting them involved in
the process
When: Requirements activities throughout the software development life cycle
TASK 1:
Consider in the following grocery list example. Identify requirements error in this list.
1. Milk
2. A loaf of bread
3. Orange juice
4. A box of cereal
5. Butter
COMPLETE:
CORRECT:
They accurately reflect the real needs of users and business stakeholders.
CLEAR :
They are understood by all stakeholders without the need for extensive explanation.
CONSISTENT:
RELEVANT:
This may seem obvious, but it is sometimes easy to get off-track and you can end up with
requirements that are not necessary for that particular project. To avoid this, make sure
the requirements meet a business need, goal, or objective.
VERIFIABLE :
The requirement should be doable within existing constraints such as time, money, and
available resources:
AMBIGUOUS:
Note: Verification and Validation is the process of investigating that a software system
satisfies specifications and standards and it fulfills the required purpose.
TASK 2:
Do you find any requirement errors in given statements according to the “Characterstics
of a good User Requirement”. If yes:
Identify the type of error and write corrected version of these statements.
REQ1: On loss of power, the battery backup must support normal operations.
REQ2: The system shall not accept passwords longer than 15 characters.
REQ3: The system shall have a natural language interface that will understand
commands given in English language.
TASK 3:
A requirement that says “Users should be able to move quickly between screens” is not
verifiable. Why?
TASK 4:
What will you end up with when you are asked “to divide 8 in a half”.