Requiremet Engineering - Srs
Requiremet Engineering - Srs
MORE
ME (COMPUTER)
Lecturer
)
Department of Information Technology
https://reenamorersm.wordpress.com/
Email: [email protected]
Requirement Engineering
UNIT - II Requirement gathering &
analysis,
SOFTWARE REQUIREMENT ENGINEERING Types of requirement
WHY STUDY SOFTWARE ENGINEERING?
• Many projects have failed because
– they started to develop without adequately
determining whether they are building what the
customer really wanted.
• Customer Requirement
TYPICAL PROJECT SCENARIO…
REQUIREMENTS
• A Requirement is a capability or condition required
from the system.
• What is involved in RAS?
– Determine what is expected by the client from the
system. (Gather and Analyze)
– Document those in a form that is clear to the client
as well as to the development team members.
(Document)
Activities in RAS
Requirements Gathering
Requirements Analysis
Requirements Specification
SRS Document
REQUIREMENTS ENGINEERING
• The process of establishing the services that
– the customer requires from a system and
– the constraints under which it operates and is
developed.
• The requirements themselves are the descriptions of
– the system services and
– constraints that are generated during the
requirements engineering process.
REQUIREMENTS ANALYSIS AND
SPECIFICATION
Requirements Gathering:
Fully understand the user requirements.
Requirements Analysis:
Remove inconsistencies, anomalies, etc. from
requirements.
Requirements Specification:
Document requirements properly in an SRS document.
TYPES OF REQUIREMENTS
• Functional requirements
– Statements of services the system should provide,
how the system should react to particular inputs and
how the system should behave in particular
situations.
– May state what the system should not do.
• Non-functional requirements
– Constraints on the services or functions offered by
the system such as timing constraints, constraints on
the development process, standards, etc.
– Often apply to the system as a whole rather than
individual features or services.
FUNCTIONAL REQUIREMENTS
• Descriptions of data to be entered into the system
• Descriptions of operations performed by each screen
• Descriptions of work-flows performed by the system
• Descriptions of system reports or other outputs
• Who can enter the data into the system?
• How the system meets applicable regulatory
requirements
FUNCTIONAL REQUIREMENTS CONTD.
• The functional requirements discusses the
functionalities required from the system.
• The system is considered to perform a set of high-
level functions {fi }
• Each function f i of the system can be considered as a
transformation of a set of input data (Ii) to the
corresponding set of output data (Oi)
• The user can get some meaningful piece of work done
using a high-level function.
fi
O1
Input I1
Output
O2 Data
Data I2
I3 O3
EXAMPLE FUNCTIONAL REQUIREMENTS - I
• Interface requirements
– Field 1 accepts numeric data entry.
– Field 2 only accepts dates before the current date.
– Screen 1 can print on-screen data to the printer.
• Business Requirements
– Data must be entered before a request can be approved.
– Clicking the Approve button moves the request to the
Approval Work flow
– All personnel using the system will be trained according to
internal SOP AA-101.
• Regulatory/Compliance Requirements
– The database will have a functional audit trail.
– The system will limit access to authorized users.
– The spreadsheet can secure data with electronic signatures.
EXAMPLE FUNCTIONAL REQUIREMENTS - II
• Library system - F1: Search Book function
– Input: an author’s name
– Output: details of the author’s books and the location of
these books in the library
• ATM (Cash Withdraw)- R1: withdraw cash
– Description: The withdraw cash function determines the
type of account that the user has and the account
number from which the user wishes to withdraw cash.
– It checks the balance to determine whether the
requested amount is available in the account.
– If enough balance is available, it outputs the required
cash, otherwise it generates an error message.
EXAMPLE FUNCTIONAL REQUIREMENTS - III
• ATM (Cash Withdraw)- R1: withdraw cash
– R1.1: select withdraw amount option
• Input: “withdraw amount” option,
• Output: user prompted to enter the account type
– R1.2: select account type
• Input: user option,
• Output: prompt to enter amount
– R1.3: get required amount
• Input: amount to be withdrawn in integer values greater than 100
and less than10,000 in multiples of 100.
• Output: The requested cash and printed transaction statement.
NON-FUNCTIONAL REQUIREMENTS - I
• Characteristics of the system which can not be
expressed as functions
– Maintainability, Portability, Usability, Security, Safety,
Reliability, Performance, etc.
• Example: How fast can the system produce results?
– So that it does not overload another system to
which it supplies data, etc.
– Needs to be measurable (verifiability)
• e.g. response time should be less than 1sec, 90% of the time
NON-FUNCTIONAL REQUIREMENTS - II
Non-
functional
Requirements
Usability
Requirements