SlideShare une entreprise Scribd logo
1  sur  41
1
Software Requirements
Specification
2
Software Requirements Specification: A Contract
Document
Requirements document is a reference
document.
SRS document is a contract between the
development team and the customer.
– Once the SRS document is approved by the
customer,
• any subsequent controversies are settled by
referring the SRS document.
3
SW Requirements Specification
Purpose of SRS
– communication between the Customer, Analyst,
system developers, maintainers, ...
– contract between Purchaser and Supplier
– firm foundation for the design phase
– support system testing activities
– support project management and control
– controlling the evolution of the system
4
SRS Document (CONT.)
 The SRS document is known as black-box
specification:
– the system is considered as a black box whose
internal details are not known.
– only its visible external (i.e. input/output) behavior
is documented.
S
Input Data Output Data
5
SRS Document (CONT.)
SRS document concentrates on:
– what needs to be done
– carefully avoids the solution (“how to do”)
aspects.
The SRS document serves as a contract
– between development team and the customer.
– Should be carefully written
6
SRS Document (CONT.)
The requirements at this stage:
– written using end-user terminology.
If necessary:
– later a formal requirement specification
may be developed from it.
7
Software Requirements
Specification (SRS)
 Defines the customer’s requirements in terms of :
– Function
– Performance
– External interfaces
– Design constraints
 The SRS is the basis of contract between the
purchaser and supplier
8
Specification Principles
Separate functionality from implementation
Develop model of desired behavior of the system
Establish the context in which s/w operates
Define the environment in which system operates
Create a cognitive model
Specifications must be tolerant of incompleteness
& augmentable
Content & structure of a specifications should be
amenable to change
9
What is not included in an SRS ?
 Project requirements
– cost, delivery schedules, staffing, reporting
procedures
 Design solutions
– partitioning of SW into modules, choosing data
structures
 Product assurance plans
– Quality Assurance procedures, Configuration
Management procedures, Verification &
Validation procedures
10
Benefits of SRS
 Forces the users to consider their specific
requirements carefully
 Enhances communication between the Purchaser
and System developers
 Provides a firm foundation for the system design
phase
 Enables planning of validation, verification, and
acceptance procedures
 Enables project planning eg. estimates of cost and
time, resource scheduling
 Usable during maintenance phase
11
Types of Requirements
Functional requirements
Non functional requirements
– Performance requirements
– Interface requirements
– Design constraints
– Other requirements
12
Functional Requirements
Transformations (inputs, processing, outputs)
Requirements for sequencing and parallelism
(dynamic requirements)
Data
– Inputs and Outputs
– Stored data
– Transient data
Exception handling
Nature of function: Mandatory/ Desirable/
Optional / Volatile / Stable
13
Performance Requirements
 Capacity
– no. of simultaneous users, processing
requirements for normal and peak loads, static
storage capacity, spare capacity
 Response time
 System priorities for users and functions
 System efficiency
 Availability
 Fault recovery
 All these requirements should be stated in
measurable terms so that they can be verified.
14
Verifiable
A requirement is verifiable if and only if
there exists some finite cost effective
process with which a person or machine can
check that the SW meets the requirement.
15
External Interface Requirements
User interfaces
– eg. if display terminal used, specify required
screen formats, menus, report layouts, function
keys
Hardware interfaces
– characteristics of the interface between the SW
product and HW components of the system
Software interfaces
– specify the use of other SW products eg. OS,
DBMS, other SW packages
16
Design Constraints
SW design constraints
– standards for design, coding, naming, etc.
– SW interfaces (to OS, DBMS, other SW)
– use a specific application package
– constraints on program size, data size etc.
HW design constraints
– specific type of HW, reliability requirements
– HW interfaces
– requirements for spare capacity or spare
performance
17
Design Constraints (contd)
User-interface design constraints
– features of operator/user with details of
working environment
– any special features required
18
Other Requirements
Security
Safety
Environmental
Reusability
Training
...
19
SRS Standards
ANSI/IEEE SRS Standard 830-1984
BS 6719: 1986
European Space Agency Standards
(ESA PSS-05-0, Jan 1987)
US DoD-Std-7935A
...
20
SRS Prototype Outline
[ IEEE SRS Standard ]
1. Introduction
1.1 Purpose
1.2 Scope
1.3 Definitions, Acronyms and Abbreviations
1.4 References
1.5 Overview
21
Purpose
– delineate the purpose of the particular SRS
– specify the intended audience for the SRS
Scope
– identify the SW products to be produced by name
– explain what the SW product will do, and if
necessary, what it will not do
– describe the application of the SW being specified. ie.
benefits, objectives, goals as precisely as possible
Overview
– describe what the rest of the SRS contains
– how the SRS is organized
SRS - Introduction Section
22
SRS Prototype Outline
[ IEEE SRS Standard ]
2. General description
2.1 Product perspective
2.2 Product function summary
2.3 User characteristics
2.4 General constraints
2.5 Assumptions and dependencies
23
Product Perspective
 State whether the product is independent and totally
