SlideShare a Scribd company logo
1 of 37
1
Software
Engineering
2
Requirements
Engineering
The process of establishing the services that the
requires
under
from
which
a system
it operates
and the
and is
customer
constraints
developed.
The requirements themselves are the descriptions of
the system services and constraints that are
generated during the requirements engineering
process.
Constraints
• Constraints are things that we live with in our daily lives,
accept them, and move on.
• Constraints are things that affect your product but are “out
of your control”.
• Careful planning, collaboration with internal and external
stakeholders, and holding yourself responsible for what you
say and do is the professional way of doing things.
• For example Economical Constraints, Managerial
Constraints, Technical Constraints, Social Constraints.
3
4
Types of Requirement
•User Requirements
Statements in natural language plus diagrams of the services
the system provides and its operational constraints.
Written for customers. For E.g. User Interface, Natural
language etc.
•System Requirements
A structured document setting out detailed descriptions of
the system’s functions, services and operational constraints.
For E.g. Generating Sales Report, Customers data etc.
Defines what should be implemented?
5
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.
• Domain requirements
• Constraints on the system from the domain of operation
Requirements Engineering
Requirements engineering tasks:
- Inception
- Elicitation
- Elaboration
- Negotiation
- Specification
- Validation
- Requirements Management
7
The Problems with our
Requirements Practices
•We have trouble understanding the requirements
that we do acquire from the customer
•We often record requirements in a disorganized
manner
•We spend far too little time verifying what we do
record
•Most importantly, we fail to establish a solid
foundation for the system or software that the
user wants built
(more on next slide)
8
The Problems with our Requirements
Practices (continued)
• Many software developers argue that
• Building software is so compelling that we want to jump right in
(before having a clear understanding of what is needed)
• Things will become clear as we build the software
• Project stakeholders will be able to better understand what they
need only after examining early iterations of the software
• Things change so rapidly that requirements engineering is a waste
of time
• The bottom line is producing a working program and that all else is
secondary
• All of these arguments contain some truth, especially for small projects
that take less than two or three month to complete
• However, as software grows in size and complexity, these arguments
begin to break down and can lead to a failed software project
9
Solution:
Requirements Engineering
10
Requirements Engineering Tasks
• Seven distinct tasks
• Inception
• Elicitation
• Elaboration
• Negotiation
• Specification
• Validation
• Requirements Management
• Some of these tasks may occur in parallel and all are
adapted to the needs of the project
• All strive to define what the customer wants
• All serve to establish a solid foundation for the design and
construction of the software
Requirements
Management
Validation
Inception
Elicitation
Elaboration
Negotiation
Specification
11
12
Inception Task
•During inception, the requirements engineer asks a set
of questions to establish…
• A basic understanding of the problem
• The people who want a solution
• The nature of the solution that is desired
• The effectiveness of preliminary communication and
collaboration between the customer and the developer
•Through these questions, the requirements engineer
needs to…
• Identify the stakeholders
• Recognize multiple viewpoints
• Work toward collaboration(give and take policy)
• Initiate the communication
13
The First Set of 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?
These questions focus on the customer, other stakeholders,
the overall goals, and the benefits
14
The Next Set of Questions
•How would you characterize "good" output that
would be generated by a successful solution?
•What problem(s) will this solution address?
•Can you show me (or describe) the business
environment in which the solution will be used?
These questions enable the requirements engineer to gain a
better understanding of the problem and allow the
customer to voice his or her perceptions about a solution
Requirements
Management
Validation
Inception
Elicitation
Elaboration
Negotiation
Specification
15
16
Elicitation Work Products
• A statement of need and feasibility
• A bounded statement of scope for the system or product
• A list of customers, users, and other stakeholders who
participated in requirements elicitation
• A description of the system's technical environment
• A list of requirements (organized by function) and the
domain constraints that apply to each
• A set of preliminary usage scenarios (in the form of use
cases) that provide insight into the use of the system or
product under different operating conditions
• Any prototypes developed to better define requirements
The work products will vary depending on the system, but should
include one or more of the following items
17
Elicitation Task
• Eliciting requirements is difficult because of
• Problems of scope in identifying the boundaries of the
system or specifying too much technical detail rather than
overall system objectives
• Problems of understanding what is wanted, what the
problem domain is, and what the computing environment can
handle (Information that is believed to be "obvious" is often
omitted)
• Problems of volatility because the requirements change over
time
• Elicitation may be accomplished through two activities
• Collaborative requirements gathering
• Quality function deployment
18
Basic Guidelines of Collaborative
Requirements Gathering
• Meetings are conducted and attended by both software
engineers, customers, and other interested stakeholders
• Rules for preparation and participation are established
• An agenda is suggested that is formal enough to cover all
important points but informal enough to encourage the
free flow of ideas
• A "facilitator" (customer, developer, or outsider) controls
the meeting
• The goal is to identify the problem, propose elements of
the solution, negotiate different approaches, and specify a
preliminary set of solution requirements
19
Quality Function Deployment
• This is a technique that translates the needs of the
customer into technical requirements for software
• It emphasizes an understanding of what is valuable to the
customer and then deploys these values throughout the
engineering process through functions, information, and
tasks
• It identifies three types of requirements
• Normal requirements: These requirements are the objectives and
goals stated for a product or system during meetings with the
customer
• Expected requirements: These requirements are implicit to the
product or system and may be so fundamental that the customer
does not explicitly state them
• Exciting requirements: These requirements are for features that go
beyond the customer's expectations and prove to be very satisfying
when present
Requirements
Management
Validation
Inception
Elicitation
Elaboration
Negotiation
Specification
20
21
Elaboration Task
• During elaboration, the software engineer takes the
information obtained during inception and elicitation and
begins to expand and refine it
• Elaboration focuses on developing a refined technical
model of software functions, features, and constraints
• It is an analysis modeling task
• Use cases are developed
• Domain classes are identified along with their attributes and
relationships
• State machine diagrams are used to capture the life on an object
• The end result is an analysis model that defines the
functional, informational, and behavioral model of the
problem
22
Developing Use Cases
• Step One – Define the set of actors that will be involved in
the story
• Actors are people, devices, or other systems that use the system or
product within the context of the function and behavior that is to be
described
• Actors are anything that communicate with the system or product
and that are external to the system itself
• Step Two – Develop use cases, where each one answers a
set of questions
(More on next slide)
23
Questions Commonly Answered by a
Use Case
• Who is the primary actor(s), the secondary actor(s)?
• What are the actor’s goals?
• What preconditions should exist before the scenario begins?
• What main tasks or functions are performed by the actor?
• What exceptions might be considered as the scenario is described?
• 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?
Requirements
Management
Validation
Inception
Elicitation
Elaboration
Negotiation
Specification
24
25
Negotiation Task
• During negotiation, the software engineer reconciles the
conflicts between what the customer wants and what can
be achieved given limited business resources
• Requirements are ranked (i.e., prioritized) by the
customers, users, and other stakeholders
• Risks associated with each requirement are identified and
analyzed
• Rough guesses of development effort are made and used
to assess the impact of each requirement on project cost
and delivery time
• Using an iterative approach, requirements are eliminated,
combined and/or modified so that each party achieves
some measure of satisfaction
Requirements
Management
Validation
Inception
Elicitation
Elaboration
Negotiation
Specification
26
27
Specification Task
• A specification is the final work product produced by the
requirements engineer
• It is normally in the form of a software requirements
specification
• It serves as the foundation for subsequent software
engineering activities
• It describes the function and performance of a computer-
based system and the constraints that will govern its
development
• It formalizes requirements of the proposed software in
both a graphical and textual format
28
Typical Contents of a Software
Requirements Specification
• Requirements
• Software requirements grouped by capabilities (i.e., functions,
objects)
• Software external interface requirements
• Software internal interface requirements
• Software internal data requirements
• Other software requirements (safety, security, privacy,
environment, hardware, software, communications, quality,
personnel, training, logistics, etc.)
• Design and implementation constraints
• Qualification provisions to ensure each requirement has
been met
• Demonstration, test, analysis, inspection, etc.
Requirements
Management
Validation
Inception
Elicitation
Elaboration
Negotiation
Specification
29
30
Validation Task
• During validation, the work products produced as a result
of requirements engineering are assessed for quality
• The specification is examined to ensure that
• all software requirements have been stated unambiguously
• inconsistencies, omissions, and errors have been detected and
corrected
• the work products conform to the standards established for the
process, the project, and the product
• The formal technical review serves as the primary
requirements validation mechanism
• Members include software engineers, customers, users, and other
stakeholders
Questions to ask when
Validating Requirements
• Is each requirement consistent with the overall objective
for the system/product?
• Have all requirements been specified at the proper level?
That is, do some requirements provide a level of technical
detail that is inappropriate at this stage?
• Is each requirement unambiguous?
• Does each requirement have attribution? That is, is a
source (generally, a specific individual) noted for each
requirement?
31
(more on next slide)
32
Questions to ask when
Validating Requirements
(continued)
• 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?
• Approaches: Demonstration, actual test, analysis, or inspection
• 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?
Requirements
Management
Validation
Inception
Elicitation
Elaboration
Negotiation
Specification
33
34
Requirements Management
Task
• During requirements management, the project team
performs a set of activities to identify, control, and track
requirements and changes to the requirements at any time
as the project proceeds
• Each requirement is assigned a unique identifier
• The requirements are then placed into one or more
traceability tables
• These tables may be stored in a database that relate
features, sources, dependencies, subsystems, and
interfaces to the requirements
• A requirements traceability table is also placed at the end
of the software requirements specification
Summary
35
Requirements
Management
Validation
Inception
Elicitation
Elaboration
Negotiation
Specification

