SlideShare a Scribd company logo
Software Engineering
CS-1251
UNIVERSITY OF SIALKOT
Topic: Requirement Engineering
Recommended Books
Ian, S. 2016. Software Engineering. 10th Ed. Addison Wesley, Boston, MA,
USA.
Gary, B. S., T. J, Cashman and H. J. Rosenblatt. 2017. Systems Analysis and
Design. 9th Ed. Cengage Learning, Boston, MA, USA.
Roger, S.P. 2016. Software Engineering: A Practitioner's Approach. 8th Ed.
McGraw- Hill.Beijing, China.
Content to complete
Functional Requirements
Non-Functional Requirements
Requirements Engineering
The process of establishing the services that the customer requires from
a system and the constraints under which it operates and is developed.
The requirements themselves are the descriptions of the system services
and constraints that are generated during the requirements engineering
process.
4
What is a requirement?
It may range from a high-level abstract statement of a
service or of a system constraint to a detailed mathematical
functional specification.
5
Types of Requirement
User requirements
Statements in natural language plus diagrams of the
services the system provides and its operational constraints.
Written for customers.
System requirements
A structured document setting out detailed descriptions of
the system’s functions, services and operational constraints.
Defines what should be implemented so may be part of a
contract between client and contractor.
6
7
Readers of different types of requirements
specification
8
Functional and Non-Functional
Requirements
Functional requirements
– Statements of services the system should provide, how the system
should react to particular inputs and how the system should behave in
particular situations.
– May state what the system should not do.
Non-functional requirements
– Constraints on the services or functions offered by the system such as
timing constraints, constraints on the development process, standards,
etc.
– Often apply to the system as a whole rather than individual features or
services.
– How The System Performs A Certain Function
9
Functional requirements
•Describe functionality or system services.
•Depend on the type of software, expected
users and the type of system where the
software is used.
•Functional user requirements may be high-level
statements of what the system should do.
•Functional system requirements should
describe the system services in detail.
10
Functional Requirements (cont..)
Some of the more typical functional requirements
include
Organization Rules
Administrative functions
Authentication
Authorization levels
11
Functional Requirements
completeness and consistency
In principle, requirements should be both complete and consistent.
Complete
◦ They should include descriptions of all facilities required.
Consistent
◦ There should be no conflicts or contradictions in the descriptions of the
system facilities.
In practice, it is impossible to produce a complete and consistent
requirements document.
12
Non-functional requirements
These define system properties and constraints e.g. reliability, response
time and storage requirements. Constraints are I/O device capability,
system representations, etc.
Process requirements may also be specified mandating a particular IDE,
programming language or development method.
Non-functional requirements may be more critical than functional
requirements. If these are not met, the system may be useless.
13
Non-Functional Requirements
Some typical non functional requirements are:
Performance(Response time)
Security
Maintainability
Availability
Dependability
Capacity
14
Non-functional Requirements
Implementation
Non-functional requirements may affect the overall architecture of a
system rather than the individual components.
– For example, to ensure that performance requirements are met, you may
have to organize the system to minimize communications between
components.
A single non-functional requirement, such as a security requirement,
may generate a number of related functional requirements that define
system services that are required.
– It may also generate requirements that restrict existing requirements.
15
Property Measure
Speed Processed transactions/second
User/event response time
Screen refresh time
Size Mbytes
Number of ROM chips
Ease of use Training time
Number of help frames
Reliability Mean time to failure
Probability of unavailability
Rate of failure occurrence
Availability
Robustness Time to restart after failure
Percentage of events causing failure
Probability of data corruption on failure
16
Metrics for specifying non-
Functional Requirements
Differences between Functional
and Non Functional
Requirements
Functional Non Functional
A functional requirement defines a system
or its component.
A non-functional requirement defines the
quality attribute of a software system.
It specifies “What should the software
system do?”
It places constraints on “How should the
software system fulfill the functional
requirements?”
Functional requirement is specified by
User.
Non-functional requirement is specified by
technical peoples e.g. Architect, Technical
leaders and software developers.
It is mandatory. It is not mandatory.
17
Differences between Functional
and Non Functional
Requirements
Functional Non Functional
It is captured in use case. It is captured as a quality attribute.
Defined at a component level. Applied to a system as a whole.
Helps you verify the functionality of the
software.
Helps you to verify the performance of the
software.
Functional Testing like System, Integration, End
to End, API testing, etc are done.
Non-Functional Testing like Performance, Stress,
Usability, Security testing, etc are done.
18
Functional and Non-Functional
Requirements Example
Functional Non Functional
1) Authentication of user whenever
he/she logs into the system.
1) Emails should be sent with a
latency of no greater than 12 hours
from such an activity.
2) System shutdown in case of a
cyber attack.
2) The processing of each request
should be done within 10 seconds
3) A Verification email is sent to user
whenever he/she registers for the first
time on some software system.
3) The site should load in 3 seconds
when the number of simultaneous
users are > 10000
Functional and Non-Functional
Requirements Example
References
https://www.slideshare.net/SahidAnowarHussain/srs-document-for-
instagram