self contained
 If the product is component of a larger system then:
– describe the functions of each component of the
larger system and identify interfaces
– overview of the principal external interfaces of this
product
– overview of HW and peripheral equipment to be
used
 Give a block diagram showing the major components
of the product, interconnections, and external
interfaces.
24
Product Functions
 Provide a summary of functions the SW will
perform
 The functions should be organized in such a way
that they are understandable by the user
User Characteristics
 Describe the general characteristics of the eventual
users of the product. (such as educational level,
experience and technical expertise )
25
General Constraints
 Regulatory policies
 HW limitations
 Interfaces to other applications
 Parallel operation
 Audit functions
 Control functions
 Criticality of the application
 Safety and security considerations
26
SRS Prototype Outline
[ IEEE SRS Standard ]
3. Specific Requirements
- Functional requirements
- External interface requirements
- Performance requirements
- Design constraints
- Attributes eg. security, availability,
maintainability, transferability/conversion
- Other requirements
Appendices
Index
27
Functional Requirements
Introduction
– describe purpose of the function and the
approaches and techniques employed
Inputs and Outputs
– sources of inputs and destination of outputs
– quantities, units of measure, ranges of valid
inputs and outputs
– timing
28
Functional Requirements
Processing
– validation of input data
– exact sequence of operations
– responses to abnormal situations
– any methods (eg. equations, algorithms) to be
used to transform inputs to outputs
29
External Interface Requirements
 User interfaces
 Hardware interfaces
 Software interfaces
 Communications interfaces
 Other requirements
– database: frequency of use, accessing capabilities,
static and dynamic organization, retention
requirements for data
– operations: periods of interactive and unattended
operations, backup, recovery operations
– site adaptation requirements
30
Appendices
Not always necessary
It may include:
– sample I/O formats
– DFD, ERD documents
– results of user surveys, cost analysis studies
– supporting documents to help readers of SRS
31
Characteristics of a Good SRS
 Unambiguous
 Complete
 Verifiable
 Consistent
 Modifiable
 Traceable
 Usable during the Operation and
Maintenance phase
32
Examples of Requirements statements
Ambiguous
Non-verifiable
Non-verifiable
 Non-verifiable
 Verifiable
 The data set will contain an end of
file character.
 The product should have a good
human interface.
 The program shall never enter an
infinite loop.
 The output of the program shall
usually be given within 10 secs.
 The output of a program shall be
given within 20secs of event X 60%
of the time.
33
Examples of Bad SRS
Documents
Unstructured Specifications:
– Narrative essay --- one of the worst types of
specification document:
• Difficult to change,
• difficult to be precise,
• difficult to be unambiguous,
• scope for contradictions, etc.
34
Examples of Bad SRS
Documents
Noise:
– Presence of text containing information irrelevant to the
problem.
Silence:
– aspects important to proper solution of the problem are
omitted.
35
Examples of Bad SRS
Documents
Overspecification:
– Addressing “how to” aspects
– For example, “Library member names should be
stored in a sorted descending order”
– Overspecification restricts the solution space for the
designer.
Contradictions:
– Contradictions might arise
• if the same thing described at several places in different
ways.
36
Examples of Bad SRS
Documents
Ambiguity:
– Literary expressions
– Unquantifiable aspects, e.g. “good user
interface”
Forward References:
– References to aspects of problem
• defined only later on in the text.
Wishful Thinking:
– Descriptions of aspects
• for which realistic solutions will be hard to find.
37
Complete
 All significant requirements are included
 Definition of responses of the SW to all realizable
classes of input data in all situations.
 Conformity to a standard
 Full labeling and referencing of all figures, tables
