SlideShare a Scribd company logo
1
Software Requirements
Engineering
(CS 708)
Dr. Ghulam Ahmad Farrukh
2
Introduction
• Requirements form the basis for all
software products
• Requirements engineering is the
process, which enables us to
systematically determine the
requirements for a software product
3
Software Requirements
Lecture # 1
4
Requirement
• Something required, something wanted
or needed
– Webster’s dictionary
• There is a huge difference between
wanted and needed and it should be
kept in mind all the time
5
Software Requirements - 1
• A complete description of what the
software system will do without
describing how it will do it is
represented by the software
requirements
6
Software Requirements - 2
• Software requirements are complete
specification of the desired external
behavior of the software system to be
built
• They also represent External behavior
of the system
7
Software Requirements - 3
• Software requirements may be:
– Abstract statements of services and/or
constraints
– Detailed mathematical functions
8
Software Requirements - 4
• Software requirements may be:
– Part of the bid of contract
– The contract itself
– Part of the technical document, which
describes a product
9
IEEE Definition
• A condition or capability that must be
met or possessed by a system...to
satisfy a contract, standard,
specification, or other formally
imposed document
– IEEE Std 729
10
Sources of Requirements
• Stakeholders
– People affected in some way by the
system
• Documents
• Existing system
• Domain/business area
11
Levels of Software Requirements
• Stakeholders describe requirements at
different levels of detail
– “What versus How”
– “One person’s floor is another person’s
ceiling”
12
What Versus How
User needs
Product space
Actual product’s behavior
Architecture/data flow
Module specifications
Algorithms
Code
What
How
What
How
What
How
What
How
What
How
What
How
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
• The system shall maintain records of
all payments made to employees on
accounts of salaries, bonuses,
travel/daily allowances, medical
allowances, etc.
15
Examples of Requirements - 2
• The system shall interface with the
central computer to send daily sales
and inventory data from every retail
store
16
Examples of Requirements - 3
• The system shall maintain records of
all library materials including books,
serials, newspapers and magazines,
video and audio tapes, reports,
collections of transparencies, CD-
ROMs, DVDs, etc.
17
Examples of Requirements - 4
• The system shall allow users to search
for an item by title, author, or by
International Standard Book Number
• The system’s user interface shall be
implemented using a web browser
18
Examples of Requirements - 5
• The system shall support at least
twenty transactions per second
• The system facilities which are
available to public users shall be
demonstrable in ten minutes or less
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
• Statements describing what the system
does
• Functionality of the system
23
Functional Requirements - 2
• Statements of services the system
should provide
– Reaction to particular inputs
– Behavior in particular situations
24
Functional Requirements - 3
• Sequencing and parallelism are also
captured by functional requirements
• Abnormal behavior is also documented
as functional requirements in the form
of exception handling
25
Functional Requirements - 4
• Functional requirements should be
complete and consistent
• Customers and developers usually
focus all their attention on functional
requirements
26
Functional Requirements Example # 1
• The system shall solve a quadratic
equation using the following formula
x = (-b+sqrt(b2 – 4*a*c))/2*a
27
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.)
28
Functional Requirements Example # 3
• The system shall provide appropriate
viewers for the user to read documents
in the document store
29
Functional Requirements Example # 4
• Every order shall be allocated a unique
identifier (ORDER_ID) which the user
shall use to access that order
30
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
31
Comments on Examples
• Notice the level of detail in different
requirements described above. Some
are very detailed compared to others
32
Comments on Examples
• Notice the ambiguity in the
requirement, which uses the term
‘appropriate viewers’
• This requirement does not mention the
formats of documents and types of
viewers, which can be used
33
Comments on Examples
• Notice the ambiguity in the
requirement for solving the quadratic
equation. The requirement does not
speak about the possibility when the
value of ‘a’ is zero
x = (-b+sqrt(b2 – 4*a*c))/2*a
34
Comments on Examples
• Incomplete and ambiguous
requirements are open to multiple
interpretations and assumptions
• This can lead to the development of
poor quality, or faulty, software
products
35
Summary
• Requirements form the basis of all
software engineering projects
• Functional requirements capture the
behavioral aspects/functions of the
proposed automated system
• Functional requirements are the
backbone of all software products
36
References
• ‘Requirements Engineering: Processes and
Techniques’ by G. Kotonya and I.
Sommerville, John Wiley & Sons, 1998
• Software Requirements: Objects, Functions,
and States by A. Davis, PH, 1993
• Software Engineering 6th Edition, by I.
Sommerville, 2000
• Software Engineering 5th Edition, by R.
Pressman

More Related Content

PPTX
1 software requirements engineering-01
PPT
Software Requirement Engineering - Power Point Slides lecture-01.ppt
PPTX
SRE lec 1.pptx software requirement and engineering
PPTX
6. software requirements
PPT
Software architecture3
PPT
Ch 1-Introduction.ppt
PPT
CS8494 SOFTWARE ENGINEERING Unit-2
PDF
SE UNIT 2.pdf
1 software requirements engineering-01
Software Requirement Engineering - Power Point Slides lecture-01.ppt
SRE lec 1.pptx software requirement and engineering
6. software requirements
Software architecture3
Ch 1-Introduction.ppt
CS8494 SOFTWARE ENGINEERING Unit-2
SE UNIT 2.pdf