More Related Content

PPT
Requirements Engineering about one of requirement engineering process
zelalemmisganaw1994
 
PDF
Se lec-uosl-8
Shahzad Zaman
 
PPTX
Ch 2 types of reqirement
Fish Abe
 
PPTX
Software requirement & specification .pptx
SarowarSuman
 
PDF
SE UNIT 2.pdf
udhayaveenaa
 
PPT
CS8494 SOFTWARE ENGINEERING Unit-2
SIMONTHOMAS S
 
PPT
SOFTWRE REQUIREMNETS SE
Abrar ali
 
PDF
Requirements Engineering
Huda Alameen
 
Requirements Engineering about one of requirement engineering process
zelalemmisganaw1994
 
Se lec-uosl-8
Shahzad Zaman
 
Ch 2 types of reqirement
Fish Abe
 
Software requirement & specification .pptx
SarowarSuman
 
SE UNIT 2.pdf
udhayaveenaa
 
CS8494 SOFTWARE ENGINEERING Unit-2
SIMONTHOMAS S
 
SOFTWRE REQUIREMNETS SE
Abrar ali
 
Requirements Engineering
Huda Alameen
 

Similar to week5..ppt.............................. (20)

PDF
Se lec 4
Huda Alameen
 
PPT
cccccccccccccccccccccccccchapter_3_8.ppt
AdityaGupta221734
 
PPT
chapter_3_8 of software requirements engineering
JavedKhan524377
 
PPT
Requirements Engineering - SRS - IEEE.ppt
devhamnah
 
PPTX
Requirements engineering
Ashis Kumar Chanda
 
PPTX
Software Requrement
Seif Shaame
 
PPT
Ch 1-Introduction.ppt
balewayalew
 
PPTX
Lecture-5-Requirements Analysis and Specification.pptx
YaseenNazir3
 
PPTX
Requirements engineering
Jennifer Polack
 
PPT
Unit 2.ppt
MsRAMYACSE
 
PPT
Chap 4 - Requirements Engineering 1.ppt
DrCMeenakshiVISTAS
 
PPT
Chap 4 - Requirements Engineering 1.ppt
azida3
 
PDF
Requirement Engineering.pdf
Muhammad Imran
 
PPT
Web development .. presentation for IT students
asmatarar317
 
PDF
System requirements engineering
Animesh Chaturvedi
 
PPT
Requirements Engineering
Ehsan Elahi
 
DOCX
FOUNDATION SKILLS INTERGRATED PRODUCT DEVELOPMENT
jananikumaravell1
 
PPTX
SRE-Week-09-Refining-the-system-definition-05052023-114706pm.pptx
Hassankhalid894940
 
PPTX
Requirement Analysis
gowasat
 
PPTX
PPT ch 3 Requirement Analysis and Specification.pptx
fillformadarsh
 
Se lec 4
Huda Alameen
 
cccccccccccccccccccccccccchapter_3_8.ppt
AdityaGupta221734
 
chapter_3_8 of software requirements engineering
JavedKhan524377
 
Requirements Engineering - SRS - IEEE.ppt
devhamnah
 
Requirements engineering
Ashis Kumar Chanda
 
Software Requrement
Seif Shaame
 
Ch 1-Introduction.ppt
balewayalew
 
Lecture-5-Requirements Analysis and Specification.pptx
YaseenNazir3
 
Requirements engineering
Jennifer Polack
 
Unit 2.ppt
MsRAMYACSE
 
Chap 4 - Requirements Engineering 1.ppt
DrCMeenakshiVISTAS
 
Chap 4 - Requirements Engineering 1.ppt
azida3
 
Requirement Engineering.pdf
Muhammad Imran
 
Web development .. presentation for IT students
asmatarar317
 
System requirements engineering
Animesh Chaturvedi
 
Requirements Engineering
Ehsan Elahi
 
FOUNDATION SKILLS INTERGRATED PRODUCT DEVELOPMENT
jananikumaravell1
 
SRE-Week-09-Refining-the-system-definition-05052023-114706pm.pptx
Hassankhalid894940
 
Requirement Analysis
gowasat
 