etc. and definition of all terms and units of measure
38
Verifiable
A requirement is verifiable if and only if
there exists some finite cost effective
process with which a person or machine can
check that the SW meets the requirement.
Consistent
No two requirements are in conflict
39
Modifiable
 Structure and style of SRS is such that changes to
requirements can be made easily, completely and
consistently.
– SRS organisation -- table of contents, index,
explicit cross-referencing
– no redundancy
40
Traceable
An SRS is traceable if the origin of each
requirement is clear and it facilitates the
referencing of each requirement in future.
Backward traceability
– requirement explicitly referencing its source in
previous documents
Foward traceability
– each requirement has a unique name or
reference number and it can be traced to design
documents, program implementation.
41
SRS Review
Formal Review done by Users, Developers,
Managers, Operations personnel
To verify that SRS confirms to the actual
user requirements
To detect defects early and correct them.
Review typically done using checklists.

Contenu connexe

Tendances

ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
 ppt on sOFTWARE DEVELOPMENT LIFE CYCLE ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
ppt on sOFTWARE DEVELOPMENT LIFE CYCLESwarnima Tiwari
 
Software Requirement Specification
Software Requirement SpecificationSoftware Requirement Specification
Software Requirement SpecificationVishal Singh
 
SRS(software requirement specification)
SRS(software requirement specification)SRS(software requirement specification)
SRS(software requirement specification)Akash Kumar Dhameja
 
Software requirements engineering lecture 01
Software requirements engineering   lecture 01Software requirements engineering   lecture 01
Software requirements engineering lecture 01Abdul Basit
 
Requirements analysis
Requirements analysisRequirements analysis
Requirements analysisasimnawaz54
 
Software requirements specification
Software requirements specificationSoftware requirements specification
Software requirements specificationlavanya marichamy
 
Software project management
Software project managementSoftware project management
Software project managementR A Akerkar
 
software requirement specification
software requirement specificationsoftware requirement specification
software requirement specificationmaliksiddique1
 
Quality and productivity factors
Quality and productivity factorsQuality and productivity factors
Quality and productivity factorsNancyBeaulah_R
 
Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9koolkampus
 
software cost factor
software cost factorsoftware cost factor
software cost factorAbinaya B
 
Software requirement engineering
Software requirement engineeringSoftware requirement engineering
Software requirement engineeringSyed Zaid Irshad
 
Requirement and Specification
Requirement and SpecificationRequirement and Specification
Requirement and Specificationsarojsaroza
 
Software requirements specification (srs) by Dan Dharma
Software requirements specification (srs) by  Dan DharmaSoftware requirements specification (srs) by  Dan Dharma
Software requirements specification (srs) by Dan DharmaAvudaiappan Dharma Ph.D.,
 
Software Cost Estimation Techniques
Software Cost Estimation TechniquesSoftware Cost Estimation Techniques
Software Cost Estimation TechniquesSanthi thi
 

Tendances (20)

6. software requirements
6. software requirements6. software requirements
6. software requirements
 
ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
 ppt on sOFTWARE DEVELOPMENT LIFE CYCLE ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
 
Requirements Engineering
Requirements EngineeringRequirements Engineering
Requirements Engineering
 
Software Requirement Specification
Software Requirement SpecificationSoftware Requirement Specification
Software Requirement Specification
 
SRS(software requirement specification)
SRS(software requirement specification)SRS(software requirement specification)
SRS(software requirement specification)
 
Software requirements engineering lecture 01
Software requirements engineering   lecture 01Software requirements engineering   lecture 01
Software requirements engineering lecture 01
 
Requirements analysis
Requirements analysisRequirements analysis
Requirements analysis
 
Software requirements specification
Software requirements specificationSoftware requirements specification
Software requirements specification
 
Software project management
Software project managementSoftware project management
Software project management
 
software requirement specification
software requirement specificationsoftware requirement specification
software requirement specification
 
Algorithmic Software Cost Modeling
Algorithmic Software Cost ModelingAlgorithmic Software Cost Modeling
Algorithmic Software Cost Modeling
 
Quality and productivity factors
Quality and productivity factorsQuality and productivity factors
Quality and productivity factors
 
Unit 2
Unit 2Unit 2
Unit 2
 
Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9
 
Requirements engineering
Requirements engineeringRequirements engineering
Requirements engineering
 
software cost factor
software cost factorsoftware cost factor
software cost factor
 
Software requirement engineering
Software requirement engineeringSoftware requirement engineering
Software requirement engineering
 
