Unit 2
Unit 2
1. Normal requirement
2. Expected requirement
3. Exciting requirement
3. Use Scenario
Following are some work products that get produced during requirement
elicitation.
• Statement for scope of the system.
• A statement of feasibility study perform in order to find need of the project.
• A list of customer, users and other stakeholders who participated in
requirement elicitation
• A List of requirements and 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
• The prototypes that may get developed for defining the requirements in
better manner.
Developing Use Case
• Use case are fundamental units of modelling language in which
functionalities are distinctly represented.
• Use case depicts the software from end user’s point of view.
• Use-case diagrams describe the high-level functions and scope of a
system.
• These diagrams also identify the interactions between the system and
its actors.
• First step – to identify Actors.
• After identifying the actors next step is to develop use cases .
Use case Notation
Following are the questions that should be answered by the use cases -
• What are the goals of the system?
• Who are the primary & secondary actors?
• What are the preconditions that should exist before the development
of the system?
• What are the mains functions that must be performed by the actor?
• What are those exceptions that must be considered by the system?
• What are the changes in the behavior of the actor?
• What are of system information to be produced by the actor?
• What kind of information is gained by the actor from the system?
• Will actor inform any change in the system to the external
environment?
• ATM
System
Building the Requirements
Model
• Requirement analysis is an intermediate phase between system
engineering and software design
• Requirement analysis produce a software specification.
How is requirement analysis helpful?
Analyst-
• The requirement analysis helps the ‘analyst’ to refine software
allocation.
• Using requirement analysis various models such as data model,
function model and behavioural model can be defined.
Designer –
After requirement analysis , the designer can design for data
architectural interface and component level design.
Developer –
• Using requirement analysis specification and design the software can
be developed.
What are requirement analysis
efforts?
• Problem recognition
The requirement analysis is done for the understanding the need of the
system. The scop of the software in context of the system must be understood.
• Evaluation
Following are the task that must be done in evaluation and synthesis
phase.
Define all externally observable data objects evaluate data flow.
Define software function
Understand the behavior of the system
Establish system interface characteristics
Uncover the design constrains
• Modelling
After evaluation and synthesis, using data, functional and
behavioural domains the data model, functional model and behavioural
model can be built.
• Specification
The requirement specification(SRS) must be build.
• Review
The requirement must be reviewed by project manager and must
be refined.
1. Overall Objectives
• Join: A join is one where two results of concurrent activities add and
form a single result.
Components of activity diagram
swimlane diagram
In swimlane diagram the activity
diagrams is partitioned
according to the class who is
responsible for carrying
out these activities.
2. Class based elements
• Class diagrams represents how to put various object together.
• These objects are categorized into classes.
• classes—a collection of things that have similar attributes and
common behaviors.
• A class diagram give overview of a system, in which various classes
and relationship among these classes is represented.
• For example:
In a class diagram manager, executive, salesperson can be
represented by a class employee.
Class Diagram for Shape
3. Behavioral elements
• The dynamic behaviour of the system can be represented by creating
the behavioural model of the system.
• Basically the behavioural model represent how software will respond
to external events.
• The state diagram and sequence diagram are used for representing
behaviour of system.
Sequence diagram for ATM system
4. Flow Model
• The Flow model is drowning by designing special kind of diagrams
called data flow diagrams and control flow diagrams.
• The data flow diagrams depicts the information flow and transform
that are applied on the data as it moves from input to output.
Components of Data Flow Diagram:
• Following are the components of the data flow diagram that are used
to represent source, destination, storage and flow of data.
1. Entities:
Entities include source and destination of the data. Entities are
represented by rectangle with their corresponding names.
Components of Data Flow Diagram:
2. Process:
• The tasks performed on the data is known as process. Process is
represented by circle. Somewhere round edge rectangles are also
used to represent process.
3. Data Storage:
• Data storage includes the database of the system. It is represented by
rectangle with both smaller sides missing or in other words within
two parallel lines.
4. Data Flow:
• The movement of data in the system is known as data flow. It is
represented with the help of arrow.
Data Flow Diagram Example
Negotiating the Requirements
• During the requirement engineering the inception, elicitation and
elaboration determine the customer requirements.
• But the requirement obtain by these task are not sufficient details.
• There is an important requirement engineering task named Negotiation.
• Negotiation means developer communicates with customer so that some
requirements specified by the customer can be negotiated or modified in
order to meet the budget and deadlines of the project.
Negotiations are Carried out for following two reasons:
• In order to develop project Plan
• By the negotiations, the real-world constraints are understood by both the
developer and the customer.
• If WIN-WIN situation is achieved after the negotiation then it is called
as best negotiation.
• The WIN-WIN situation means customer gets satisfied because his
measure needs going to get fulfilled and developer gets satisfied.
• The communication with customer is the most important activity for
the negotiation.
• Apart from this some important activities are-
Identify the important stakeholders of the system
Determine the requirements that are the most important for the
customer.
Negotiate with the customer in order to achieve the WIN-WIN
condition.
Validating Requirements
• 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 clearly.
• inconsistencies 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
• Some important questions that are consider while validating the
requirements.
Is each requirement consistent with the overall objectives for the
system?
Are requirements abstract?
Does particular requirement really necessary?
Does each requirement achievable by software system?
Does requirement have some source?