SlideShare a Scribd company logo
1 of 15
Chapter 4 Requirements engineering
Chapter 4 – Requirements Engineering
Lecture 1
1
Chapter 4 Requirements engineering
Topics covered
 Functional and non-functional requirements
 The software requirements document
 Requirements specification
 Requirements engineering processes
 Requirements elicitation and analysis
 Requirements validation
 Requirements management
2
Chapter 4 Requirements engineering
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.
3
Chapter 4 Requirements engineering
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.
 This is inevitable as requirements may serve a dual
function
 May be the basis for a bid for a contract - therefore must be open
to interpretation;
 May be the basis for the contract itself - therefore must be defined
in detail;
 Both these statements may be called requirements.
4
Chapter 4 Requirements engineering
Requirements Abstraction (Davis)
“If a company wishes to let a contract for a large software development
project, it must define its needs in a sufficiently abstract way that a
solution is not pre-defined.
The requirements must be written so that several contractors can bid for
the contract, offering, perhaps, different ways of meeting the client
organization’s needs.
Once a contract has been awarded, the contractor must write a system
definition for the client in more detail so that the client understands and
can validate what the software will do.
Both of these documents may be called the requirements document for
the system.”
5
Chapter 4 Requirements engineering
Types of Requirements
 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.
 Whom do you think these are written for?
 These are higher level than functional and non-functional
requirements, which these may subsume.
6
Chapter 4 Requirements engineering
User and System Requirements
7
Chapter 4 Requirements engineering
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.
 Domain requirements
 Constraints on the system from the domain of operation
8
Chapter 4 Requirements engineering
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.
 Essentially, these are the ‘whats’ of the system that we
often refer to. These are not ‘all that there is,’ but these
should describe the overall functionality of the system.
9
Chapter 4 Requirements engineering
Non-functional Requirements
 These define system properties and constraints e.g.
reliability, response time, maintainability, scalability,
portability, 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.
 (Often internal to an organization or required for fit /
compatibility with other comparable systems.)
 Non-functional requirements may be more critical than
functional requirements. If these are not met, the system
may be useless.
10
Chapter 4 Requirements engineering
Types of Nonfunctional Requirements
11
Chapter 4 Requirements engineering
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.
12
Chapter 4 Requirements engineering
Metrics for specifying nonfunctional
requirements
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 (MTTF)
Probability of unavailability
Rate of failure occurrence
Availability
Robustness Time to restart after failure (MTTR)
Percentage of events causing failure
Probability of data corruption on failure
Portability Percentage of target dependent statements
Number of target systems
13
Chapter 4 Requirements engineering
Domain requirements problems
 Understandability
 Requirements are expressed in the language of the application
domain;
Application written for mortgage banking people need to
express functionality in terms of home loans, mortgage
balances, escrow, investor accounting, foreclosure, etc.
 This is often not understood by software engineers developing
the system.
 Implicitness
 Domain specialists understand the area so well that they do not
think of making the domain requirements explicit.
 And this is often a major problem in communications!!!
14
Chapter 4 Requirements engineering
Key points
 Requirements for a software system set out what the
system should do and define constraints on its operation
and implementation.
 Functional requirements are statements of the services
that the system must provide or are descriptions of how
some computations must be carried out.
 Non-functional requirements often constrain the system
being developed and the development process being used.
 They often relate to the emergent properties of the system
and therefore apply to the system as a whole.
15

More Related Content

Similar to Chap 4 - Requirements Engineering 1.ppt

Software Requirements
Software RequirementsSoftware Requirements
Software Requirements
Bala Ganesh
 

Similar to Chap 4 - Requirements Engineering 1.ppt (20)

Requirements Engineering
Requirements EngineeringRequirements Engineering
Requirements Engineering
 
Requirements engineering
Requirements engineeringRequirements engineering
Requirements engineering
 
Ch 2 types of reqirement
Ch 2  types of reqirementCh 2  types of reqirement
Ch 2 types of reqirement
 
