SlideShare une entreprise Scribd logo
1  sur  16
Software Engineering II
By: Muhammad Usman
email:mu702823@gmail.com
Requirements Engineering
 Inception: ask a set of questions that establish
 basic understanding of the problem
 the people who want a solution
 the nature of the solution that is desired, and
 the effectiveness of preliminary communication and
collaboration between the customer and the developer
 Elicitation: elicit requirements from all
stakeholders
Requirements Engineering
 Elaboration: create an analysis model that
identifies data, function and behavioral
requirements
 Negotiation: agree on a deliverable system that is
realistic for developers and customers
 Specification: can be any one (or more) of the
following:
 A written document
 A set of models
 A formal mathematical
 A collection of user scenarios (use-cases)
 A prototype
Requirements Engineering
 Validation: a review mechanism that looks for
 errors in content or interpretation
 areas where clarification may be required
 missing information
 inconsistencies (a major problem when large products or
systems are engineered)
 conflicting or unrealistic (unachievable) requirements.
 Requirements management
Requirements Engineering
 Requirements management
 Requirements for computer-based systems change, and
the desire to change requirements persists throughout
the life of the system.
 Requirements management is a set of activities that help
the project team identify, control, and track requirements
and changes to requirements at any time as the project
proceeds.
 Many of these activities are identical to the software
configuration management (SCM) techniques
Requirements Engineering
Inception
 Identify stakeholders
 “who else do you think I should talk to?”
 Recognize multiple points of view
 Work toward collaboration
 The first questions
 Who is behind the request for this work?
 Who will use the solution?
 What will be the economic benefit of a successful
solution
 Is there another source for the solution that you need?
Eliciting Requirements
 meetings are conducted and attended by both software
engineers and customers
 rules for preparation and participation are established
 an agenda is suggested
 a "facilitator" (can be a customer, a developer, or an
outsider) controls the meeting
 a "definition mechanism" (can be work sheets, flip charts, or
wall stickers or an electronic bulletin board, chat room or
virtual forum) is used
 the goal is
 to identify the problem
 propose elements of the solution
 negotiate different approaches, and
 specify a preliminary set of solution requirements
Building the Analysis Model
Elements of the analysis model
 Scenario-based elements
 Functional—processing narratives for software functions
 Use-case—descriptions of the interaction between an “actor” and
the system
 Class-based elements
 Implied by scenarios
 Behavioral elements
 State diagram
 Flow-oriented elements
 Data flow diagram
Use-Cases
 A collection of user scenarios that describe the thread of
usage of a system
 Each scenario is described from the point-of-view of an
“actor”—a person or device that interacts with the software
in some way
 Each scenario answers the following questions:
 Who is the primary actor, the secondary actor (s)?
 What are the actor’s goals?
 What preconditions should exist before the story
begins?
 What main tasks or functions are performed by the
actor?
 What extensions might be considered as the story is
described?
Use-Cases
 What variations in the actor’s interaction are possible?
 What system information will the actor acquire, produce,
or change?
 Will the actor have to inform the system about changes
in the external environment?
 What information does the actor desire from the
system?
 Does the actor wish to be informed about unexpected
changes?
Negotiating Requirements
 Identify the key stakeholders
 These are the people who will be involved in the
negotiation
 Determine each of the stakeholders “win
conditions”
 Win conditions are not always obvious
 Negotiate
 Work toward a set of requirements that lead to “win-
