Professional Documents
Culture Documents
Requirements Engineering
Requirements Engineering
Manisha Kumari
Assistant Professor
Requirements engineering
PG Dept. MCA 2
Brindavan College, Bangalore
Requirements Engineering
Manisha Kumari
Assistant Professor
Requirements engineering
PG Dept. MCA 3
Brindavan College, Bangalore
What is a Requirement?
Manisha Kumari
Assistant Professor
PG Dept. MCA 4
Requirements engineering Brindavan College, Bangalore
Requirements Abstraction (Davis)
The requirements must be written so that several contractors can bid for
the contract, offering, perhaps, different ways of meeting the client
organization’s needs.
Once a contract has been awarded, the contractor must write a system
definition for the client in more detail so that the client understands and
can validate what the software will do.
User requirements
• Statements in natural language plus diagrams of the services the
system provides and its operational constraints.
• Written for customers.
System requirements
• A structured document setting out detailed descriptions of the
system’s functions, services and operational constraints.
• Defines what should be implemented so may be part of a
contract between client and contractor.
• Whom do you think these are written for?
• These are higher level than functional and non-functional
requirements, which these may subsume.
Manisha Kumari
Assistant Professor
PG Dept. MCA 6
Requirements engineering Brindavan College, Bangalore
User and System Requirements
Requirements engineering 7
Functional and Non-functional requirements
1. 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.
2. Non-functional requirements
• Constraints on the services or functions offered by the system
such as timing constraints, constraints on the development
process, standards, etc.
• Often apply to the system as a whole rather than individual
features or services.
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 8
Brindavan College, Bangalore
Functional Requirements
Manisha Kumari
Assistant Professor
PG Dept. MCA 9
Requirements engineering Brindavan College, Bangalore
Non-functional Requirements
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 10
Brindavan College, Bangalore
Types of Nonfunctional Requirements
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 11
Brindavan College, Bangalore
Non-functional Requirements Implementation
Requirements engineering 12
Metrics for specifying nonfunctional
requirements
Property Measure
Speed Processed transactions/second
User/event response time
Screen refresh time
Size Mbytes
Number of ROM chips
Ease of use Training time
Number of help frames
Reliability Mean time to failure (MTTF)
Probability of unavailability
Rate of failure occurrence
Availability
Robustness Time to restart after failure (MTTR)
Percentage of events causing failure
Probability of data corruption on failure
Portability Percentage of target dependent statements
Number of target systems
Requirements engineering 13
Domain requirements problems
Understandability
• Requirements are expressed in the language of the application
domain;
• Application written for mortgage banking people need to
express functionality in terms of home loans, mortgage
balances, escrow, investor accounting, foreclosure, etc.
• This is often not understood by software engineers developing
the system.
Implicitness
• Domain specialists understand the area so well that they do not
think of making the domain requirements explicit.
And this is often a major problem in communications!!!
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 14
Brindavan College, Bangalore
Key points
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 15
Brindavan College, Bangalore
Software Requirements Document
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 17
Brindavan College, Bangalore
The structure of a requirements
document
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 18
Brindavan College, Bangalore
Continue…
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 19
Brindavan College, Bangalore
Requirements specification
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 20
Brindavan College, Bangalore
There are several reasons
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 21
Brindavan College, Bangalore
Natural language specification
• Use text highlighting (bold, italic, or color) to pick out key parts of the
requirement.
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 23
Brindavan College, Bangalore
Structured specifications
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 24
Brindavan College, Bangalore
The following information should be
included:
• A description of the function or entity being specified.
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 26
Brindavan College, Bangalore
Requirements engineering
processes
Requirements engineering processes may include four
high-level activities
• These focus on assessing if the system is useful to
the business(feasibility study).
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 28
Brindavan College, Bangalore
The process activities are:
1. Requirements discovery
2. Requirements classification and organization
3. Requirements prioritization and negotiation Inevitably
4. Requirements specification
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 29
Brindavan College, Bangalore
Continue…
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 31
Brindavan College, Bangalore
Continue…
• Requirements discovery
• Interviewing
• Scenarios
• Use cases
• Ethnography
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 32
Brindavan College, Bangalore
Requirements validation
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 33
Brindavan College, Bangalore
Continue…
• Validity checks
• Consistency checks
• Completeness checks
• Realism checks
• Verifiability
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 34
Brindavan College, Bangalore
Requirements change management
Manisha Kumari
Assistant Professor
Requirements engineering PG Dept. MCA 35
Brindavan College, Bangalore