SEPM_MODULE 3.1 Req Eng.pptx
SEPM_MODULE 3.1 Req Eng.pptxSEPM_MODULE 3.1 Req Eng.pptx
SEPM_MODULE 3.1 Req Eng.pptx
 
Se lec-uosl-8
Se lec-uosl-8Se lec-uosl-8
Se lec-uosl-8
 
Lecture-5-Requirements Analysis and Specification.pptx
Lecture-5-Requirements Analysis and Specification.pptxLecture-5-Requirements Analysis and Specification.pptx
Lecture-5-Requirements Analysis and Specification.pptx
 
Software Engineering - Chapter 4 - Requirements engineering
Software Engineering - Chapter 4 - Requirements engineering  Software Engineering - Chapter 4 - Requirements engineering
Software Engineering - Chapter 4 - Requirements engineering
 
Ch6
Ch6Ch6
Ch6
 
SE Chapter 4 - Software Requirements.pptx
SE Chapter 4 - Software  Requirements.pptxSE Chapter 4 - Software  Requirements.pptx
SE Chapter 4 - Software Requirements.pptx
 
Software Requrement
Software RequrementSoftware Requrement
Software Requrement
 
Software Requirements
Software RequirementsSoftware Requirements
Software Requirements
 
Software engineering lecture 1
Software engineering  lecture 1Software engineering  lecture 1
Software engineering lecture 1
 
Unit 2.ppt
Unit 2.pptUnit 2.ppt
Unit 2.ppt
 
SE Unit 2(1).pptx
SE Unit 2(1).pptxSE Unit 2(1).pptx
SE Unit 2(1).pptx
 
Ch 1-Introduction.ppt
Ch 1-Introduction.pptCh 1-Introduction.ppt
Ch 1-Introduction.ppt
 
software recq.ppt
software recq.pptsoftware recq.ppt
software recq.ppt
 
Se week 4
Se week 4Se week 4
Se week 4
 
Se week 4
Se week 4Se week 4
Se week 4
 
Requirements engineering
Requirements engineeringRequirements engineering
Requirements engineering
 
SE UNIT 2.pdf
SE UNIT 2.pdfSE UNIT 2.pdf
SE UNIT 2.pdf
 

More from azida3 (14)

Prototyping.eveningclass.ppt
Prototyping.eveningclass.pptPrototyping.eveningclass.ppt
Prototyping.eveningclass.ppt
 
3830100.ppt
3830100.ppt3830100.ppt
3830100.ppt
 
Access Control
Access ControlAccess Control
Access Control
 
OWASP_Top_Ten_Proactive_Controls_v2.pptx
OWASP_Top_Ten_Proactive_Controls_v2.pptxOWASP_Top_Ten_Proactive_Controls_v2.pptx
OWASP_Top_Ten_Proactive_Controls_v2.pptx
 
codingtechniques1.ppt
codingtechniques1.pptcodingtechniques1.ppt
codingtechniques1.ppt
 
GCSECS-DefensiveDesign.pptx
GCSECS-DefensiveDesign.pptxGCSECS-DefensiveDesign.pptx
GCSECS-DefensiveDesign.pptx
 
DefensiveProgramming (1).pptx
DefensiveProgramming (1).pptxDefensiveProgramming (1).pptx
DefensiveProgramming (1).pptx
 
Requirments Elicitation.pptx
Requirments Elicitation.pptxRequirments Elicitation.pptx
Requirments Elicitation.pptx
 
Requirements analysis.pptx
Requirements analysis.pptxRequirements analysis.pptx
Requirements analysis.pptx
 
Introduction to SAD.pptx
Introduction to SAD.pptxIntroduction to SAD.pptx
Introduction to SAD.pptx
 
BPM - Activity diagram.pptx
BPM - Activity diagram.pptxBPM - Activity diagram.pptx
BPM - Activity diagram.pptx
 