win”
Specification:
IEEE/ANSI Standard 830-1993
1. Introduction
2. General description
3. Specific requirements
4. Appendices
5. Index
SRS Template by Karl Wiegers
 Table of Contents
 Revision History
 1. Introduction
 1.1 Purpose
 1.2 Document Conventions
 1.3 Intended Audience and Reading Suggestions
 1.4 Project Scope
 1.5 References
 2. Overall Description
 2.1 Product Perspective
 2.2 Product Features
 2.3 User Classes and Characteristics
 2.4 Operating Environment
 2.5 Design and Implementation Constraints
 2.6 User Documentation
 2.7 Assumptions and Dependencies
 3. System Features
 3.1 System Feature 1
 3.2 System Feature 2 (and so on)
 4. External Interface Requirements
 4.1 User Interfaces
 4.2 Hardware Interfaces
 4.3 Software Interfaces
 4.4 Communications Interfaces
 5. Other Nonfunctional Requirements
 5.1 Performance Requirements
 5.2 Safety Requirements
 5.3 Security Requirements
 5.4 Software Quality Attributes
 6. Other Requirements
 Appendix A: Glossary
 Appendix B: Analysis Models
 Appendix C: Issues List
Validating Requirements
 Is each requirement consistent with the overall objective for
the system/product?
 Have all requirements been specified at the proper level of
abstraction? That is, do some requirements provide a level
of technical detail that is inappropriate at this stage?
 Is the requirement really necessary or does it represent an
add-on feature that may not be essential to the objective of
the system?
 Is each requirement bounded and unambiguous?
 Does each requirement have attribution? That is, is a source
(generally, a specific individual) noted for each requirement?
 Do any requirements conflict with other requirements?
 Is each requirement achievable in the technical environment
that will house the system or product?
 Is each requirement testable, once implemented?
 Does the requirements model properly reflect the
information, function and behavior of the system to be built.
 Has the requirements model been “partitioned” in a way that
exposes progressively more detailed information about the
system.
 Have requirements patterns been used to simplify the
requirements model. Have all patterns been properly
validated? Are all patterns consistent with customer
requirements?
Validating Requirements

Contenu connexe

Tendances

Software requirements engineering lecture 01
Software requirements engineering   lecture 01Software requirements engineering   lecture 01
Software requirements engineering lecture 01
Abdul Basit
 
Chapter 08
Chapter 08Chapter 08
Chapter 08
guru3188
 
Analysis concepts and principles
Analysis concepts and principlesAnalysis concepts and principles
Analysis concepts and principles
saurabhshertukde
 

Tendances (20)

Software design
Software designSoftware design
Software design
 
Requirements Engineering
Requirements EngineeringRequirements Engineering
Requirements Engineering
 
Unit 2
Unit 2Unit 2
Unit 2
 
Software Engineering (Introduction to Software Engineering)
Software Engineering (Introduction to Software Engineering)Software Engineering (Introduction to Software Engineering)
Software Engineering (Introduction to Software Engineering)
 
Design Patterns.ppt
Design Patterns.pptDesign Patterns.ppt
Design Patterns.ppt
 
Process Models IN software Engineering
Process Models IN software EngineeringProcess Models IN software Engineering
Process Models IN software Engineering
 
Software Process Models
Software Process ModelsSoftware Process Models
Software Process Models
 
Requirements engineering process in software engineering
Requirements engineering process in software engineeringRequirements engineering process in software engineering
Requirements engineering process in software engineering
 
Requirements Validation
Requirements ValidationRequirements Validation
Requirements Validation
 
Software maintenance
Software maintenanceSoftware maintenance
Software maintenance
 
Software Engineering - chp8- deployment
Software Engineering - chp8- deploymentSoftware Engineering - chp8- deployment
Software Engineering - chp8- deployment
 
Requirements prioritization
Requirements prioritizationRequirements prioritization
Requirements prioritization
 
Software requirements engineering lecture 01
Software requirements engineering   lecture 01Software requirements engineering   lecture 01
Software requirements engineering lecture 01
 
Requirements validation - requirements engineering
Requirements validation - requirements engineeringRequirements validation - requirements engineering
Requirements validation - requirements engineering
 
Chapter 08
Chapter 08Chapter 08
Chapter 08
 
Unit 5- Architectural Design in software engineering
Unit 5- Architectural Design in software engineering Unit 5- Architectural Design in software engineering
Unit 5- Architectural Design in software engineering
 