Requirement and Specification
Requirement and SpecificationRequirement and Specification
Requirement and Specification
 
Software requirements specification (srs) by Dan Dharma
Software requirements specification (srs) by  Dan DharmaSoftware requirements specification (srs) by  Dan Dharma
Software requirements specification (srs) by Dan Dharma
 
Software Cost Estimation Techniques
Software Cost Estimation TechniquesSoftware Cost Estimation Techniques
Software Cost Estimation Techniques
 

En vedette

Software requirements specification
Software  requirements specificationSoftware  requirements specification
Software requirements specificationKrishnasai Gudavalli
 
SRS on Online Blood Bank Managment system...
SRS on Online Blood Bank Managment system... SRS on Online Blood Bank Managment system...
SRS on Online Blood Bank Managment system... GCWUF
 
Software requirement specification
Software requirement specificationSoftware requirement specification
Software requirement specificationAmit Gandhi
 
Software requirements specification of Library Management System
Software requirements specification of Library Management SystemSoftware requirements specification of Library Management System
Software requirements specification of Library Management SystemSoumili Sen
 
2.software requirement specification
2.software requirement specification2.software requirement specification
2.software requirement specificationDeepak Sharma
 
Project Plan And Srs Final
Project Plan And Srs FinalProject Plan And Srs Final
Project Plan And Srs Finalguest24783f
 
srs for railway reservation system
 srs for railway reservation system srs for railway reservation system
srs for railway reservation systemkhushi kalaria
 
Leave Management System: Software Requirements Specification Document(SRS)
Leave Management System: Software Requirements Specification Document(SRS) Leave Management System: Software Requirements Specification Document(SRS)
Leave Management System: Software Requirements Specification Document(SRS) Abhilasha Lahigude
 
Example requirements specification
Example requirements specificationExample requirements specification
Example requirements specificationindrisrozas
 
Software requirements Specification
Software requirements SpecificationSoftware requirements Specification
Software requirements SpecificationPreshan Pradeepa
 
SRS on online auction system
SRS on online auction systemSRS on online auction system
SRS on online auction systemsagar_paperwala
 
SRS for student database management system
SRS for student database management systemSRS for student database management system
SRS for student database management systemSuman Saurabh
 
SRS for Hospital Management System
SRS for Hospital Management SystemSRS for Hospital Management System
SRS for Hospital Management Systemkataria Arvind
 
Payroll Management System SRS
Payroll Management System SRSPayroll Management System SRS
Payroll Management System SRSShubham Modi
 
Textile industry topco (after edited) 141012
Textile industry topco (after edited) 141012Textile industry topco (after edited) 141012
Textile industry topco (after edited) 141012Anton Cheng
 
Writing software requirement document
Writing software requirement documentWriting software requirement document
Writing software requirement documentSunita Sahu
 
Software Requirement Specification Master Template
Software Requirement Specification Master TemplateSoftware Requirement Specification Master Template
Software Requirement Specification Master TemplateWayne Chen
 
Aloha Social Networking Portal - SRS
Aloha Social Networking Portal - SRSAloha Social Networking Portal - SRS
Aloha Social Networking Portal - SRSMilind Gokhale
 

En vedette (20)

Software requirements specification
Software  requirements specificationSoftware  requirements specification
Software requirements specification
 
SRS on Online Blood Bank Managment system...
SRS on Online Blood Bank Managment system... SRS on Online Blood Bank Managment system...
SRS on Online Blood Bank Managment system...
 
Software requirement specification
Software requirement specificationSoftware requirement specification
Software requirement specification
 
Software requirements specification of Library Management System
Software requirements specification of Library Management SystemSoftware requirements specification of Library Management System
Software requirements specification of Library Management System
 
Software Requirement Specification
Software Requirement SpecificationSoftware Requirement Specification
Software Requirement Specification
 
2.software requirement specification
2.software requirement specification2.software requirement specification
2.software requirement specification
 
Project Plan And Srs Final
Project Plan And Srs FinalProject Plan And Srs Final
Project Plan And Srs Final
 
srs for railway reservation system
 srs for railway reservation system srs for railway reservation system
srs for railway reservation system
 
SRS Slide
SRS SlideSRS Slide
SRS Slide
 
