Methdology
Methdology
• T hi s m o d e l i s use f ul f o r p ro j e c ts usi ng ne w
technology that is not well understood.
Quick
plan
communication
Modeling
Quick design
Deployment Construction
delivery & of prototype
feedback Construction
of prototype
15
Evolutionary Model : Spiral Model
a) Requirements
b) Development team
c) Users
d) Project type and associated risk
External entities
Processing steps
Data flows
26
The enrolment process works as follows:
3. Movement/exchange of information/data
between external entities to processes, and
processes to processes => data flows (DF)
Application Rejection
Completed
form Receive application
application Evaluate
Applican
t Offer
33
Example: University Admissions
Assemble Application Stage
Acknowledgmen Acknowledgme
t nt
Application Completed AND Evaluation
form application Initiate request
Receive
evaluation
Applican AND
t
Supporting
information
Pending Applicant
database database
34
Example: University Admissions
Process Completed Application
Stage
Rejection
Evaluation
request Acceptance
Evaluation Financial Offer
aid
Special
request
Applicant
database
35
A Telephone Call DFD
voice
Caller Receiver
* Telephone Call
Keyed phone
number
Level 01 DFD
voice A Telephone Call DFD(cont’d)
T1
Vibration to
signal Electronic signal
Switching
system Electronic
signal T2
Signal
To
Frequencies soun
Keypad vibration
& d
Electronics
38
Understand and specifying
requirements
A problem of scale
For small scale: understand and specifying
requirements is easy
For large scale: very hard; probably the hardest,
most problematic and error prone
45
Challenges
46
Background..
What is a Requirement?
A condition or capability that must be
possessed by a system (IEEE)
What is the work product of the Req. phase ?
A software requirements specification (SRS)
document
What is an SRS ?
A complete specification of what the proposed
system should do!
47
Background..
48
Purpose of SRS document?
SRS is
the medium to bridge the communications gap,
and
specifies user needs in a manner both can
understand
49
Need for SRS…
Helps user understand his needs.
users do not always know their needs
must analyze and understand the potential
The requirement process helps clarify needs
50
Need for SRS…
51
Need for SRS…
An Example
Cost of fixing errors in req. , design , coding ,
acceptance testing and operation are 2 , 5 , 15 ,
50 , 150 person-months
52
Organization of SRS
1.
Introduction Purpose
1.1 Scope
1.2 Definition, Acronyms and
1.3 abbreviations
1.4 References
1.5 Overview
2. The Overall Description
2.1 Product Perspective
2.1.1 System Interfaces
2.1.2 Interfaces
2.1.3 Hardware Interfaces
2.1.4 Software Interfaces
2.1.5 Communication Interfaces
2.1.6 Memory Constraints
2.1.7 Operations
2.1.8 Site Adaptation Requirements
2.2 Product Functions
2.3 User Characteristics
2.4 Constraints
2.5 Assumptions for dependencies
2.6 Apportioning of requirements
3. Specific Requirements
3.1 External Interfaces
3.2 Functions
3.3 Performance requirements
3.4 Logical database requirements
3.5 Design Constraints
3.6 Software System attributes
3.7 Organization of specific requirements
3.8 Additional Comments.
4. Others
Requirements/Information
INTRODUCTION
The Software Requirement Specification(SRS)
document provides an overview of the entire
SRS.
Purpose:
Identify the purpose of SRS and its intended
audience.
Scope:
I d e n t i f y t h e s o f t w a re p ro d u c t s t o b e
produced by name.
Explain what the software products will, and,
if necessary, will not do.
Describe the application of the software
being specif ied, including relevant benef its,
objective and goals
Be consistent with similar statement in
higher level specification if the exist.
INTRODUCTION CONTD……………….
Definition, Acronyms, and Abbreviations:
Provide def inition of all terms, acronyms, and
abbreviations required to properly interpret the
SRS.
This information may be provided by reference to
an appendix.
References:
Prov id e c o mplete list o f all d o c uments
referenced elsewhere in the SRS.
Identif ied each document by title, report number,
date, and publishing organization.
Specify the sources from which the reference can
be obtained.
INTRODUCTION CONTD……………….
Overview:
o Describe what the rest of the SRS contains.
o Explain how the SRS is organised.
THE OVERALL DESCRIPTION
Describe the general factors that affects the
product and its requirements.
Product Perspective:
Put the product into perspective with other
related products.
If the product is independent and totally self-
contained, it should be so stated here.
If the SRS def ines a product that is a component
of a larger system, as frequently occurs, then it
relates the requirements of the larger system to
functionality of the software and identif ie s
interfaces between that system and the software.
THE OVERALL DESCRIPTION CONTD……
The following subsection describe how the software
operates inside various constraints:
System Interface:
List each system interface and identify the
functionality of the software to accomplish the
system requirement.
And the interface description to match the
system.
THE OVERALL DESCRIPTION CONTD……
Interfaces:
It specify the logical characteristic of each
interface between the software product and its
users.
All the aspects of optimising the interface with
the person who must use the system.
Hardware Interfaces:
Specify the logical characteristics of each
interface between the software product and
hardware component of the system.
This also includes configuration characteristics.
THE OVERALL DESCRIPTION CONTD……
Software interfaces:
Specify the use of other software products and
interface with other application system.
It includes
Name
Specification number
Version number
Source
THE OVERALL DESCRIPTION CONTD……
Communication Interfaces:
Specify the various interfaces to
communications such as local network
protocols, etc.
Memory constraints:
Specify any applicable characteristics and limits
on primary and secondary memory.
THE OVERALL DESCRIPTION CONTD……
Operations:
Specify the normal and special operations
required by the users such as:
The various mode of operation in the user
organization.
Periods of interactive operations and periods
of unattended operations.
Data processing support functions
Backup and recovery operations
THE OVERALL DESCRIPTION CONTD……
• Frequency of Use
97
SRS
SRS-004 (3.1.1.4):
System shall allow the user to add his/her name to the unit waiting
list if the user wants to register in a unit which has been filled
already with enough registered students.
SRS-005 (3.1.1.5):
System shall automatically register the unit for the user who is the
first one on the waiting list if a vacancy appears for that unit.
SRS-006 (3.1.1.6):
System shall allow the user to change practical session(s) within
a unit.
SRS-007 (3.1.1.7):
System shall allow the user to change tutorial session(s) within a
unit.
98
SRS
3.1.2 Retrieving and Displaying Unit Information
The retrieving and displaying requirements are concerned
with how information is retrieved and presented to the user.
SRS-014 (3.1.2.1):
The system shall allow users to enter the following
selection criteria to retrieve unit information: by unit code,
by unit number, by title of unit, by weight of unit (credit
points).
OR by unit code (3.1.2.1.1) , by unit number (3.1.2.1.2) , by
title of unit (3.1.2.1.3) , by weight of unit (credit points)
(3.1.2.1.4).
99
SRS
3.2 Design Constraints
SRS-031 (3.2.1):
System shall store and retrieve persistent data.
SRS-032 (3.2.2):
System shall support PC and/or UNIX platforms.
SRS-033 (3.2.3):
System shall be developed using the JAVA
programming language
100
SRS
3.3 Non-Functional Requirements
SRS-034 (3.3.1):
System shall respond to any retrieval in less than 5
seconds.
SRS-035 (3.3.2):
System shall generate a report within 1 minute.
SRS-036 (3.3.3):
System shall allow the user to remotely connect to the
system.
SRS-041 (3.3.8):
The system will be accompanied by a comprehensive
user manual. 101
3.5.3 Security
The security requirements are concerned with security and
privacy issues.
SRS-029:
System shall provide staff ID and password verification
protection to protect from unauthorised use of the system.
SRS-030:
System shall allow the store manager to add, remove and
102
Use Cases & Use Case Diagram
Introduction
“Invented” by Ivar Jacobson in the late 1960’s
Introduced to the OO community in the late
1980’s
Alistair Cockburn has extended Jacobson’s
model
Is a way to specify functional requirements
Is not part of the Unified Modeling Language
(UML), but is many times used in conjunction
with it
104
Use Cases
l What is an Actor?
• A user or outside system that interacts
with the system being designed in order
to obtain some value from that
interaction
l Use Cases describe scenarios that describe
the interaction between users of the system
(the actor) and the system itself.
110
Student Result Management System
1. manage information about subjects offered in
various semester,
2. students enrolled in various semester,
3. elective (s) opted by various students in different
semester,
4. marks and credit points obtained by students in
different semesters.
5. The system should also have the ability the
printable mark-sheets for each student.
6. S e m e s t e r - w i s e m a r k l i s t a n d s t u d e n t
performance report also need to be generated.
111
112
113
114
115
116
Use Case Diagram
for
Railway Reservation System
117
Use Case Diagram For Railway Reservation system
118