UNIT-4design-concepts-se-pressman-ppt.PPT
UNIT-4design-concepts-se-pressman-ppt.PPTUNIT-4design-concepts-se-pressman-ppt.PPT
UNIT-4design-concepts-se-pressman-ppt.PPT
 
Slides chapters 6-7
Slides chapters 6-7Slides chapters 6-7
Slides chapters 6-7
 
Analysis concepts and principles
Analysis concepts and principlesAnalysis concepts and principles
Analysis concepts and principles
 
Unified process Model
Unified process ModelUnified process Model
Unified process Model
 

Similaire à Requirements Engineering

Software engg. pressman_ch-6 & 7
Software engg. pressman_ch-6 & 7Software engg. pressman_ch-6 & 7
Software engg. pressman_ch-6 & 7
Dhairya Joshi
 

Similaire à Requirements Engineering (20)

Ch07
Ch07Ch07
Ch07
 
Ch07
Ch07Ch07
Ch07
 
6. ch 5-understanding requirements
6. ch 5-understanding requirements6. ch 5-understanding requirements
6. ch 5-understanding requirements
 
Software engineering requirements help11
Software engineering requirements help11Software engineering requirements help11
Software engineering requirements help11
 
Software engg. pressman_ch-6 & 7
Software engg. pressman_ch-6 & 7Software engg. pressman_ch-6 & 7
Software engg. pressman_ch-6 & 7
 
Requirement Engineering.pdf
Requirement Engineering.pdfRequirement Engineering.pdf
Requirement Engineering.pdf
 
Requirement Engineering Processes & Eliciting Requirement
Requirement Engineering Processes & Eliciting Requirement Requirement Engineering Processes & Eliciting Requirement
Requirement Engineering Processes & Eliciting Requirement
 
Requirement analysis and specification, software engineering
Requirement analysis and specification, software engineeringRequirement analysis and specification, software engineering
Requirement analysis and specification, software engineering
 
SE chapters 6-7
SE chapters 6-7SE chapters 6-7
SE chapters 6-7
 
Ch 2-RE-process.pptx
Ch 2-RE-process.pptxCh 2-RE-process.pptx
Ch 2-RE-process.pptx
 
Lecture 5 defining the system
Lecture 5 defining the systemLecture 5 defining the system
Lecture 5 defining the system
 
Software Development Process - REQUIREMENTS ANALYSIS / ANALYSIS OF TECHNICAL...
Software Development Process -  REQUIREMENTS ANALYSIS / ANALYSIS OF TECHNICAL...Software Development Process -  REQUIREMENTS ANALYSIS / ANALYSIS OF TECHNICAL...
Software Development Process - REQUIREMENTS ANALYSIS / ANALYSIS OF TECHNICAL...
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
3-Requirements.ppt
3-Requirements.ppt3-Requirements.ppt
3-Requirements.ppt
 
Se lec-uosl-8
Se lec-uosl-8Se lec-uosl-8
Se lec-uosl-8
 
software requirement and architecture.pdf
software requirement and architecture.pdfsoftware requirement and architecture.pdf
software requirement and architecture.pdf
 
Lecture 10 understanding requirements (2)
Lecture 10   understanding requirements (2)Lecture 10   understanding requirements (2)
Lecture 10 understanding requirements (2)
 
SE UNIT-2.pdf
SE UNIT-2.pdfSE UNIT-2.pdf
SE UNIT-2.pdf
 
System_Analysis_and_Design_Assignment_New2.ppt
System_Analysis_and_Design_Assignment_New2.pptSystem_Analysis_and_Design_Assignment_New2.ppt
System_Analysis_and_Design_Assignment_New2.ppt
 
An overview of software requirements engineering
An overview of software requirements engineeringAn overview of software requirements engineering
An overview of software requirements engineering
 

Plus de Islamia Univeristy Bahawalpur Bahawalnagar

Lec 01
Lec 01Lec 01
Computer Assembly MCQ
Computer Assembly MCQComputer Assembly MCQ

Plus de Islamia Univeristy Bahawalpur Bahawalnagar (15)

Lec 01
Lec 01Lec 01
Lec 01
 
