SlideShare a Scribd company logo
1 of 24
FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING
Topic: Requirement Elicitation, Analysis, System Models
1
Overview of Software Requirements
• Descriptions and specifications of a system and the
process whereby they are derived.
• Objectives
• To introduce the concepts of user and system
requirements
• To describe functional and non-functional requirements
• To describe the principal requirements engineering
activities
• To introduce techniques for requirements elicitation
and analysis
Requirements engineering
• The process of establishing the services that the customer requires
from a system and the constraints under which it operates is
developed.
• The requirements themselves are the descriptions of the system
services and constraints that are generated during the requirements
engineering process
• Requirements specify what the system is supposed to do, but not
how the system is to accomplish its task.
What is a requirement?
• It may span a wide range of statements
• a high-level abstract statement of a system service or system
constraint
• a detailed mathematical functional specification
• Types of requirements
• User requirements
• System requirements
• Software specifications – provide more (design) detail
User requirements
• User requirements are defined using natural language, tables, and
diagrams
• Problems with natural language
• Precision vs. understandability
• Functional vs. non-functional requirements confusion
• Requirements amalgamation
• Should describe functional and non-functional requirements so that they
are understandable by system users who don’t have detailed technical
knowledge
System requirements
• More detailed specifications of user requirements
• Serve as a basis for designing the system
• May be used as part of the system contract
• System requirements may be expressed using system models.
Definitions and specifications
1. The software must provide a means of representing and
1. accessing external files created by other tools.
1.1 The user should be provided withfacilities to define the type of
1.2 external files.
1.2 Each external file type may have an associated tool which may be
1.2 applied to the file.
1.3 Each external file type may be represented as a specific icon on
1.2 the user’s display.
1.4 Facilities shouldbe provided for the icon representing an
1.2 external file type tobe definedby theuser.
1.5 When a user selects an iconrepresenting an external file, the
1.2 effect of thatselection is to apply the tool associated withthe type of
1.2 the external file to the file representedby the selected icon.
Requirements definition
Requirements specification
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.
• 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
• Requirements that come from the application domain of the system and that
reflect characteristics of that domain
Examples of functional requirements
• The user shall be able to search either all of the initial set of
databases or select a subset from it.
• The system shall provide appropriate viewers for the user to read
documents in the document store.
• Every order shall be allocated a unique identifier (ORDER_ID) which
the user shall be able to copy to the account’s permanent storage
area.
Requirements precision, completeness, and consistency
• The principle requirements should be precise,
complete, and consistent
• Precise
• They should state exactly what is desired from the system
• Complete
• They should include descriptions of all facilities required
from the system
• Consistent
• There should be no conflicts or contradictions in the
descriptions of the system facilities
• In practice, it is very difficult to produce a precised,
complete and consistent requirements document
Ambiguous/imprecise requirement
4.A.5 The database shall only support the generation and control of
configuration objects; that is, objects which are themselves groupings of other
objects in the database. The configuration control facilities shall allow access
to the objects in a version group by the use of an incomplete name.
• What about non-configuration objects?
• What about other database functionality?
• What about level of service other than support?
• Something else?
Non-functional requirement types
Performance
requirements
Space
requirements
Usability
requirements
Efficiency
requirements
Reliability
requirements
Portability
requirements
Interoperability
requirements
Ethical
requirements
Legislative
requirements
Implementation
requirements
Standards
requirements
Delivery
requirements
Safety
requirements
Privacy
requirements
Product
requirements
Organizational
requirements
External
requirements
Non-functional
requirements
Non-functional requirements examples
• Product requirement
• 4.C.8 It shall be possible for all necessary communication between
the APSE and the user to be expressed in the standard Ada
character set
• Organisational requirement
• 9.3.2 The system development process and deliverable
documents shall conform to the process and deliverables defined
in XYZCo-SP-STAN-95
• External requirement
• 7.6.5 The system shall not disclose any personal information
about customers apart from their name and reference number to
the operators of the system
Non-functional requirements measures
Property Measure
Speed Processed transactions/second
User/Event response time
Screen refresh time
Size K Bytes
Number of RAM chips
Ease of use Training time
Number of help frames
Reliability Mean time to failure
Probability of unavailability
Rate of failure occurrence
Availability
Robustness Time to restart after failure
Percentage of events causing failure
Probability of data corruption on failure
Portability Percentage of target dependent statements
Number of target systems
Requirements interaction
• Conflicts between different non-functional
requirements are common in complex systems
• Spacecraft system
• To minimise weight, the number of separate chips in the
system should be minimised
• To minimise power consumption, lower power chips
should be used
• But, using low power chips may mean that more chips
have to be used
Which is the most critical requirement?
Domain Requirement:
Train protection system
The deceleration of the train shall be computed as:
Dtrain = Dcontrol + Dgradient
where Dgradient is 9.81ms2 * compensated gradient/alpha and where the
values of 9.81ms2 /alpha are known for different types of train.
• Problems
– Understandability
• Requirements are expressed in the language of the
application domain
• This is often not understood by software engineers
– Implicitness
• Domain specialists understand the area so well so they do
not think of making the domain requirements explicit
Requirements document
• Specify external system behaviour
• Specify implementation constraints
• Easy to change
• Serve as reference tool for maintenance
• Record forethought about the life cycle of the system
• i.e. predict changes
• Characterise responses to unexpected events
Users of a
requirements
document
Use the requirements to
develop validation tests for
the system
Use the requirements
document to plan a bid for
the system and to plan the
system development process
Use the requirements to
understand what system is to
be developed
System test
engineers
Managers
System engineers
Specify the requirements and
read them to check that they
meet their needs. They
specify changes to the
requirements
System customers
Use the requirements to help
understand the system and
the relationships between its
parts
System
maintenance
engineers
Requirements engineering process
Feasibility
study
Requirements
elicitation and
analysis
Requirements
specification
Requirements
validation
Feasibility
report
System
models
User and system
requirements
Requirements
document
Feasibility studies
• A feasibility study decides whether or not the
proposed system is worthwhile
• A short focused study that checks
• If the system contributes to organisational objectives
• If the system can be engineered using current technology
and within budget
• If the system can be integrated with other systems that are
used
Elicitation and analysis
• This process is called requirements discovery or requirements
elicitation
• Involves technical staff working with customers to find out
• the application domain
• the services that the system should provide
• the system’s operational constraints
• May involve end-users, managers, engineers involved in maintenance,
domain experts, trade unions, etc.
• These are called stakeholders
Problems of requirements analysis
• Stakeholders don’t know what they really want
• Stakeholders express requirements in their own
terms
• Different stakeholders may have conflicting
requirements.
• Organisational and political factors may influence
the system requirements
• The requirements may change during the analysis
process
• New stakeholders may emerge and the business
environment change
Requirements validation
• Concerned with demonstrating that the requirements
define the system that the customer really wants.
• Requirements error costs are high so validation is very
important
• Fixing a requirements error after delivery may cost up to 100
times the cost of fixing an implementation error.
• Requirements checking
• Validity
• Consistency
• Completeness
• Realism
• Verifiability
Requirements validation techniques
• Reviews
• Systematic manual analysis of the requirements.
• Prototyping
• Using an executable model of the system to check requirements.
• Test-case generation
• Developing tests for requirements to check testability
• Automated consistency analysis
• Checking the consistency of a structured requirements description