PPT ch 3 Requirement Analysis and Specification.pptx
fillformadarsh
 
Ad

More from salmannawaz6566504 (19)

PPTX
Lecture 6.pptx..........................
salmannawaz6566504
 
PPTX
DOC-20250530-WA0008.pptx.................
salmannawaz6566504
 
PPTX
PRECIS WRITING LECTURE 6 (1).pptx.......
salmannawaz6566504
 
PPTX
Cyber Week 8.pptx.......................
salmannawaz6566504
 
PPTX
COA lecture 04.pptx.....................
salmannawaz6566504
 
PPTX
CH01-COA10e_Stallings.pptx..............
salmannawaz6566504
 
PPTX
Lecture 1.pptx........ .................
salmannawaz6566504
 
PPTX
[email protected],.,,........,.............
salmannawaz6566504
 
PPTX
[email protected]........................
salmannawaz6566504
 
PDF
Wireshark User's Guide.pdf..............
salmannawaz6566504
 
PDF
23010103-127_IS_Lab_Task_3.pdf..........
salmannawaz6566504
 
PDF
KALI-LINUX-COMMANDS.pdf.................
salmannawaz6566504
 
PPTX
week-3.pptx.............................
salmannawaz6566504
 
PPTX
spiral model.pptx.......................
salmannawaz6566504
 
PPTX
USE case diagrams.ppt.pptx..............
salmannawaz6566504
 
PPTX
IP Addressing.pptx......................
salmannawaz6566504
 
PPTX
Lecture 18.pptx.,.......................
salmannawaz6566504
 
PPTX
COMPUTER NETWORK THEORY PRESENTATION.pptx
salmannawaz6566504
 
PPTX
Group 5-DSA.pptx........................
salmannawaz6566504
 
Lecture 6.pptx..........................
salmannawaz6566504
 
DOC-20250530-WA0008.pptx.................
salmannawaz6566504
 
PRECIS WRITING LECTURE 6 (1).pptx.......
salmannawaz6566504
 
Cyber Week 8.pptx.......................
salmannawaz6566504
 
COA lecture 04.pptx.....................
salmannawaz6566504
 
CH01-COA10e_Stallings.pptx..............
salmannawaz6566504
 
Lecture 1.pptx........ .................
salmannawaz6566504
 
[email protected],.,,........,.............
salmannawaz6566504
 
[email protected]........................
salmannawaz6566504
 
Wireshark User's Guide.pdf..............
salmannawaz6566504
 
23010103-127_IS_Lab_Task_3.pdf..........
salmannawaz6566504
 
KALI-LINUX-COMMANDS.pdf.................
salmannawaz6566504
 
week-3.pptx.............................
salmannawaz6566504
 
spiral model.pptx.......................
salmannawaz6566504
 
USE case diagrams.ppt.pptx..............
salmannawaz6566504
 
IP Addressing.pptx......................
salmannawaz6566504
 
Lecture 18.pptx.,.......................
salmannawaz6566504
 
COMPUTER NETWORK THEORY PRESENTATION.pptx
salmannawaz6566504
 
Group 5-DSA.pptx........................
salmannawaz6566504
 
Ad

Recently uploaded (20)

PPTX
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
PPTX
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
PDF
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
PPTX
How to Apply for a Job From Odoo 18 Website
Celine George
 
DOCX
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
PDF
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
PPTX
20250924 Navigating the Future: How to tell the difference between an emergen...
McGuinness Institute
 
PPTX
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
PDF
2.Reshaping-Indias-Political-Map.ppt/pdf/8th class social science Exploring S...
Sandeep Swamy
 
PPTX
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 
PPTX
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
DOCX
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
PDF
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 
PPTX
Care of patients with elImination deviation.pptx
AneetaSharma15
 
DOCX
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
PDF
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
PPTX
Basics and rules of probability with real-life uses
ravatkaran694
 
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
How to Apply for a Job From Odoo 18 Website
Celine George
 
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
20250924 Navigating the Future: How to tell the difference between an emergen...
McGuinness Institute
 
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
2.Reshaping-Indias-Political-Map.ppt/pdf/8th class social science Exploring S...
Sandeep Swamy
 
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 
Care of patients with elImination deviation.pptx
AneetaSharma15
 
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
Basics and rules of probability with real-life uses
ravatkaran694
 

