Professional Documents
Culture Documents
1
Contents
Introduction
Requirements analysis
Requirements specification
SRS document
Different Sections in SRS
Good & Bad Properties of SRS
Formal Specification
2
Requirements Analysis &
Specification
3
Requirements Analysis & Specification
- activities
1. Requirement Gathering
Collection of all the data regarding the system to be developed
2. Requirement Analysis
Remove all inconsistencies and anomalies from the
requirements
3. Requirement Specification
5
Requirements Gathering (CONT.)
7
Anomaly
Examples
Customer says turn off heater when temperature
is very high
The User interface should be great
8
Inconsistent requirement
Example:
One customer says turn off heater and open water
shower when temperature > 100 C
Another customer says turn off heater and turn ON
cooler when temperature > 100 C
9
Incomplete requirement
Example:
10
3. Software Requirements Specification
11
Software Requirements Specification
13
SRS Document (CONT.)
14
SRS Document (CONT.)
15
Properties of a good SRS doc
It should be concise
At the same time should not be ambiguous
16
It should be traceable
It should be verifiable
Ex. “system should be user friendly” is not verifiable
17
SRS Document (CONT.)
Introduction
Goals Of Implementation
Functional requirements
Non-functional requirements (performance, look-
feel, reusability, security etc..)
Constraints on the system
18
Functional Requirements
20
Non-functional Requirements
Performance Reusability
Portability Reliability
Security Interface
Usability Maintainability etc.
21
Constraints
Ex
H/W, S/W, OS to be used
Standards compliance
How fast the system has to produce results
22
Examples of constraints
Hardware to be used
Standards compliance
Unstructured Specifications:
Narrative essay one of the worst types of
specification document
Noise:
Presence of text containing information
irrelevant to the problem
Silence:
Aspects important to the solution of the problem
are omitted 24
Over-specification:
Addressing “how to” aspects
Over specification restricts the solution space for the
designer
Contradictions:
Contradictions might arise
if the same thing described at several places in
different ways
25
Ambiguity:
Unquantifiable aspects, e.g. “good user interface”
Forward References:
References defined only later on in the text
Wishful Thinking:
Descriptions of aspects
for which realistic solutions will be hard to find
26
Formal Specification
27
Formal Specification
Advantages:
Well-defined semantics, no scope for ambiguity
Disadvantages
Difficult to learn and use
4GLs
Logic-based (Propositional Logic, FOPL)
Finite state machines etc.
29
Executable Specification
Language
32
4GLs
33
Summary
Formal requirements specifications
have several advantages
34
Thank You !!!
35