Bridge
BridgeBridge
Bridge
 
Principles that Guide Practice
Principles that Guide PracticePrinciples that Guide Practice
Principles that Guide Practice
 
Scrum
ScrumScrum
Scrum
 
Spiral Model and other model
Spiral Model and other modelSpiral Model and other model
Spiral Model and other model
 
Lifecycle Model
Lifecycle ModelLifecycle Model
Lifecycle Model
 
Software Engineering II
Software Engineering IISoftware Engineering II
Software Engineering II
 
Computer Assembly MCQ
Computer Assembly MCQComputer Assembly MCQ
Computer Assembly MCQ
 
A.topic1. introductionandbriefhistoryofpsychology presentation-
A.topic1. introductionandbriefhistoryofpsychology presentation-A.topic1. introductionandbriefhistoryofpsychology presentation-
A.topic1. introductionandbriefhistoryofpsychology presentation-
 
3 .net framework class library
3 .net framework class library3 .net framework class library
3 .net framework class library
 
2 common language runtime
2 common language runtime2 common language runtime
2 common language runtime
 
1 what is microsoft .net framework
1 what is microsoft .net framework1 what is microsoft .net framework
1 what is microsoft .net framework
 
Foundation of Control
Foundation of ControlFoundation of Control
Foundation of Control
 
Freelancing
FreelancingFreelancing
Freelancing
 
Barriers of communication
Barriers of communicationBarriers of communication
Barriers of communication
 

Dernier

Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
Kayode Fayemi
 
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
David Celestin
 
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven CuriosityUnlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Hung Le
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
amilabibi1
 
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
ZurliaSoop
 

Dernier (17)

Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
 
My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Bailey
 
ICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdfICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdf
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
 
Introduction to Artificial intelligence.
Introduction to Artificial intelligence.Introduction to Artificial intelligence.
Introduction to Artificial intelligence.
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
 
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdfSOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
 
Zone Chairperson Role and Responsibilities New updated.pptx
Zone Chairperson Role and Responsibilities New updated.pptxZone Chairperson Role and Responsibilities New updated.pptx
Zone Chairperson Role and Responsibilities New updated.pptx
 
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven CuriosityUnlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
 
Digital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of DrupalDigital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of Drupal
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
 
in kuwait௹+918133066128....) @abortion pills for sale in Kuwait City
in kuwait௹+918133066128....) @abortion pills for sale in Kuwait Cityin kuwait௹+918133066128....) @abortion pills for sale in Kuwait City
in kuwait௹+918133066128....) @abortion pills for sale in Kuwait City
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio III
 
Dreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video TreatmentDreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video Treatment
 
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
 
lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.
 