36
37

More Related Content

Similar to SRE.pptx

04 fse understandingrequirements
04 fse understandingrequirements04 fse understandingrequirements
04 fse understandingrequirementsMohesh Chandran
 
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
 
Requirement engineering in S/W Engineering
Requirement engineering in S/W EngineeringRequirement engineering in S/W Engineering
Requirement engineering in S/W EngineeringMikel Raj
 
requirements analysis and design
requirements analysis and designrequirements analysis and design
requirements analysis and designPreeti Mishra
 
Requirements engineering process in software engineering
Requirements engineering process in software engineeringRequirements engineering process in software engineering
Requirements engineering process in software engineeringPreeti Mishra
 
Requirements engineering
Requirements engineeringRequirements engineering
Requirements engineeringSutha31
 
5. SE RequirementEngineering task.ppt
5. SE RequirementEngineering task.ppt5. SE RequirementEngineering task.ppt
5. SE RequirementEngineering task.pptHaiderAli252366
 
Requirement Engineering.pdf
Requirement Engineering.pdfRequirement Engineering.pdf
Requirement Engineering.pdfMuhammad Imran
 
Requirement Analysis
Requirement AnalysisRequirement Analysis
Requirement AnalysisSADEED AMEEN
 
Requirement Engineering Processes & Eliciting Requirement
Requirement Engineering Processes & Eliciting Requirement Requirement Engineering Processes & Eliciting Requirement
Requirement Engineering Processes & Eliciting Requirement AqsaHayat3
 