Similar to vu-re-lecture-01 requirements engineering.ppt (20)

PDF
9-Requirements Engineering process, Requirement Elicitation-21-01-2025.pdf
PPTX
Software requirement & specification .pptx
PPT
best software requirements for the students
PPT
INTRODUCTION to software engineering requirements specifications
PPTX
Lecture 2 & 3.pptx
PDF
SE-Unit II.pdf
PDF
Se lec-uosl-8
PDF
2nd MODULE Software Requirements _ SW ENGG 22CSE141.pdf
PPT
Se week 4
PPT
Se week 4
PPTX
Software Requirements Engineering .pptx
PPTX
Software Engineering Unit 2 AKTU Complete
PPT
Web development .. presentation for IT students
PDF
Lecture 1.pdf
PPTX
Software Requirement Engineering Documenting Requirements
PPT
vu-re-lecture-22 .ppt
PDF
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
PPTX
Software engineering is a branch of engineering focused on designing, develop...
PPTX
2.1. SW Requirements n Specifications.pptx
PPT
Requirements Engineering about one of requirement engineering process
9-Requirements Engineering process, Requirement Elicitation-21-01-2025.pdf
Software requirement & specification .pptx
best software requirements for the students
INTRODUCTION to software engineering requirements specifications
Lecture 2 & 3.pptx
SE-Unit II.pdf
Se lec-uosl-8
2nd MODULE Software Requirements _ SW ENGG 22CSE141.pdf
Se week 4
Se week 4
Software Requirements Engineering .pptx
Software Engineering Unit 2 AKTU Complete
Web development .. presentation for IT students
Lecture 1.pdf
Software Requirement Engineering Documenting Requirements
vu-re-lecture-22 .ppt
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
Software engineering is a branch of engineering focused on designing, develop...
2.1. SW Requirements n Specifications.pptx
Requirements Engineering about one of requirement engineering process
Ad

More from ubaidullah75790 (20)

PPTX
Chapter20 transaction processing system .pptx
PPTX
Chapter22 database security in dbms.pptx
PPTX
Chapter27 distributed database syst.pptx
PPTX
File Organization in database management.pptx
PPTX
transaction processing databse management.pptx
PPT
physical database design distributed .ppt
PPT
module03-ipaddr ipv6 addressing in net.ppt
PPT
PDBD- Part2 physical database design.ppt
PPT
Physical_Design system development life.PPT
PPT
S3 application and network attacks in.ppt
PPT
Chapter 5 cyber security in computer.ppt
PPTX
1606802425-dba-w7 database management.pptx
PPT
ENCh18 database management system ss.ppt
PPT
Chapter07 database system in computer.ppt
PPT
Chapter05 database sytem in computer . ppt
PPT
Chapter04 database system in computer.ppt
PPT
Chapter03 database system in computer.ppt
PPT
Chapter02 database system in computer.ppt
PPT
Chapter01 database system in computer.ppt
PPT
MYCH8 database management system in .ppt
Chapter20 transaction processing system .pptx
Chapter22 database security in dbms.pptx
Chapter27 distributed database syst.pptx
File Organization in database management.pptx
transaction processing databse management.pptx
physical database design distributed .ppt
module03-ipaddr ipv6 addressing in net.ppt
PDBD- Part2 physical database design.ppt
Physical_Design system development life.PPT
S3 application and network attacks in.ppt
Chapter 5 cyber security in computer.ppt
1606802425-dba-w7 database management.pptx
ENCh18 database management system ss.ppt
Chapter07 database system in computer.ppt
Chapter05 database sytem in computer . ppt
Chapter04 database system in computer.ppt
Chapter03 database system in computer.ppt
Chapter02 database system in computer.ppt
Chapter01 database system in computer.ppt
MYCH8 database management system in .ppt
Ad

Recently uploaded (20)

PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
MIND Revenue Release Quarter 2 2025 Press Release
DOCX
The AUB Centre for AI in Media Proposal.docx
PPT
Teaching material agriculture food technology
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Spectroscopy.pptx food analysis technology
PDF
Approach and Philosophy of On baking technology
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
cuic standard and advanced reporting.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Electronic commerce courselecture one. Pdf
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Big Data Technologies - Introduction.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Diabetes mellitus diagnosis method based random forest with bat algorithm
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
The Rise and Fall of 3GPP – Time for a Sabbatical?
Unlocking AI with Model Context Protocol (MCP)
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
MIND Revenue Release Quarter 2 2025 Press Release
The AUB Centre for AI in Media Proposal.docx
Teaching material agriculture food technology
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Mobile App Security Testing_ A Comprehensive Guide.pdf
Spectroscopy.pptx food analysis technology
Approach and Philosophy of On baking technology
Programs and apps: productivity, graphics, security and other tools
cuic standard and advanced reporting.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Electronic commerce courselecture one. Pdf
Machine learning based COVID-19 study performance prediction
Big Data Technologies - Introduction.pptx