Use Case Modelling.pptx
Use Case Modelling.pptxUse Case Modelling.pptx
Use Case Modelling.pptx
 
Presentation Use Case Diagram and Use Case Specification.pptx
Presentation Use Case Diagram and Use Case Specification.pptxPresentation Use Case Diagram and Use Case Specification.pptx
Presentation Use Case Diagram and Use Case Specification.pptx
 
Introduction to SAD.pptx
Introduction to SAD.pptxIntroduction to SAD.pptx
Introduction to SAD.pptx
 

Recently uploaded

Recently uploaded (20)

REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 

Chap 4 - Requirements Engineering 1.ppt

  • 1. Chapter 4 Requirements engineering Chapter 4 – Requirements Engineering Lecture 1 1
  • 2. Chapter 4 Requirements engineering Topics covered  Functional and non-functional requirements  The software requirements document  Requirements specification  Requirements engineering processes  Requirements elicitation and analysis  Requirements validation  Requirements management 2
  • 3. Chapter 4 Requirements engineering 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. 3
  • 4. Chapter 4 Requirements engineering 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.  This is inevitable as requirements may serve a dual function  May be the basis for a bid for a contract - therefore must be open to interpretation;  May be the basis for the contract itself - therefore must be defined in detail;  Both these statements may be called requirements. 4
  • 5. Chapter 4 Requirements engineering Requirements Abstraction (Davis) “If a company wishes to let a contract for a large software development project, it must define its needs in a sufficiently abstract way that a solution is not pre-defined. The requirements must be written so that several contractors can bid for the contract, offering, perhaps, different ways of meeting the client organization’s needs. Once a contract has been awarded, the contractor must write a system definition for the client in more detail so that the client understands and can validate what the software will do. Both of these documents may be called the requirements document for the system.” 5
  • 6. Chapter 4 Requirements engineering Types of Requirements  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.  Whom do you think these are written for?  These are higher level than functional and non-functional requirements, which these may subsume. 6
  • 7. Chapter 4 Requirements engineering User and System Requirements 7
  • 8. Chapter 4 Requirements engineering 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.  Domain requirements  Constraints on the system from the domain of operation 8
  • 9. Chapter 4 Requirements engineering 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.  Essentially, these are the ‘whats’ of the system that we often refer to. These are not ‘all that there is,’ but these should describe the overall functionality of the system. 9
  • 10. Chapter 4 Requirements engineering Non-functional Requirements  These define system properties and constraints e.g. reliability, response time, maintainability, scalability, portability, 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.  (Often internal to an organization or required for fit / compatibility with other comparable systems.)  Non-functional requirements may be more critical than functional requirements. If these are not met, the system may be useless. 10
  • 11. Chapter 4 Requirements engineering Types of Nonfunctional Requirements 11
  • 12. Chapter 4 Requirements engineering 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. 12
  • 13. Chapter 4 Requirements engineering Metrics for specifying nonfunctional requirements 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 (MTTF) Probability of unavailability Rate of failure occurrence Availability Robustness Time to restart after failure (MTTR) Percentage of events causing failure Probability of data corruption on failure Portability Percentage of target dependent statements Number of target systems 13
  • 14. Chapter 4 Requirements engineering Domain requirements problems  Understandability  Requirements are expressed in the language of the application domain; Application written for mortgage banking people need to express functionality in terms of home loans, mortgage balances, escrow, investor accounting, foreclosure, etc.  This is often not understood by software engineers developing the system.  Implicitness  Domain specialists understand the area so well that they do not think of making the domain requirements explicit.  And this is often a major problem in communications!!! 14
  • 15. Chapter 4 Requirements engineering Key points  Requirements for a software system set out what the system should do and define constraints on its operation and implementation.  Functional requirements are statements of the services that the system must provide or are descriptions of how some computations must be carried out.  Non-functional requirements often constrain the system being developed and the development process being used.  They often relate to the emergent properties of the system and therefore apply to the system as a whole. 15