Good PracticesFor RequirementEngineering.pptx
Good PracticesFor RequirementEngineering.pptxGood PracticesFor RequirementEngineering.pptx
Good PracticesFor RequirementEngineering.pptxzimalfayzankhan
 
Unit2 Software engineering UPTU
Unit2 Software engineering UPTUUnit2 Software engineering UPTU
Unit2 Software engineering UPTUMohammad Faizan
 
SE Unit 2(1).pptx
SE Unit 2(1).pptxSE Unit 2(1).pptx
SE Unit 2(1).pptxaryan631999
 
Software engg. pressman_ch-6 & 7
Software engg. pressman_ch-6 & 7Software engg. pressman_ch-6 & 7
Software engg. pressman_ch-6 & 7Dhairya Joshi
 
vu-re-lecture-06 requirement engineer.ppt
vu-re-lecture-06 requirement engineer.pptvu-re-lecture-06 requirement engineer.ppt
vu-re-lecture-06 requirement engineer.pptubaidullah75790
 

Similar to SRE.pptx (20)

04 fse understandingrequirements
04 fse understandingrequirements04 fse understandingrequirements
04 fse understandingrequirements
 
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
 
Requirement engineering in S/W Engineering
Requirement engineering in S/W EngineeringRequirement engineering in S/W Engineering
Requirement engineering in S/W Engineering
 
