Professional Documents
Culture Documents
SE Module4
SE Module4
AND SPECIFICATION
Prepared by:
Prof. Sherin Mariam Jijo
Understanding the Requirement
Most difficult task that a SW Engineer face.
This tasks lead to an understanding of what the
impact of the SW will be, what the customer wants
& how the end users will interact with the SW.
Understand what the customer wants before you
begin to design and build a computer based
system.
Requirement Engineering
Requirement Engineering means that requirements for a
product are defined, managed and tested
systematically.
Requirements engineering builds a brige to design and
construction.
Requirements engineering provides the appropriate
mechanism for understanding what the customer wants,
analyzing need, assessing feasibility, negotiating a
reasonable solution, specifying the solution
unambiguously, validating the specification, and
managing the requirements as they are transformed
into an operational system.
Tasks
Inception—ask a 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?
Product requirements
Requirements which specify that the delivered
product must behave in a particular way e.g.
execution speed, reliability, etc.
Organisational requirements
Requirements which are a consequence of
organisational policies and procedures e.g. process
standards used, implementation requirements, etc.
Non-Functional requirements Cont…
External requirements
Requirements which arise from factors which are
external to the system and its development process
e.g. interoperability requirements, legislative
requirements, etc.
Table of contents
Requirement Elicitation
product.
Elicitation Work Products Cont…
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 (preferably organized by
function) and the domain constraints that apply to
each.
A set of usage scenarios that provide insight into the
use of the system or product under different
operating conditions.
Any prototypes developed to better define
requirements.
Building the Analysis Model
Provide a description of the required informational,
functional, and behavioural domains for a computer
based system.
Analysis model is a snapshot of requirements at any
given time.
You should expect it to change.
Building the Analysis Model Cont…
Elements of the analysis model
Scenario-based elements
◼ Functional—processing narratives for software functions
◼ Use-case—descriptions of the interaction between an
“actor” and the system
Class-based elements
◼ Implied by scenarios
Behavioral elements
◼ State diagram
Flow-oriented elements
◼ Data flow diagram
Scenario based elements:
System is decribed from the user’s point of view
using a scenario based approach.
First part of the model that is developed.
They serve as input for the creation of other
modeling elements.
Fig: depicts a UML activity diadram for eliciting
requirements and representing them using use cases.
Conduct FA ST
m eet ings
Make list s of
f unct ions, classes
Make list s of
const raint s, et c.
draw use-case
writ e scenario
diagram
Creat e Use-cases
com plet e t em plat e
Usage Scenarios
system
description
analysis
model
design
model
Rules of Thumb
The model should focus on requirements that
are visible within the problem or business
domain.
The level of abstraction should be relatively
high.
Each element of the analysis model should add
to an overall understanding of software
requirements and provide insight into the
information domain, function and behavior of
the system.
Rules of Thumb Cont…
Delay consideration of infrastructure and other
non-functional models until design.
Minimize coupling throughout the system.
Level 0 dfd
Level1 dfd
Level2 dfd
Swimlane Diagrams
Allows the modeler to represent the flow of
activities described by the use-case and at the same
time indicate which actor (if there are multiple
actors involved in a specific use-case) or analysis
class has responsibility for the action described by
an activity rectangle
hom eowner c a m e ra i n t e rf a c e
valid p asswo r d s/ ID
in valid
p asswo r d s/ ID
s elec t m ajor f unc t ion
o t h er f u n ct io n s prom pt f or reent ry
m ay also b e
select ed
in p u t t r ies
s elec t s urv eillanc e r em ain
n o in p u t
t r ies r em ain
s elec t s pec if ic
s elec t c am era ic on
c am era - t hum bnails
generat e v ideo
out put
exit t h is
f u n ct io n
see
an o t h er
cam er a
Questions
Enlist characteristic of SRS.Write a SRS for college
management system.
Explain Requirement Engineering Tasks.
Draw the Data Flow Diagram for Hotel Management
System .
Draw the ER diagram for the system that is known to
you.
Enlist characteristic of SRS.Write a SRS for Hospital
management system.
Questions cont…
Write a short note on Requirement
Engineering.
What is Object Oriented Design of a system?