Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

Gokhale Education Society’s

HPT Arts and RYK Science College, Nashik – 422005


Department of Computer Science

S.Y.B.Sc.(Computer Science) Semester - I


CBCS Syllabus 2020 – 2021

CS 232 : Software Engineering


Chapter 3 : Requirements Analysis
Lecture No : 5

By
Subject Teacher : Mrs. Ahire Anuradha C.
3.0 Requirements Analysis

3.3 Building the Analysis Model

Department of Computer Science, GES's HPT Arts and RYK Science College, Nashik-05
3.3 Building the Analysis Model :
 Analysis Model is a technical representation of the system.
 It acts as a link between system description & design model.
 It defines information, function, and behavior of a computer-based
system and translates into the architecture, component and interface
level design in the design modeling.
 As developers learn more about the system to be built, the model
changes dynamically and stakeholders understand more about what
they really require.
 Thus the analysis model is a snapshot of system requirements at any
given time.
 Change to analysis model should be anticipated.
 As the analysis model evolves, certain elements will become
relatively stable thus provide a solid foundation for the design.
 However other elements of the model may be more volatile, as
stakeholders don’t understand the system requirements fully yet.

Department of Computer Science, GES's HPT Arts and RYK Science College, Nashik-05
3.3.1 Elements of the Analysis Model :
 The analysis model is shown in different modes of
representation.
 These modes of representation force developers to consider
the requirements from different viewpoints.
 an approach that has a higher probability to identify omissions,
inconsistencies, and ambiguity.
 A set of generic elements to most analysis models are…
 Scenario-based elements.
 Class-based elements.
 Behavioral elements.
 Flow oriented elements.

Department of Computer Science, GES's HPT Arts and RYK Science College, Nashik-05
Scenario-based elements :
 The system is described from the user’s point of view using a
scenario-based approach.
 Scenario based elements are use case diagram, user stories.
 “Use-cases are simply an aid to define what exists outside the
system (actors) and what should be performed by the system
(use-cases).”
 It is also typically the first stage of requirements modeling, as it
identifies the primary use cases for the proposed software
to which later stages of requirements modeling will refer.
 For example, basic use cases and their corresponding use
case diagrams evolve into more elaborate template-based use
cases.

Department of Computer Science, GES's HPT Arts and RYK Science College, Nashik-05
Continued…

Figure : UML activity diagrams for eliciting requirements


Department of Computer Science, GES's HPT Arts and RYK Science College, Nashik-05
Class-based elements :
 Each usage scenario implies a set
of objects that are manipulated as
an actor interacts with the system.
 These objects are categorized into
classes - a collection of things that
have similar attributes and
common behaviors.
 For example, a UML class diagram
can be used to show a Sensor
class for the Safe-Home security
function.
 Other analysis modeling elements
show how the classes collaborate
with one another as well as their
Figure : Class diagram for
relationships and interactions.
sensor
Department of Computer Science, GES's HPT Arts and RYK Science College, Nashik-05
Behavioral elements :
 The state diagram is one
method for representing the
behavior of a system by
showing its states and the
events that cause the system
to change state.
 A state is any externally
observable mode of behavior.
 In addition, the state diagram
indicates actions taken as a
consequence of a particular
event.

Department of Computer Science, GES's HPT Arts and RYK Science College, Nashik-05
Flow oriented elements :
 An information flows through a computer-based system it gets
transformed.
 It shows how the data objects are transformed while they flow
between the various system functions.
 The flow elements are data flow diagram, control flow diagram.

Department of Computer Science, GES's HPT Arts and RYK Science College, Nashik-05
Attempt the following Questions :
Q1. What is an analysis model? State the elements of analysis
model.
Q2. Write a short note on analysis model.
Q3. What do you mean by scenario-based elements? Explain it.
Q4. What is class-based element? Explain it.
Q5. What do you mean by class-based element? State class-
based elements.
Q6. What do you mean by behavioral-based elements? Explain it.
Q7. State the behavioral-based elements.
Q8. What is flow oriented element? State flow oriented elements.

Department of Computer Science, GES's HPT Arts and RYK Science College, Nashik-05

You might also like