week5..ppt..............................

  • 1. Software Engineering CS-1251 UNIVERSITY OF SIALKOT Topic: Requirement Engineering
  • 2. Recommended Books Ian, S. 2016. Software Engineering. 10th Ed. Addison Wesley, Boston, MA, USA. Gary, B. S., T. J, Cashman and H. J. Rosenblatt. 2017. Systems Analysis and Design. 9th Ed. Cengage Learning, Boston, MA, USA. Roger, S.P. 2016. Software Engineering: A Practitioner's Approach. 8th Ed. McGraw- Hill.Beijing, China.
  • 3. Content to complete Functional Requirements Non-Functional Requirements
  • 4. Requirements Engineering The process of establishing the services that the customer requires from a system and the constraints under which it operates and is developed. The requirements themselves are the descriptions of the system services and constraints that are generated during the requirements engineering process. 4
  • 5. What is a requirement? It may range from a high-level abstract statement of a service or of a system constraint to a detailed mathematical functional specification. 5
  • 6. Types of Requirement User requirements Statements in natural language plus diagrams of the services the system provides and its operational constraints. Written for customers. System requirements A structured document setting out detailed descriptions of the system’s functions, services and operational constraints. Defines what should be implemented so may be part of a contract between client and contractor. 6
  • 7. 7
  • 8. Readers of different types of requirements specification 8
  • 9. Functional and Non-Functional Requirements Functional requirements – Statements of services the system should provide, how the system should react to particular inputs and how the system should behave in particular situations. – May state what the system should not do. Non-functional requirements – Constraints on the services or functions offered by the system such as timing constraints, constraints on the development process, standards, etc. – Often apply to the system as a whole rather than individual features or services. – How The System Performs A Certain Function 9
  • 10. Functional requirements •Describe functionality or system services. •Depend on the type of software, expected users and the type of system where the software is used. •Functional user requirements may be high-level statements of what the system should do. •Functional system requirements should describe the system services in detail. 10
  • 11. Functional Requirements (cont..) Some of the more typical functional requirements include Organization Rules Administrative functions Authentication Authorization levels 11
  • 12. Functional Requirements completeness and consistency In principle, requirements should be both complete and consistent. Complete ◦ They should include descriptions of all facilities required. Consistent ◦ There should be no conflicts or contradictions in the descriptions of the system facilities. In practice, it is impossible to produce a complete and consistent requirements document. 12
  • 13. Non-functional requirements These define system properties and constraints e.g. reliability, response time and storage requirements. Constraints are I/O device capability, system representations, etc. Process requirements may also be specified mandating a particular IDE, programming language or development method. Non-functional requirements may be more critical than functional requirements. If these are not met, the system may be useless. 13
  • 14. Non-Functional Requirements Some typical non functional requirements are: Performance(Response time) Security Maintainability Availability Dependability Capacity 14
  • 15. Non-functional Requirements Implementation Non-functional requirements may affect the overall architecture of a system rather than the individual components. – For example, to ensure that performance requirements are met, you may have to organize the system to minimize communications between components. A single non-functional requirement, such as a security requirement, may generate a number of related functional requirements that define system services that are required. – It may also generate requirements that restrict existing requirements. 15
  • 16. Property Measure Speed Processed transactions/second User/event response time Screen refresh time Size Mbytes Number of ROM chips Ease of use Training time Number of help frames Reliability Mean time to failure Probability of unavailability Rate of failure occurrence Availability Robustness Time to restart after failure Percentage of events causing failure Probability of data corruption on failure 16 Metrics for specifying non- Functional Requirements
  • 17. Differences between Functional and Non Functional Requirements Functional Non Functional A functional requirement defines a system or its component. A non-functional requirement defines the quality attribute of a software system. It specifies “What should the software system do?” It places constraints on “How should the software system fulfill the functional requirements?” Functional requirement is specified by User. Non-functional requirement is specified by technical peoples e.g. Architect, Technical leaders and software developers. It is mandatory. It is not mandatory. 17
  • 18. Differences between Functional and Non Functional Requirements Functional Non Functional It is captured in use case. It is captured as a quality attribute. Defined at a component level. Applied to a system as a whole. Helps you verify the functionality of the software. Helps you to verify the performance of the software. Functional Testing like System, Integration, End to End, API testing, etc are done. Non-Functional Testing like Performance, Stress, Usability, Security testing, etc are done. 18
  • 19. Functional and Non-Functional Requirements Example Functional Non Functional 1) Authentication of user whenever he/she logs into the system. 1) Emails should be sent with a latency of no greater than 12 hours from such an activity. 2) System shutdown in case of a cyber attack. 2) The processing of each request should be done within 10 seconds 3) A Verification email is sent to user whenever he/she registers for the first time on some software system. 3) The site should load in 3 seconds when the number of simultaneous users are > 10000

Editor's Notes

  • #6: .
  • #8: .
  • #13: IDE (Integrated Development Environment)
  • #20: Voice over IP