More Related Content

What's hot

Software requirement engineering
Software requirement engineeringSoftware requirement engineering
Software requirement engineeringSyed Zaid Irshad
 
Introduction To Software Concepts Unit 1 & 2
Introduction To Software Concepts Unit 1 & 2Introduction To Software Concepts Unit 1 & 2
Introduction To Software Concepts Unit 1 & 2Raj vardhan
 
Software Engineering requirements
Software Engineering requirementsSoftware Engineering requirements
Software Engineering requirementsAnil Pokhrel
 
Software requirements specification
Software requirements specificationSoftware requirements specification
Software requirements specificationlavanya marichamy
 
Software Engineering : Process Models
Software Engineering : Process ModelsSoftware Engineering : Process Models
Software Engineering : Process ModelsAjit Nayak
 
Website's functional and non functional requirements
Website's functional and non functional requirementsWebsite's functional and non functional requirements
Website's functional and non functional requirementsOZ Assignment Help Australia
 
Software Requirements
Software RequirementsSoftware Requirements
Software RequirementsNethan Shaik
 
software requirements
 software requirements software requirements
software requirementsZaman Khan
 
W4 lecture 7&8 - requirements gathering
W4 lecture 7&8 - requirements gatheringW4 lecture 7&8 - requirements gathering
W4 lecture 7&8 - requirements gatheringFareeha Iftikhar
 