Leave Management System: Software Requirements Specification Document(SRS)
Leave Management System: Software Requirements Specification Document(SRS) Leave Management System: Software Requirements Specification Document(SRS)
Leave Management System: Software Requirements Specification Document(SRS)
 
Example requirements specification
Example requirements specificationExample requirements specification
Example requirements specification
 
Software requirements Specification
Software requirements SpecificationSoftware requirements Specification
Software requirements Specification
 
SRS on online auction system
SRS on online auction systemSRS on online auction system
SRS on online auction system
 
SRS for student database management system
SRS for student database management systemSRS for student database management system
SRS for student database management system
 
SRS for Hospital Management System
SRS for Hospital Management SystemSRS for Hospital Management System
SRS for Hospital Management System
 
Payroll Management System SRS
Payroll Management System SRSPayroll Management System SRS
Payroll Management System SRS
 
Textile industry topco (after edited) 141012
Textile industry topco (after edited) 141012Textile industry topco (after edited) 141012
Textile industry topco (after edited) 141012
 
Writing software requirement document
Writing software requirement documentWriting software requirement document
Writing software requirement document
 
Software Requirement Specification Master Template
Software Requirement Specification Master TemplateSoftware Requirement Specification Master Template
Software Requirement Specification Master Template
 
Aloha Social Networking Portal - SRS
Aloha Social Networking Portal - SRSAloha Social Networking Portal - SRS
Aloha Social Networking Portal - SRS
 

Similaire à Software Requirements Specification Guide

Sofyware Engineering
Sofyware EngineeringSofyware Engineering
Sofyware EngineeringAmberSinghal1
 
Sw Requirements Engineering
Sw Requirements EngineeringSw Requirements Engineering
Sw Requirements Engineeringjonathan077070
 
L02_RequirementEngineering.ppsx
L02_RequirementEngineering.ppsxL02_RequirementEngineering.ppsx
L02_RequirementEngineering.ppsxVijayAgrahari3
 
SPM lecture2 Requirements Management and Identification
SPM lecture2 Requirements Management and IdentificationSPM lecture2 Requirements Management and Identification
SPM lecture2 Requirements Management and IdentificationGarm Lucassen
 
Se lect11 btech
Se lect11 btechSe lect11 btech
Se lect11 btechIIITA
 
INTRODUCTION to software engineering requirements specifications
INTRODUCTION to software engineering requirements specificationsINTRODUCTION to software engineering requirements specifications
INTRODUCTION to software engineering requirements specificationskylan2
 
Software Requirements
Software RequirementsSoftware Requirements
Software RequirementsBala Ganesh
 
CS8494 SOFTWARE ENGINEERING Unit-2
CS8494 SOFTWARE ENGINEERING Unit-2CS8494 SOFTWARE ENGINEERING Unit-2
CS8494 SOFTWARE ENGINEERING Unit-2SIMONTHOMAS S
 
Software development PROCESS
Software development PROCESSSoftware development PROCESS
Software development PROCESSIvano Malavolta
 
Beit 381 se lec 15 - 16 - 12 mar27 - req engg 1 of 3
Beit 381 se lec 15 - 16 -  12 mar27 - req engg 1 of 3Beit 381 se lec 15 - 16 -  12 mar27 - req engg 1 of 3
Beit 381 se lec 15 - 16 - 12 mar27 - req engg 1 of 3babak danyal
 
Chapter 2 SRS_241222135554.ppt
Chapter 2 SRS_241222135554.pptChapter 2 SRS_241222135554.ppt
Chapter 2 SRS_241222135554.pptHaviQueen
 
2nd MODULE Software Requirements _ SW ENGG 22CSE141.pdf
2nd MODULE  Software Requirements   _ SW ENGG  22CSE141.pdf2nd MODULE  Software Requirements   _ SW ENGG  22CSE141.pdf
2nd MODULE Software Requirements _ SW ENGG 22CSE141.pdfJayanthi Kannan MK
 
W4 lecture 7&8 - requirements gathering
W4 lecture 7&8 - requirements gatheringW4 lecture 7&8 - requirements gathering
W4 lecture 7&8 - requirements gatheringFareeha Iftikhar
 
Verifying and Validating Requirements
Verifying and Validating RequirementsVerifying and Validating Requirements
Verifying and Validating RequirementsRavikanth-BA
 