requirements analysis and design
requirements analysis and designrequirements analysis and design
requirements analysis and design
 
Requirements engineering process in software engineering
Requirements engineering process in software engineeringRequirements engineering process in software engineering
Requirements engineering process in software engineering
 
Requirements engineering
Requirements engineeringRequirements engineering
Requirements engineering
 
UNIT-II MMB.pptx
UNIT-II MMB.pptxUNIT-II MMB.pptx
UNIT-II MMB.pptx
 
5. SE RequirementEngineering task.ppt
5. SE RequirementEngineering task.ppt5. SE RequirementEngineering task.ppt
5. SE RequirementEngineering task.ppt
 
Development Guideline
Development GuidelineDevelopment Guideline
Development Guideline
 
Requirement Engineering.pdf
Requirement Engineering.pdfRequirement Engineering.pdf
Requirement Engineering.pdf
 
Requirement Analysis
Requirement AnalysisRequirement Analysis
Requirement Analysis
 
Requirement Engineering Processes & Eliciting Requirement
Requirement Engineering Processes & Eliciting Requirement Requirement Engineering Processes & Eliciting Requirement
Requirement Engineering Processes & Eliciting Requirement
 
Good PracticesFor RequirementEngineering.pptx
Good PracticesFor RequirementEngineering.pptxGood PracticesFor RequirementEngineering.pptx
Good PracticesFor RequirementEngineering.pptx
 
Unit2 Software engineering UPTU
Unit2 Software engineering UPTUUnit2 Software engineering UPTU
Unit2 Software engineering UPTU
 
SE Unit 2(1).pptx
SE Unit 2(1).pptxSE Unit 2(1).pptx
SE Unit 2(1).pptx
 
Software engg. pressman_ch-6 & 7
Software engg. pressman_ch-6 & 7Software engg. pressman_ch-6 & 7
Software engg. pressman_ch-6 & 7
 
vu-re-lecture-06 requirement engineer.ppt
vu-re-lecture-06 requirement engineer.pptvu-re-lecture-06 requirement engineer.ppt
vu-re-lecture-06 requirement engineer.ppt
 
Requirement Engineering
Requirement EngineeringRequirement Engineering
Requirement Engineering
 
Unit 2
Unit 2Unit 2
Unit 2
 
Requirement Analysis - Software Enigneering
Requirement Analysis - Software EnigneeringRequirement Analysis - Software Enigneering
Requirement Analysis - Software Enigneering
 

Recently uploaded

NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...Amil baba
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptAfnanAhmad53
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxhublikarsn
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)ChandrakantDivate1
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...HenryBriggs2
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxMustafa Ahmed
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdfKamal Acharya
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...josephjonse
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Ramkumar k
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiessarkmank1
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelDrAjayKumarYadav4
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 

Recently uploaded (20)

NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .ppt
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdf
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata Model
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 