Software requirement and specification
Software requirement and specificationSoftware requirement and specification
Software requirement and specificationAman Adhikari
 
2 software requirements-02
2 software requirements-022 software requirements-02
2 software requirements-02Zaman Khan
 
Software Quality Attributes
Software Quality AttributesSoftware Quality Attributes
Software Quality AttributesHayim Makabee
 
Requirement specification (SRS)
Requirement specification (SRS)Requirement specification (SRS)
Requirement specification (SRS)kunj desai
 

What's hot (20)

Software requirement engineering
Software requirement engineeringSoftware requirement engineering
Software requirement engineering
 
Introduction To Software Concepts Unit 1 & 2
Introduction To Software Concepts Unit 1 & 2Introduction To Software Concepts Unit 1 & 2
Introduction To Software Concepts Unit 1 & 2
 
Software Engineering requirements
Software Engineering requirementsSoftware Engineering requirements
Software Engineering requirements
 
Development Guideline
Development GuidelineDevelopment Guideline
Development Guideline
 
Software requirements specification
Software requirements specificationSoftware requirements specification
Software requirements specification
 
Software Engineering : Process Models
Software Engineering : Process ModelsSoftware Engineering : Process Models
Software Engineering : Process Models
 
sdlc.pptx
sdlc.pptxsdlc.pptx
sdlc.pptx
 
6. software requirements
6. software requirements6. software requirements
6. software requirements
 
Coding - SDLC Model
Coding - SDLC ModelCoding - SDLC Model
Coding - SDLC Model
 
Website's functional and non functional requirements
Website's functional and non functional requirementsWebsite's functional and non functional requirements
Website's functional and non functional requirements
 
Requirement Analysis - Software Enigneering
Requirement Analysis - Software EnigneeringRequirement Analysis - Software Enigneering
Requirement Analysis - Software Enigneering
 
Software Requirements
Software RequirementsSoftware Requirements
Software Requirements
 
software requirements
 software requirements software requirements
software requirements
 
W4 lecture 7&8 - requirements gathering
W4 lecture 7&8 - requirements gatheringW4 lecture 7&8 - requirements gathering
W4 lecture 7&8 - requirements gathering
 
Unit 5
Unit 5Unit 5
Unit 5
 
Software requirement and specification
Software requirement and specificationSoftware requirement and specification
Software requirement and specification
 
2 software requirements-02
2 software requirements-022 software requirements-02
2 software requirements-02
 
Software Quality Attributes
Software Quality AttributesSoftware Quality Attributes
Software Quality Attributes
 
Requirement specification (SRS)
Requirement specification (SRS)Requirement specification (SRS)
Requirement specification (SRS)
 
Software Design - SDLC Model
Software Design - SDLC ModelSoftware Design - SDLC Model
Software Design - SDLC Model
 

Similar to 6. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING.ppt

1 Software Requirements Descriptions and specification.docx
1 Software Requirements Descriptions and specification.docx1 Software Requirements Descriptions and specification.docx
1 Software Requirements Descriptions and specification.docxjeremylockett77
 
Software engineering lecture 1
Software engineering  lecture 1Software engineering  lecture 1
Software engineering lecture 1JusperKato
 
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
 
SE Unit 2(1).pptx
SE Unit 2(1).pptxSE Unit 2(1).pptx
SE Unit 2(1).pptxaryan631999
 
Se lect9 btech
Se lect9 btechSe lect9 btech
Se lect9 btechIIITA
 
Software requirement and specification
Software requirement and specificationSoftware requirement and specification
Software requirement and specificationAman Adhikari
 
software requirement specifcation.pptx
software requirement specifcation.pptxsoftware requirement specifcation.pptx
software requirement specifcation.pptxSACHINMAURYA57
 
Requirements engineering
Requirements engineeringRequirements engineering
Requirements engineeringSutha31
 
04 fse understandingrequirements
04 fse understandingrequirements04 fse understandingrequirements
04 fse understandingrequirementsMohesh Chandran
 
Chapter 4.pptx
Chapter 4.pptxChapter 4.pptx
Chapter 4.pptxzaaakditte
 
8 requirements engineering1
8 requirements engineering18 requirements engineering1
8 requirements engineering1Lilia Sfaxi
 
Requirement Engineering
Requirement EngineeringRequirement Engineering
Requirement EngineeringMubashir Yasin
 