Requirements Engineering

  • 1. Software Engineering II By: Muhammad Usman email:mu702823@gmail.com
  • 2. Requirements Engineering  Inception: ask a set of questions that establish  basic understanding of the problem  the people who want a solution  the nature of the solution that is desired, and  the effectiveness of preliminary communication and collaboration between the customer and the developer  Elicitation: elicit requirements from all stakeholders
  • 3. Requirements Engineering  Elaboration: create an analysis model that identifies data, function and behavioral requirements  Negotiation: agree on a deliverable system that is realistic for developers and customers
  • 4.  Specification: can be any one (or more) of the following:  A written document  A set of models  A formal mathematical  A collection of user scenarios (use-cases)  A prototype Requirements Engineering
  • 5.  Validation: a review mechanism that looks for  errors in content or interpretation  areas where clarification may be required  missing information  inconsistencies (a major problem when large products or systems are engineered)  conflicting or unrealistic (unachievable) requirements.  Requirements management Requirements Engineering
  • 6.  Requirements management  Requirements for computer-based systems change, and the desire to change requirements persists throughout the life of the system.  Requirements management is a set of activities that help the project team identify, control, and track requirements and changes to requirements at any time as the project proceeds.  Many of these activities are identical to the software configuration management (SCM) techniques Requirements Engineering
  • 7. Inception  Identify stakeholders  “who else do you think I should talk to?”  Recognize multiple points of view  Work toward collaboration  The first questions  Who is behind the request for this work?  Who will use the solution?  What will be the economic benefit of a successful solution  Is there another source for the solution that you need?
  • 8. Eliciting Requirements  meetings are conducted and attended by both software engineers and customers  rules for preparation and participation are established  an agenda is suggested  a "facilitator" (can be a customer, a developer, or an outsider) controls the meeting  a "definition mechanism" (can be work sheets, flip charts, or wall stickers or an electronic bulletin board, chat room or virtual forum) is used  the goal is  to identify the problem  propose elements of the solution  negotiate different approaches, and  specify a preliminary set of solution requirements
  • 9. Building the Analysis Model Elements of the analysis model  Scenario-based elements  Functional—processing narratives for software functions  Use-case—descriptions of the interaction between an “actor” and the system  Class-based elements  Implied by scenarios  Behavioral elements  State diagram  Flow-oriented elements  Data flow diagram
  • 10. Use-Cases  A collection of user scenarios that describe the thread of usage of a system  Each scenario is described from the point-of-view of an “actor”—a person or device that interacts with the software in some way  Each scenario answers the following questions:  Who is the primary actor, the secondary actor (s)?  What are the actor’s goals?  What preconditions should exist before the story begins?  What main tasks or functions are performed by the actor?  What extensions might be considered as the story is described?
  • 11. Use-Cases  What variations in the actor’s interaction are possible?  What system information will the actor acquire, produce, or change?  Will the actor have to inform the system about changes in the external environment?  What information does the actor desire from the system?  Does the actor wish to be informed about unexpected changes?
  • 12. Negotiating Requirements  Identify the key stakeholders  These are the people who will be involved in the negotiation  Determine each of the stakeholders “win conditions”  Win conditions are not always obvious  Negotiate  Work toward a set of requirements that lead to “win- win”
  • 13. Specification: IEEE/ANSI Standard 830-1993 1. Introduction 2. General description 3. Specific requirements 4. Appendices 5. Index
  • 14. SRS Template by Karl Wiegers  Table of Contents  Revision History  1. Introduction  1.1 Purpose  1.2 Document Conventions  1.3 Intended Audience and Reading Suggestions  1.4 Project Scope  1.5 References  2. Overall Description  2.1 Product Perspective  2.2 Product Features  2.3 User Classes and Characteristics  2.4 Operating Environment  2.5 Design and Implementation Constraints  2.6 User Documentation  2.7 Assumptions and Dependencies  3. System Features  3.1 System Feature 1  3.2 System Feature 2 (and so on)  4. External Interface Requirements  4.1 User Interfaces  4.2 Hardware Interfaces  4.3 Software Interfaces  4.4 Communications Interfaces  5. Other Nonfunctional Requirements  5.1 Performance Requirements  5.2 Safety Requirements  5.3 Security Requirements  5.4 Software Quality Attributes  6. Other Requirements  Appendix A: Glossary  Appendix B: Analysis Models  Appendix C: Issues List
  • 15. Validating Requirements  Is each requirement consistent with the overall objective for the system/product?  Have all requirements been specified at the proper level of abstraction? That is, do some requirements provide a level of technical detail that is inappropriate at this stage?  Is the requirement really necessary or does it represent an add-on feature that may not be essential to the objective of the system?  Is each requirement bounded and unambiguous?  Does each requirement have attribution? That is, is a source (generally, a specific individual) noted for each requirement?  Do any requirements conflict with other requirements?
  • 16.  Is each requirement achievable in the technical environment that will house the system or product?  Is each requirement testable, once implemented?  Does the requirements model properly reflect the information, function and behavior of the system to be built.  Has the requirements model been “partitioned” in a way that exposes progressively more detailed information about the system.  Have requirements patterns been used to simplify the requirements model. Have all patterns been properly validated? Are all patterns consistent with customer requirements? Validating Requirements