vu-re-lecture-01 requirements engineering.ppt

  • 2. 2 Introduction • Requirements form the basis for all software products • Requirements engineering is the process, which enables us to systematically determine the requirements for a software product
  • 4. 4 Requirement • Something required, something wanted or needed – Webster’s dictionary • There is a huge difference between wanted and needed and it should be kept in mind all the time
  • 5. 5 Software Requirements - 1 • A complete description of what the software system will do without describing how it will do it is represented by the software requirements
  • 6. 6 Software Requirements - 2 • Software requirements are complete specification of the desired external behavior of the software system to be built • They also represent External behavior of the system
  • 7. 7 Software Requirements - 3 • Software requirements may be: – Abstract statements of services and/or constraints – Detailed mathematical functions
  • 8. 8 Software Requirements - 4 • Software requirements may be: – Part of the bid of contract – The contract itself – Part of the technical document, which describes a product
  • 9. 9 IEEE Definition • A condition or capability that must be met or possessed by a system...to satisfy a contract, standard, specification, or other formally imposed document – IEEE Std 729
  • 10. 10 Sources of Requirements • Stakeholders – People affected in some way by the system • Documents • Existing system • Domain/business area
  • 11. 11 Levels of Software Requirements • Stakeholders describe requirements at different levels of detail – “What versus How” – “One person’s floor is another person’s ceiling”
  • 12. 12 What Versus How User needs Product space Actual product’s behavior Architecture/data flow Module specifications Algorithms Code What How What How What How What How What How What How
  • 13. 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. 14 Examples of Requirements - 1 • The system shall maintain records of all payments made to employees on accounts of salaries, bonuses, travel/daily allowances, medical allowances, etc.
  • 15. 15 Examples of Requirements - 2 • The system shall interface with the central computer to send daily sales and inventory data from every retail store
  • 16. 16 Examples of Requirements - 3 • The system shall maintain records of all library materials including books, serials, newspapers and magazines, video and audio tapes, reports, collections of transparencies, CD- ROMs, DVDs, etc.
  • 17. 17 Examples of Requirements - 4 • The system shall allow users to search for an item by title, author, or by International Standard Book Number • The system’s user interface shall be implemented using a web browser
  • 18. 18 Examples of Requirements - 5 • The system shall support at least twenty transactions per second • The system facilities which are available to public users shall be demonstrable in ten minutes or less
  • 19. 19 Kinds of Software Requirements
  • 20. 20 Kinds of Software Requirements • Functional requirements • Non-functional requirements • Domain requirements • Inverse requirements • Design and implementation constraints
  • 22. 22 Functional Requirements - 1 • Statements describing what the system does • Functionality of the system
  • 23. 23 Functional Requirements - 2 • Statements of services the system should provide – Reaction to particular inputs – Behavior in particular situations
  • 24. 24 Functional Requirements - 3 • Sequencing and parallelism are also captured by functional requirements • Abnormal behavior is also documented as functional requirements in the form of exception handling
  • 25. 25 Functional Requirements - 4 • Functional requirements should be complete and consistent • Customers and developers usually focus all their attention on functional requirements
  • 26. 26 Functional Requirements Example # 1 • The system shall solve a quadratic equation using the following formula x = (-b+sqrt(b2 – 4*a*c))/2*a
  • 27. 27 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.)
  • 28. 28 Functional Requirements Example # 3 • The system shall provide appropriate viewers for the user to read documents in the document store
  • 29. 29 Functional Requirements Example # 4 • Every order shall be allocated a unique identifier (ORDER_ID) which the user shall use to access that order
  • 30. 30 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
  • 31. 31 Comments on Examples • Notice the level of detail in different requirements described above. Some are very detailed compared to others
  • 32. 32 Comments on Examples • Notice the ambiguity in the requirement, which uses the term ‘appropriate viewers’ • This requirement does not mention the formats of documents and types of viewers, which can be used
  • 33. 33 Comments on Examples • Notice the ambiguity in the requirement for solving the quadratic equation. The requirement does not speak about the possibility when the value of ‘a’ is zero x = (-b+sqrt(b2 – 4*a*c))/2*a
  • 34. 34 Comments on Examples • Incomplete and ambiguous requirements are open to multiple interpretations and assumptions • This can lead to the development of poor quality, or faulty, software products
  • 35. 35 Summary • Requirements form the basis of all software engineering projects • Functional requirements capture the behavioral aspects/functions of the proposed automated system • Functional requirements are the backbone of all software products
  • 36. 36 References • ‘Requirements Engineering: Processes and Techniques’ by G. Kotonya and I. Sommerville, John Wiley & Sons, 1998 • Software Requirements: Objects, Functions, and States by A. Davis, PH, 1993 • Software Engineering 6th Edition, by I. Sommerville, 2000 • Software Engineering 5th Edition, by R. Pressman