Similar to 6. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING.ppt (20)

1 Software Requirements Descriptions and specification.docx
1 Software Requirements Descriptions and specification.docx1 Software Requirements Descriptions and specification.docx
1 Software Requirements Descriptions and specification.docx
 
Software engineering lecture 1
Software engineering  lecture 1Software engineering  lecture 1
Software engineering lecture 1
 
Software Requirements engineering
Software Requirements engineeringSoftware Requirements engineering
Software Requirements engineering
 
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
 
SE Unit 2(1).pptx
SE Unit 2(1).pptxSE Unit 2(1).pptx
SE Unit 2(1).pptx
 
Se lect9 btech
Se lect9 btechSe lect9 btech
Se lect9 btech
 
Software requirement and specification
Software requirement and specificationSoftware requirement and specification
Software requirement and specification
 
software requirement specifcation.pptx
software requirement specifcation.pptxsoftware requirement specifcation.pptx
software requirement specifcation.pptx
 
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
 
04 fse understandingrequirements
04 fse understandingrequirements04 fse understandingrequirements
04 fse understandingrequirements
 
Unit II- Hardware design & testing methods1 - Electronic Product Design
Unit II- Hardware design & testing methods1 - Electronic Product DesignUnit II- Hardware design & testing methods1 - Electronic Product Design
Unit II- Hardware design & testing methods1 - Electronic Product Design
 
3. 1 req elicitation
3. 1 req elicitation3. 1 req elicitation
3. 1 req elicitation
 
SE-Unit II.pdf
SE-Unit II.pdfSE-Unit II.pdf
SE-Unit II.pdf
 
SRE_Lecture_1,2,3,4.pptx
SRE_Lecture_1,2,3,4.pptxSRE_Lecture_1,2,3,4.pptx
SRE_Lecture_1,2,3,4.pptx
 
Soft requirement
Soft requirementSoft requirement
Soft requirement
 
Chapter 4.pptx
Chapter 4.pptxChapter 4.pptx
Chapter 4.pptx
 
8 requirements engineering1
8 requirements engineering18 requirements engineering1
8 requirements engineering1
 
Requirement Engineering
Requirement EngineeringRequirement Engineering
Requirement Engineering
 

More from PedadaSaikumar

9. Information Technology Project Management.pdf
9. Information Technology Project Management.pdf9. Information Technology Project Management.pdf
9. Information Technology Project Management.pdfPedadaSaikumar
 
7. (lecture 5) Project scheduling..ppt
7. (lecture 5) Project scheduling..ppt7. (lecture 5) Project scheduling..ppt
7. (lecture 5) Project scheduling..pptPedadaSaikumar
 
2. Project identification.ppt
2. Project identification.ppt2. Project identification.ppt
2. Project identification.pptPedadaSaikumar
 
3. Demand and market analysis (lecture 2).ppt
3. Demand and market analysis (lecture 2).ppt3. Demand and market analysis (lecture 2).ppt
3. Demand and market analysis (lecture 2).pptPedadaSaikumar
 
8. (lecture 6) Project Cost Control.ppt
8. (lecture 6) Project Cost Control.ppt8. (lecture 6) Project Cost Control.ppt
8. (lecture 6) Project Cost Control.pptPedadaSaikumar
 

More from PedadaSaikumar (9)

9. Information Technology Project Management.pdf
9. Information Technology Project Management.pdf9. Information Technology Project Management.pdf
9. Information Technology Project Management.pdf
 
7. (lecture 5) Project scheduling..ppt
7. (lecture 5) Project scheduling..ppt7. (lecture 5) Project scheduling..ppt
7. (lecture 5) Project scheduling..ppt
 
5. COCOMO.pdf
5. COCOMO.pdf5. COCOMO.pdf
5. COCOMO.pdf
 
4. Lecture 3.ppt
4. Lecture 3.ppt4. Lecture 3.ppt
4. Lecture 3.ppt
 
2. Project identification.ppt
2. Project identification.ppt2. Project identification.ppt
2. Project identification.ppt
 
3. Demand and market analysis (lecture 2).ppt
3. Demand and market analysis (lecture 2).ppt3. Demand and market analysis (lecture 2).ppt
3. Demand and market analysis (lecture 2).ppt
 
8. (lecture 6) Project Cost Control.ppt
8. (lecture 6) Project Cost Control.ppt8. (lecture 6) Project Cost Control.ppt
8. (lecture 6) Project Cost Control.ppt
 