Requirements Engineering - "Ch2 an introduction to requirements"
Requirements Engineering - "Ch2 an introduction to requirements"Requirements Engineering - "Ch2 an introduction to requirements"
Requirements Engineering - "Ch2 an introduction to requirements"Ra'Fat Al-Msie'deen
 
Lecture 2 & 3.pptx
Lecture 2 & 3.pptxLecture 2 & 3.pptx
Lecture 2 & 3.pptxRaoShahid10
 

Similaire à Software Requirements Specification Guide (20)

Sofyware Engineering
Sofyware EngineeringSofyware Engineering
Sofyware Engineering
 
Sw Requirements Engineering
Sw Requirements EngineeringSw Requirements Engineering
Sw Requirements Engineering
 
L02_RequirementEngineering.ppsx
L02_RequirementEngineering.ppsxL02_RequirementEngineering.ppsx
L02_RequirementEngineering.ppsx
 
SPM lecture2 Requirements Management and Identification
SPM lecture2 Requirements Management and IdentificationSPM lecture2 Requirements Management and Identification
SPM lecture2 Requirements Management and Identification
 
Se lect11 btech
Se lect11 btechSe lect11 btech
Se lect11 btech
 
INTRODUCTION to software engineering requirements specifications
INTRODUCTION to software engineering requirements specificationsINTRODUCTION to software engineering requirements specifications
INTRODUCTION to software engineering requirements specifications
 
Soft requirement
Soft requirementSoft requirement
Soft requirement
 
Software Requirements
Software RequirementsSoftware Requirements
Software Requirements
 
Software Engineering .pdf
Software Engineering .pdfSoftware Engineering .pdf
Software Engineering .pdf
 
SE UNIT 2.pdf
SE UNIT 2.pdfSE UNIT 2.pdf
SE UNIT 2.pdf
 
CS8494 SOFTWARE ENGINEERING Unit-2
CS8494 SOFTWARE ENGINEERING Unit-2CS8494 SOFTWARE ENGINEERING Unit-2
CS8494 SOFTWARE ENGINEERING Unit-2
 
Software development PROCESS
Software development PROCESSSoftware development PROCESS
Software development PROCESS
 
Beit 381 se lec 15 - 16 - 12 mar27 - req engg 1 of 3
Beit 381 se lec 15 - 16 -  12 mar27 - req engg 1 of 3Beit 381 se lec 15 - 16 -  12 mar27 - req engg 1 of 3
Beit 381 se lec 15 - 16 - 12 mar27 - req engg 1 of 3
 
Chapter 2 SRS_241222135554.ppt
Chapter 2 SRS_241222135554.pptChapter 2 SRS_241222135554.ppt
Chapter 2 SRS_241222135554.ppt
 
2nd MODULE Software Requirements _ SW ENGG 22CSE141.pdf
2nd MODULE  Software Requirements   _ SW ENGG  22CSE141.pdf2nd MODULE  Software Requirements   _ SW ENGG  22CSE141.pdf
2nd MODULE Software Requirements _ SW ENGG 22CSE141.pdf
 
W4 lecture 7&8 - requirements gathering
W4 lecture 7&8 - requirements gatheringW4 lecture 7&8 - requirements gathering
W4 lecture 7&8 - requirements gathering
 
Verifying and Validating Requirements
Verifying and Validating RequirementsVerifying and Validating Requirements
Verifying and Validating Requirements
 
Requirements Engineering - "Ch2 an introduction to requirements"
Requirements Engineering - "Ch2 an introduction to requirements"Requirements Engineering - "Ch2 an introduction to requirements"
Requirements Engineering - "Ch2 an introduction to requirements"
 
TSO.ppt
TSO.pptTSO.ppt
TSO.ppt
 
Lecture 2 & 3.pptx
Lecture 2 & 3.pptxLecture 2 & 3.pptx
Lecture 2 & 3.pptx
 

Dernier

Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleCeline George
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptxJonalynLegaspi2
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 

Dernier (20)

Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP Module
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptx
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 