SRE.pptx

  • 2. 2 Requirements Engineering The process of establishing the services that the requires under from which a system it operates and the and is customer constraints developed. The requirements themselves are the descriptions of the system services and constraints that are generated during the requirements engineering process.
  • 3. Constraints • Constraints are things that we live with in our daily lives, accept them, and move on. • Constraints are things that affect your product but are “out of your control”. • Careful planning, collaboration with internal and external stakeholders, and holding yourself responsible for what you say and do is the professional way of doing things. • For example Economical Constraints, Managerial Constraints, Technical Constraints, Social Constraints. 3
  • 4. 4 Types of Requirement •User Requirements Statements in natural language plus diagrams of the services the system provides and its operational constraints. Written for customers. For E.g. User Interface, Natural language etc. •System Requirements A structured document setting out detailed descriptions of the system’s functions, services and operational constraints. For E.g. Generating Sales Report, Customers data etc. Defines what should be implemented?
  • 5. 5 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. • Domain requirements • Constraints on the system from the domain of operation
  • 6. Requirements Engineering Requirements engineering tasks: - Inception - Elicitation - Elaboration - Negotiation - Specification - Validation - Requirements Management
  • 7. 7 The Problems with our Requirements Practices •We have trouble understanding the requirements that we do acquire from the customer •We often record requirements in a disorganized manner •We spend far too little time verifying what we do record •Most importantly, we fail to establish a solid foundation for the system or software that the user wants built (more on next slide)
  • 8. 8 The Problems with our Requirements Practices (continued) • Many software developers argue that • Building software is so compelling that we want to jump right in (before having a clear understanding of what is needed) • Things will become clear as we build the software • Project stakeholders will be able to better understand what they need only after examining early iterations of the software • Things change so rapidly that requirements engineering is a waste of time • The bottom line is producing a working program and that all else is secondary • All of these arguments contain some truth, especially for small projects that take less than two or three month to complete • However, as software grows in size and complexity, these arguments begin to break down and can lead to a failed software project
  • 10. 10 Requirements Engineering Tasks • Seven distinct tasks • Inception • Elicitation • Elaboration • Negotiation • Specification • Validation • Requirements Management • Some of these tasks may occur in parallel and all are adapted to the needs of the project • All strive to define what the customer wants • All serve to establish a solid foundation for the design and construction of the software
  • 12. 12 Inception Task •During inception, the requirements engineer asks a set of questions to establish… • A basic understanding of the problem • The people who want a solution • The nature of the solution that is desired • The effectiveness of preliminary communication and collaboration between the customer and the developer •Through these questions, the requirements engineer needs to… • Identify the stakeholders • Recognize multiple viewpoints • Work toward collaboration(give and take policy) • Initiate the communication
  • 13. 13 The First Set of 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? These questions focus on the customer, other stakeholders, the overall goals, and the benefits
  • 14. 14 The Next Set of Questions •How would you characterize "good" output that would be generated by a successful solution? •What problem(s) will this solution address? •Can you show me (or describe) the business environment in which the solution will be used? These questions enable the requirements engineer to gain a better understanding of the problem and allow the customer to voice his or her perceptions about a solution
  • 16. 16 Elicitation Work Products • A statement of need and feasibility • A bounded statement of scope for the system or product • A list of customers, users, and other stakeholders who participated in requirements elicitation • A description of the system's technical environment • A list of requirements (organized by function) and the domain constraints that apply to each • A set of preliminary usage scenarios (in the form of use cases) that provide insight into the use of the system or product under different operating conditions • Any prototypes developed to better define requirements The work products will vary depending on the system, but should include one or more of the following items
  • 17. 17 Elicitation Task • Eliciting requirements is difficult because of • Problems of scope in identifying the boundaries of the system or specifying too much technical detail rather than overall system objectives • Problems of understanding what is wanted, what the problem domain is, and what the computing environment can handle (Information that is believed to be "obvious" is often omitted) • Problems of volatility because the requirements change over time • Elicitation may be accomplished through two activities • Collaborative requirements gathering • Quality function deployment
  • 18. 18 Basic Guidelines of Collaborative Requirements Gathering • Meetings are conducted and attended by both software engineers, customers, and other interested stakeholders • Rules for preparation and participation are established • An agenda is suggested that is formal enough to cover all important points but informal enough to encourage the free flow of ideas • A "facilitator" (customer, developer, or outsider) controls the meeting • The goal is to identify the problem, propose elements of the solution, negotiate different approaches, and specify a preliminary set of solution requirements
  • 19. 19 Quality Function Deployment • This is a technique that translates the needs of the customer into technical requirements for software • It emphasizes an understanding of what is valuable to the customer and then deploys these values throughout the engineering process through functions, information, and tasks • It identifies three types of requirements • Normal requirements: These requirements are the objectives and goals stated for a product or system during meetings with the customer • Expected requirements: These requirements are implicit to the product or system and may be so fundamental that the customer does not explicitly state them • Exciting requirements: These requirements are for features that go beyond the customer's expectations and prove to be very satisfying when present
  • 21. 21 Elaboration Task • During elaboration, the software engineer takes the information obtained during inception and elicitation and begins to expand and refine it • Elaboration focuses on developing a refined technical model of software functions, features, and constraints • It is an analysis modeling task • Use cases are developed • Domain classes are identified along with their attributes and relationships • State machine diagrams are used to capture the life on an object • The end result is an analysis model that defines the functional, informational, and behavioral model of the problem
  • 22. 22 Developing Use Cases • Step One – Define the set of actors that will be involved in the story • Actors are people, devices, or other systems that use the system or product within the context of the function and behavior that is to be described • Actors are anything that communicate with the system or product and that are external to the system itself • Step Two – Develop use cases, where each one answers a set of questions (More on next slide)
  • 23. 23 Questions Commonly Answered by a Use Case • Who is the primary actor(s), the secondary actor(s)? • What are the actor’s goals? • What preconditions should exist before the scenario begins? • What main tasks or functions are performed by the actor? • What exceptions might be considered as the scenario is described? • 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?
  • 25. 25 Negotiation Task • During negotiation, the software engineer reconciles the conflicts between what the customer wants and what can be achieved given limited business resources • Requirements are ranked (i.e., prioritized) by the customers, users, and other stakeholders • Risks associated with each requirement are identified and analyzed • Rough guesses of development effort are made and used to assess the impact of each requirement on project cost and delivery time • Using an iterative approach, requirements are eliminated, combined and/or modified so that each party achieves some measure of satisfaction
  • 27. 27 Specification Task • A specification is the final work product produced by the requirements engineer • It is normally in the form of a software requirements specification • It serves as the foundation for subsequent software engineering activities • It describes the function and performance of a computer- based system and the constraints that will govern its development • It formalizes requirements of the proposed software in both a graphical and textual format
  • 28. 28 Typical Contents of a Software Requirements Specification • Requirements • Software requirements grouped by capabilities (i.e., functions, objects) • Software external interface requirements • Software internal interface requirements • Software internal data requirements • Other software requirements (safety, security, privacy, environment, hardware, software, communications, quality, personnel, training, logistics, etc.) • Design and implementation constraints • Qualification provisions to ensure each requirement has been met • Demonstration, test, analysis, inspection, etc.
  • 30. 30 Validation Task • During validation, the work products produced as a result of requirements engineering are assessed for quality • The specification is examined to ensure that • all software requirements have been stated unambiguously • inconsistencies, omissions, and errors have been detected and corrected • the work products conform to the standards established for the process, the project, and the product • The formal technical review serves as the primary requirements validation mechanism • Members include software engineers, customers, users, and other stakeholders
  • 31. Questions to ask when Validating Requirements • Is each requirement consistent with the overall objective for the system/product? • Have all requirements been specified at the proper level? That is, do some requirements provide a level of technical detail that is inappropriate at this stage? • Is each requirement unambiguous? • Does each requirement have attribution? That is, is a source (generally, a specific individual) noted for each requirement? 31 (more on next slide)
  • 32. 32 Questions to ask when Validating Requirements (continued) • 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? • Approaches: Demonstration, actual test, analysis, or inspection • 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?
  • 34. 34 Requirements Management Task • During requirements management, the project team performs a set of activities to identify, control, and track requirements and changes to the requirements at any time as the project proceeds • Each requirement is assigned a unique identifier • The requirements are then placed into one or more traceability tables • These tables may be stored in a database that relate features, sources, dependencies, subsystems, and interfaces to the requirements • A requirements traceability table is also placed at the end of the software requirements specification
  • 36. 36
  • 37. 37