1. PP.pptx
1. PP.pptx1. PP.pptx
1. PP.pptx
 
empathy map
empathy mapempathy map
empathy map
 

Recently uploaded

Unlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdfUnlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdfOnline Income Engine
 
Best Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaBest Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaShree Krishna Exports
 
GD Birla and his contribution in management
GD Birla and his contribution in managementGD Birla and his contribution in management
GD Birla and his contribution in managementchhavia330
 
Event mailer assignment progress report .pdf
Event mailer assignment progress report .pdfEvent mailer assignment progress report .pdf
Event mailer assignment progress report .pdftbatkhuu1
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsMichael W. Hawkins
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...Paul Menig
 
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Howrah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Roomdivyansh0kumar0
 
Understanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key InsightsUnderstanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key Insightsseribangash
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...anilsa9823
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxAndy Lambert
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLSeo
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Dave Litwiller
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageMatteo Carbone
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation SlidesKeppelCorporation
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsApsara Of India
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Delhi Call girls
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.Aaiza Hassan
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 

Recently uploaded (20)

Unlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdfUnlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdf
 
Best Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaBest Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in India
 
GD Birla and his contribution in management
GD Birla and his contribution in managementGD Birla and his contribution in management
GD Birla and his contribution in management
 
Event mailer assignment progress report .pdf
Event mailer assignment progress report .pdfEvent mailer assignment progress report .pdf
Event mailer assignment progress report .pdf
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael Hawkins
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...
 
Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow ₹,9517
Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow ₹,9517Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow ₹,9517
Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow ₹,9517
 
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Howrah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
 
Understanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key InsightsUnderstanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key Insights
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
 
Forklift Operations: Safety through Cartoons
Forklift Operations: Safety through CartoonsForklift Operations: Safety through Cartoons
Forklift Operations: Safety through Cartoons
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 

6. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING.ppt

  • 1. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING Topic: Requirement Elicitation, Analysis, System Models 1
  • 2. Overview of Software Requirements • Descriptions and specifications of a system and the process whereby they are derived. • Objectives • To introduce the concepts of user and system requirements • To describe functional and non-functional requirements • To describe the principal requirements engineering activities • To introduce techniques for requirements elicitation and analysis
  • 3. Requirements engineering • The process of establishing the services that the customer requires from a system and the constraints under which it operates is developed. • The requirements themselves are the descriptions of the system services and constraints that are generated during the requirements engineering process • Requirements specify what the system is supposed to do, but not how the system is to accomplish its task.
  • 4. What is a requirement? • It may span a wide range of statements • a high-level abstract statement of a system service or system constraint • a detailed mathematical functional specification • Types of requirements • User requirements • System requirements • Software specifications – provide more (design) detail
  • 5. User requirements • User requirements are defined using natural language, tables, and diagrams • Problems with natural language • Precision vs. understandability • Functional vs. non-functional requirements confusion • Requirements amalgamation • Should describe functional and non-functional requirements so that they are understandable by system users who don’t have detailed technical knowledge
  • 6. System requirements • More detailed specifications of user requirements • Serve as a basis for designing the system • May be used as part of the system contract • System requirements may be expressed using system models.
  • 7. Definitions and specifications 1. The software must provide a means of representing and 1. accessing external files created by other tools. 1.1 The user should be provided withfacilities to define the type of 1.2 external files. 1.2 Each external file type may have an associated tool which may be 1.2 applied to the file. 1.3 Each external file type may be represented as a specific icon on 1.2 the user’s display. 1.4 Facilities shouldbe provided for the icon representing an 1.2 external file type tobe definedby theuser. 1.5 When a user selects an iconrepresenting an external file, the 1.2 effect of thatselection is to apply the tool associated withthe type of 1.2 the external file to the file representedby the selected icon. Requirements definition Requirements specification
  • 8. Functional and non-functional requirements • Functional requirements • Statements of services the system should provide, how the system should react to particular inputs and how the system should behave in particular situations. • 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 • Requirements that come from the application domain of the system and that reflect characteristics of that domain
  • 9. Examples of functional requirements • The user shall be able to search either all of the initial set of databases or select a subset from it. • The system shall provide appropriate viewers for the user to read documents in the document store. • Every order shall be allocated a unique identifier (ORDER_ID) which the user shall be able to copy to the account’s permanent storage area.
  • 10. Requirements precision, completeness, and consistency • The principle requirements should be precise, complete, and consistent • Precise • They should state exactly what is desired from the system • Complete • They should include descriptions of all facilities required from the system • Consistent • There should be no conflicts or contradictions in the descriptions of the system facilities • In practice, it is very difficult to produce a precised, complete and consistent requirements document
  • 11. Ambiguous/imprecise requirement 4.A.5 The database shall only support the generation and control of configuration objects; that is, objects which are themselves groupings of other objects in the database. The configuration control facilities shall allow access to the objects in a version group by the use of an incomplete name. • What about non-configuration objects? • What about other database functionality? • What about level of service other than support? • Something else?
  • 13. Non-functional requirements examples • Product requirement • 4.C.8 It shall be possible for all necessary communication between the APSE and the user to be expressed in the standard Ada character set • Organisational requirement • 9.3.2 The system development process and deliverable documents shall conform to the process and deliverables defined in XYZCo-SP-STAN-95 • External requirement • 7.6.5 The system shall not disclose any personal information about customers apart from their name and reference number to the operators of the system
  • 14. Non-functional requirements measures Property Measure Speed Processed transactions/second User/Event response time Screen refresh time Size K Bytes Number of RAM chips Ease of use Training time Number of help frames Reliability Mean time to failure Probability of unavailability Rate of failure occurrence Availability Robustness Time to restart after failure Percentage of events causing failure Probability of data corruption on failure Portability Percentage of target dependent statements Number of target systems
  • 15. Requirements interaction • Conflicts between different non-functional requirements are common in complex systems • Spacecraft system • To minimise weight, the number of separate chips in the system should be minimised • To minimise power consumption, lower power chips should be used • But, using low power chips may mean that more chips have to be used Which is the most critical requirement?
  • 16. Domain Requirement: Train protection system The deceleration of the train shall be computed as: Dtrain = Dcontrol + Dgradient where Dgradient is 9.81ms2 * compensated gradient/alpha and where the values of 9.81ms2 /alpha are known for different types of train. • Problems – Understandability • Requirements are expressed in the language of the application domain • This is often not understood by software engineers – Implicitness • Domain specialists understand the area so well so they do not think of making the domain requirements explicit
  • 17. Requirements document • Specify external system behaviour • Specify implementation constraints • Easy to change • Serve as reference tool for maintenance • Record forethought about the life cycle of the system • i.e. predict changes • Characterise responses to unexpected events
  • 18. Users of a requirements document Use the requirements to develop validation tests for the system Use the requirements document to plan a bid for the system and to plan the system development process Use the requirements to understand what system is to be developed System test engineers Managers System engineers Specify the requirements and read them to check that they meet their needs. They specify changes to the requirements System customers Use the requirements to help understand the system and the relationships between its parts System maintenance engineers
  • 19. Requirements engineering process Feasibility study Requirements elicitation and analysis Requirements specification Requirements validation Feasibility report System models User and system requirements Requirements document
  • 20. Feasibility studies • A feasibility study decides whether or not the proposed system is worthwhile • A short focused study that checks • If the system contributes to organisational objectives • If the system can be engineered using current technology and within budget • If the system can be integrated with other systems that are used
  • 21. Elicitation and analysis • This process is called requirements discovery or requirements elicitation • Involves technical staff working with customers to find out • the application domain • the services that the system should provide • the system’s operational constraints • May involve end-users, managers, engineers involved in maintenance, domain experts, trade unions, etc. • These are called stakeholders
  • 22. Problems of requirements analysis • Stakeholders don’t know what they really want • Stakeholders express requirements in their own terms • Different stakeholders may have conflicting requirements. • Organisational and political factors may influence the system requirements • The requirements may change during the analysis process • New stakeholders may emerge and the business environment change
  • 23. Requirements validation • Concerned with demonstrating that the requirements define the system that the customer really wants. • Requirements error costs are high so validation is very important • Fixing a requirements error after delivery may cost up to 100 times the cost of fixing an implementation error. • Requirements checking • Validity • Consistency • Completeness • Realism • Verifiability
  • 24. Requirements validation techniques • Reviews • Systematic manual analysis of the requirements. • Prototyping • Using an executable model of the system to check requirements. • Test-case generation • Developing tests for requirements to check testability • Automated consistency analysis • Checking the consistency of a structured requirements description