Software Requirements Specification Guide

  • 2. 2 Software Requirements Specification: A Contract Document Requirements document is a reference document. SRS document is a contract between the development team and the customer. – Once the SRS document is approved by the customer, • any subsequent controversies are settled by referring the SRS document.
  • 3. 3 SW Requirements Specification Purpose of SRS – communication between the Customer, Analyst, system developers, maintainers, ... – contract between Purchaser and Supplier – firm foundation for the design phase – support system testing activities – support project management and control – controlling the evolution of the system
  • 4. 4 SRS Document (CONT.)  The SRS document is known as black-box specification: – the system is considered as a black box whose internal details are not known. – only its visible external (i.e. input/output) behavior is documented. S Input Data Output Data
  • 5. 5 SRS Document (CONT.) SRS document concentrates on: – what needs to be done – carefully avoids the solution (“how to do”) aspects. The SRS document serves as a contract – between development team and the customer. – Should be carefully written
  • 6. 6 SRS Document (CONT.) The requirements at this stage: – written using end-user terminology. If necessary: – later a formal requirement specification may be developed from it.
  • 7. 7 Software Requirements Specification (SRS)  Defines the customer’s requirements in terms of : – Function – Performance – External interfaces – Design constraints  The SRS is the basis of contract between the purchaser and supplier
  • 8. 8 Specification Principles Separate functionality from implementation Develop model of desired behavior of the system Establish the context in which s/w operates Define the environment in which system operates Create a cognitive model Specifications must be tolerant of incompleteness & augmentable Content & structure of a specifications should be amenable to change
  • 9. 9 What is not included in an SRS ?  Project requirements – cost, delivery schedules, staffing, reporting procedures  Design solutions – partitioning of SW into modules, choosing data structures  Product assurance plans – Quality Assurance procedures, Configuration Management procedures, Verification & Validation procedures
  • 10. 10 Benefits of SRS  Forces the users to consider their specific requirements carefully  Enhances communication between the Purchaser and System developers  Provides a firm foundation for the system design phase  Enables planning of validation, verification, and acceptance procedures  Enables project planning eg. estimates of cost and time, resource scheduling  Usable during maintenance phase
  • 11. 11 Types of Requirements Functional requirements Non functional requirements – Performance requirements – Interface requirements – Design constraints – Other requirements
  • 12. 12 Functional Requirements Transformations (inputs, processing, outputs) Requirements for sequencing and parallelism (dynamic requirements) Data – Inputs and Outputs – Stored data – Transient data Exception handling Nature of function: Mandatory/ Desirable/ Optional / Volatile / Stable
  • 13. 13 Performance Requirements  Capacity – no. of simultaneous users, processing requirements for normal and peak loads, static storage capacity, spare capacity  Response time  System priorities for users and functions  System efficiency  Availability  Fault recovery  All these requirements should be stated in measurable terms so that they can be verified.
  • 14. 14 Verifiable A requirement is verifiable if and only if there exists some finite cost effective process with which a person or machine can check that the SW meets the requirement.
  • 15. 15 External Interface Requirements User interfaces – eg. if display terminal used, specify required screen formats, menus, report layouts, function keys Hardware interfaces – characteristics of the interface between the SW product and HW components of the system Software interfaces – specify the use of other SW products eg. OS, DBMS, other SW packages
  • 16. 16 Design Constraints SW design constraints – standards for design, coding, naming, etc. – SW interfaces (to OS, DBMS, other SW) – use a specific application package – constraints on program size, data size etc. HW design constraints – specific type of HW, reliability requirements – HW interfaces – requirements for spare capacity or spare performance
  • 17. 17 Design Constraints (contd) User-interface design constraints – features of operator/user with details of working environment – any special features required
  • 19. 19 SRS Standards ANSI/IEEE SRS Standard 830-1984 BS 6719: 1986 European Space Agency Standards (ESA PSS-05-0, Jan 1987) US DoD-Std-7935A ...
  • 20. 20 SRS Prototype Outline [ IEEE SRS Standard ] 1. Introduction 1.1 Purpose 1.2 Scope 1.3 Definitions, Acronyms and Abbreviations 1.4 References 1.5 Overview
  • 21. 21 Purpose – delineate the purpose of the particular SRS – specify the intended audience for the SRS Scope – identify the SW products to be produced by name – explain what the SW product will do, and if necessary, what it will not do – describe the application of the SW being specified. ie. benefits, objectives, goals as precisely as possible Overview – describe what the rest of the SRS contains – how the SRS is organized SRS - Introduction Section
  • 22. 22 SRS Prototype Outline [ IEEE SRS Standard ] 2. General description 2.1 Product perspective 2.2 Product function summary 2.3 User characteristics 2.4 General constraints 2.5 Assumptions and dependencies
  • 23. 23 Product Perspective  State whether the product is independent and totally self contained  If the product is component of a larger system then: – describe the functions of each component of the larger system and identify interfaces – overview of the principal external interfaces of this product – overview of HW and peripheral equipment to be used  Give a block diagram showing the major components of the product, interconnections, and external interfaces.
  • 24. 24 Product Functions  Provide a summary of functions the SW will perform  The functions should be organized in such a way that they are understandable by the user User Characteristics  Describe the general characteristics of the eventual users of the product. (such as educational level, experience and technical expertise )
  • 25. 25 General Constraints  Regulatory policies  HW limitations  Interfaces to other applications  Parallel operation  Audit functions  Control functions  Criticality of the application  Safety and security considerations
  • 26. 26 SRS Prototype Outline [ IEEE SRS Standard ] 3. Specific Requirements - Functional requirements - External interface requirements - Performance requirements - Design constraints - Attributes eg. security, availability, maintainability, transferability/conversion - Other requirements Appendices Index
  • 27. 27 Functional Requirements Introduction – describe purpose of the function and the approaches and techniques employed Inputs and Outputs – sources of inputs and destination of outputs – quantities, units of measure, ranges of valid inputs and outputs – timing
  • 28. 28 Functional Requirements Processing – validation of input data – exact sequence of operations – responses to abnormal situations – any methods (eg. equations, algorithms) to be used to transform inputs to outputs
  • 29. 29 External Interface Requirements  User interfaces  Hardware interfaces  Software interfaces  Communications interfaces  Other requirements – database: frequency of use, accessing capabilities, static and dynamic organization, retention requirements for data – operations: periods of interactive and unattended operations, backup, recovery operations – site adaptation requirements
  • 30. 30 Appendices Not always necessary It may include: – sample I/O formats – DFD, ERD documents – results of user surveys, cost analysis studies – supporting documents to help readers of SRS
  • 31. 31 Characteristics of a Good SRS  Unambiguous  Complete  Verifiable  Consistent  Modifiable  Traceable  Usable during the Operation and Maintenance phase
  • 32. 32 Examples of Requirements statements Ambiguous Non-verifiable Non-verifiable  Non-verifiable  Verifiable  The data set will contain an end of file character.  The product should have a good human interface.  The program shall never enter an infinite loop.  The output of the program shall usually be given within 10 secs.  The output of a program shall be given within 20secs of event X 60% of the time.
  • 33. 33 Examples of Bad SRS Documents Unstructured Specifications: – Narrative essay --- one of the worst types of specification document: • Difficult to change, • difficult to be precise, • difficult to be unambiguous, • scope for contradictions, etc.
  • 34. 34 Examples of Bad SRS Documents Noise: – Presence of text containing information irrelevant to the problem. Silence: – aspects important to proper solution of the problem are omitted.
  • 35. 35 Examples of Bad SRS Documents Overspecification: – Addressing “how to” aspects – For example, “Library member names should be stored in a sorted descending order” – Overspecification restricts the solution space for the designer. Contradictions: – Contradictions might arise • if the same thing described at several places in different ways.
  • 36. 36 Examples of Bad SRS Documents Ambiguity: – Literary expressions – Unquantifiable aspects, e.g. “good user interface” Forward References: – References to aspects of problem • defined only later on in the text. Wishful Thinking: – Descriptions of aspects • for which realistic solutions will be hard to find.
  • 37. 37 Complete  All significant requirements are included  Definition of responses of the SW to all realizable classes of input data in all situations.  Conformity to a standard  Full labeling and referencing of all figures, tables etc. and definition of all terms and units of measure
  • 38. 38 Verifiable A requirement is verifiable if and only if there exists some finite cost effective process with which a person or machine can check that the SW meets the requirement. Consistent No two requirements are in conflict
  • 39. 39 Modifiable  Structure and style of SRS is such that changes to requirements can be made easily, completely and consistently. – SRS organisation -- table of contents, index, explicit cross-referencing – no redundancy
  • 40. 40 Traceable An SRS is traceable if the origin of each requirement is clear and it facilitates the referencing of each requirement in future. Backward traceability – requirement explicitly referencing its source in previous documents Foward traceability – each requirement has a unique name or reference number and it can be traced to design documents, program implementation.
  • 41. 41 SRS Review Formal Review done by Users, Developers, Managers, Operations personnel To verify that SRS confirms to the actual user requirements To detect defects early and correct them. Review typically done using checklists.