Software Requirements and Its Types
Software Requirements and Its Types
Software Requirements and Its Types
Engineering
1
Introduction
2
Software Requirements
Lecture # 1
3
Requirement
4
Ripple
effect
Why do we need
RE?
Software Requirements - 1
7
Software Requirements - 2
8
Software Requirements - 3
9
Software Requirements - 4
10
IEEE Definition
11
Sources of Requirements
• Stakeholders
– People affected in some way by
the system
• Documents
• Existing system
• Domain/business area
12
Levels of Software
Requirements
• Stakeholders describe requirements at
different levels of detail
– “What versus How”
– “One person’s floor is another person’s
ceiling”
13
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
14
Examples of Requirements - 1
15
Examples of Requirements - 2
16
Examples of Requirements - 3
18
Examples of Requirements - 5
19
Kinds of Software Requirements
20
Kinds of Software Requirements
• Functional requirements
• Non-functional requirements
• Domain requirements
• Inverse requirements
• Design and implementation constraints
21
Functional Requirements
22
Functional Requirements - 1
23
Functional Requirements - 2
24
Functional Requirements - 3
26
Functional Requirements Example
#1
x = (-b+sqrt(b2 – 4*a*c))/2*a
27
Functional Requirements Example # 2
28
Functional Requirements Example # 3
29
Functional Requirements Example # 4
30
Functional Requirements Example # 5
31
Comments on Examples
32
Comments on Examples
33
Comments on Examples
x = (-b+sqrt(b – 2
4*a*c))/2*a 34
Comments on Examples
35
Summary
36
References