lecture-01
lecture-01
Requirements Engineering
Lecture # 1
Requirement
• Stakeholders
• People affected in some way by the system
• Documents
• Existing system
• Domain/business area
Levels of Software
Requirements
• Stakeholders describe requirements at different levels of detail
• “What versus How”
• “One person’s floor is another person’s ceiling”
What Versus How
User needs What
How
Product space What
How
Actual product’s behavior What
How
Architecture/data flow What
How
Module specifications What
How
Algorithms What
How
Code
Assignment 1
q1. what is algorithm
q2. what is coding
q3. what is SDLC
Importance of Software
Requirements
• The hardest single part of building a software system is deciding what
to build...No other part of the work so cripples the resulting system if
done wrong. No other part is difficult to rectify later
• Fred Brooks
Examples of Requirements - 1
• The system shall interface with the central computer to send daily
sales and inventory data from every retail store
Examples of Requirements - 3
• The system shall allow users to search for an item by title, author, or
by International Standard Book Number
• Functional requirements
• Non-functional requirements
• Domain requirements
• Inverse requirements
• Design and implementation constraints
Functional Requirements
Functional Requirements - 1
x = (-b+sqrt(b2 – 4*a*c))/2*a
Functional Requirements Example #
2
• The user shall be able to search either the entire database of patients
or select a subset from it (admitted patients, or patients with
asthma, etc.)
Functional Requirements Example #
3
• The system shall provide appropriate viewers for the user to read
documents in the document store
Functional Requirements Example #
4
• Every order shall be allocated a unique identifier (ORDER_ID) which
the user shall use to access that order
Functional Requirements Example #
5
• The system shall allow customers to return non-perishable items
within fifteen days of the purchase. A customer must present the
original sale receipt to return an item
Comments on Examples
x = (-b+sqrt(b2 – 4*a*c))/2*a
Comments on Examples