Anda di halaman 1dari 26

ONLINE SURVEY TOOL PROJECT

SOFTWARE REQUIREMENT
SPECIFICATION
Code

PD1

Version 1.3
Effective date Sep 5th, 2011
Create by Buu Thanh Le

CARPATHIA TEAMWORK
Thuy Nguyen Thi Thanh
Thuong Luu Thi Hoai
Cong Do Tran Viet
Giang Nguyen Hai
Buu Le Thanh
MENTOR
Vu Truong Tien

Online Survey Tool


RECORD OF CHANGES
*A - ADDED M - MODIFIED D DELETED
VERSION
NUMBER

DATE

NUMBER OF
FIGURE, TABLE
OR PARAGRAPH

A*
M
D

TITLE OR BRIEF
DESCRIPTION

AUTHORS

1.0

10Aug,2011

Draft

Establish

Thanh Thuy

1.1

15Aug, 2011 All

All

Hai Giang

1.2

25Aug,2011

3.0

Thanh Buu

1.3

1Sep,2011

Not clearly

Thanh Thuy

Carpathia, 2011

Page 2

Online Survey Tool


Document Approvals: The following signatures are required for approval of
this document.

Thuy Nguyen Thi Thanh

9/05/2011

Project Manager

Date

Carpathia team

9/02/2011

Member

Date

Vu Truong Tien

9/06/2011

Mentor and Customer

Date

Carpathia, 2011

Page 3

Online Survey Tool


Table of Contents
1. Introduction..................................................................................................................................... 6
1.1. Purpose ...................................................................................................................................... 6
1.2. Scope.......................................................................................................................................... 6
1.3. Definition, Acronyms and Abbreviations ................................................................................. 6
1.4. References ................................................................................................................................. 6
1.5. Overview ................................................................................................................................... 7
2. General description ......................................................................................................................... 7
2.1. OST Perspective ........................................................................................................................ 7
2.2. OST Functions .......................................................................................................................... 8
2.3. User Characteristics .................................................................................................................. 9
2.4. General Constraints ................................................................................................................ 10
3. Specific Requirements ................................................................................................................... 10
3.1. External Interface Requirements ........................................................................................... 10
3.1.1. User Interfaces......................................................................................................... 10
3.1.2. Hardware Interfaces ............................................................................................... 11
3.1.3. Software Interfaces.................................................................................................. 12
3.1.4. Communications Interfaces .................................................................................... 12
3.2. Functional Requirements ........................................................................................................ 12
3.2.1. Functional Requirement 1-Register ........................................................................ 12
3.2.2. Functional Requirement 2-Login ............................................................................ 13
3.2.3. Functional Requirement 3-Logout .......................................................................... 13
3.2.4. Functional Requirement 4-Grant ................................ Error! Bookmark not defined.
3.2.5. Functional Requirement 5 - Manage users information ....................................... 13
3.2.6. Functional Requirement 6 Upload survey ........................................................... 14
3.2.7. Functional Requirement 7 Answer survey .......................................................... 14
3.2.8. Functional Requirement 8 Search........................................................................ 15
3.2.9. Functional Requirement 9 Statistic ...................................................................... 15
3.2.10. Functional Requirement 10 Manage survey libraries ......................................... 15
3.3. Use Cases ...................................................................................... Error! Bookmark not defined.
3.3.1. Use Case 1- Register ................................................................................................ 17
3.3.2. Use case 2- Login ..................................................................................................... 18
3.3.3. Use case 3- Logout ................................................................................................... 18
3.3.4. Use case 4- Grant .......................................................... Error! Bookmark not defined.
3.3.5. Use case 5- Manage users information .................................................................. 19

Carpathia, 2011

Page 4

Online Survey Tool


3.3.6. Use case 6- Upload survey ....................................................................................... 20
3.3.7. Use case 7- Answer survey ...................................................................................... 21
3.3.8. Use case 8- Search ................................................................................................... 21
3.3.9. Use case 9- Statistic.................................................................................................. 22
3.3.10. Use case 10 Manage survey libraries.................................................................... 23
3.4. Non-Functional Requirements ................................................................................................ 24

List of table:
1.
2.
3.
4.
5.
6.

Definition, Acronyms and Abbreviations ................................................ 7


Actors ..................................................................................................... 8
OST function ......................................................................................... 9
User Characteristics ................................................................................ 10
General Constraints ................................................................................. 11
Functional Requirements ........................................................................ 24

List of figure:
1. Figure 1: System context diagram ........................................................... 8
2. Figure 2: Data flow diagram ................................................................... 10
3. Figure: Use case diagram ........................................................................ 16

Carpathia, 2011

Page 5

Online Survey Tool


1.

Introduction

1.1.

Purpose
The purpose of this document is to present a detailed description of the
Online Survey Tool. It will explain the purpose and features of the
system, the OST functions, the interfaces of the system, what the system
will do, the constraints under which it must operate and how the system
will react to external stimuli.
This document is intended for both the Stakeholders and developers of the
system.

1.2.

Scope
Online Survey Tool will be a market survey website with many fields for
everybody who wants to create online surveys fast, easy in order to
collect and analyze opinions about OSTs or services that they
interested.

1.3.

1.4.

Definition, Acronyms and Abbreviations


Acronyms

Definitions

OST

Online Survey Tool

URD

User Requirement Document

SRS

Software Requirement Specification

UI

User Interface

DFD

Data Flow Diagram

UC

Use case

FR

Function requirement

N/A

Not Available

References
Software Requirements Specification Template (CptS 322Software
Engineering).
www.RFPSOLUTIONS.ca Definition of Terms Facsimile
Web Publishing System - Joan Team leader, Paul Adams, Bobbie
Baker, Charles Charlie
The SRS templates of Dr. Orest Pilskalns (WSU, Vancover) and Jack
Hagemeister (WSU, Pullman)

Carpathia, 2011

Page 6

Online Survey Tool

1.5.

WSU-TC CptS 322Software Engineering Principles I. Instructor: A.


David McKinnon, Ph.D.
Overview
This document include 3 chapters, the first chapter introduce about
purpose of document, scope of software, definition, acronyms and
abbreviations, and reference documents used to write Software
Requirement Specification for Online Survey Tool.
The next chapter, the general Description section of this document gives
an overview of the functionality of the OST. It describes the informal
requirements and is used to establish a context for the technical
requirements specification in the next chapter. This section does not state
specific requirements; it only makes those requirements easier to
understand.
The third chapter, Requirements Specification section of this document is
written primarily for the developers and describes in technical terms the
details of the functionality of the OST. This will be the largest and most
important section of document. The customer requirements will be
embodied within Chapter 2, but this chapter will give the requirements
that are used to guide the projects software design and implementation.

2.

General description

2.1.

OST Perspective

Figure 1: System context diagram

Carpathia, 2011

Page 7

Online Survey Tool


This OST is an online survey tool with function users idea survey about
any OST of customer, help customer save cost for manual survey on
paper and convenience for users.
Actors:
No.

Actor

Description

Users

Include who not yet register and


registered, can perform search, answer
survey but dont upload and view statistic.

Mod

Are users granted by admin, allowed


upload, view statistic survey or both of
its.

Admin

Is manage tool, can perform with full


function of tool.

Relationships:
No.
1

Show interacts between actors with system, actions


that actors can communicate with system.

Show relation between actor with actor, actor include


other actor.

OST Functions
Function list
Function ID

Management

2.2.

Relationship Description

Function name

FR1

Register

FR2

Login

FR3

Logout

FR4

Manage survey libraries

FR5

Manage users information

Carpathia, 2011

Page 8

Activities

Online Survey Tool


FR6

Upload survey

FR7

Answer survey

FR8

Search

FR9

Statistic

FR10

Feedback

Data flow diagram, help you see a big picture about OST system. It
describes a flow of data. Index is hierarchy of data, is assigned by grant.

Figure2: Data flow diagram


2.3.

User role and responsibility


No.

User

Important
level

Responsibility

Admin

Also is customer, manage all member


information, upload survey, and grant

Carpathia, 2011

Page 9

Online Survey Tool


permission.
2

Mod

2.4.

Member

Is member granted, can upload survey,


view statistic or both.

Is who registered in survey tool, can


upload survey and view statistic if
granted, can make money if answer
many survey.

General Constraints
Constraints

Priority

Business

Description

Time

58 day

Cost

1000 USD

Technology

Language

ASP.NET

Tool

Visual studio 2008


SQL server 2005
Web client server

Environment
Function

Function

Online survey tool must achieve formal


functions in part 2.2

Non-function

Online survey tool must achieve formal nonfunctions in part 3.4

3.

Specific Requirements

3.1.

External Interface Requirements

3.1.1. User Interfaces


User interface features include:
Admin
Trang ca ti:
Tn ng nhp
Cp nht h s

Carpathia, 2011

Page 10

Online Survey Tool

i mt khu
Gii thiu bn b
Xem thng k
Chnh sa cc mc chc nng: Hp th gp , Cu hi
thng gp
Qun l ti khon ngi s dng
Qun l cc bi kho st
Thot
Trang ch
Mod
Trang ca ti
Tn ng nhp
im thng
Cp nht h s
i mt khu
Gii thiu bn b
Cu hi thng gp
Hp th gp
Yu cu i vi thnh vin
ng sn phm, to kho st
Tr li kho st
Thot
Trang ch
Member
Trang ca ti
Tn ng nhp
im thng
Cp nht h s
i mt khu
Gii thiu bn b
Cu hi thng gp
Hp th gp
Yu cu i vi thnh vin
Tr li kho st
Thot
Trang ch
3.1.2. Hardware Interfaces
System Requirement: The system will be used by three types of uses:
(1) the system administrator who will manage the system, (2) the
system mod who will operate the system, is granted by admin, (3)
Survey user or members who answer the survey questions to the
survey form.

Carpathia, 2011

Page 11

Online Survey Tool


Server requirements:
Server hardware and Operating System: personal computer with
Windows 2000 or Windows vista/7 have Intel core 2 duo;
memory of Ram big and should be connected to Internet daily.
Internet browser: Microsoft Internet Explorer above 4.0 or
Mozilla Firefox 5.0
Project language environment: ASP.NET
Database: Relational database- MS SQL Server is selected.
Client requirement:
Client hardware and Operating System: Personal computer with
currently is using operating systems.
Internet browser: Microsoft Internet Explorer above 4.0 or
Mozilla Firefox 5.0
Input and Output Requirements:
Input is by keyboard or mouse from nice interface that is provided
by a system either from client part computer (member or survey
user) or server part computer (system administrator or mod).
Output is the aspx file or html file that is displayed on the screen
as a response to the users request.
3.1.3. Software Interfaces
Content of webpage survey consits:
Trang ch:
ng k:
ng nhp:
Tin tc:
Cu hi thng gp:
Gii thiu, lin h:
3.1.4. Communications Interfaces
Pages connect together by link, easily for user use system.
WebpageTrang chUI user
3.2.

Functional Requirements

3.2.1. Functional Requirement 1-Register


FR1

Register

Introduction

In the first time you use OST, you are a Guest.


If you want to become a member of OST, you
must Register.

Carpathia, 2011

Page 12

Online Survey Tool


Inputs
Process

Information of guest
You create an account/password and provide
some information which is demanded, examples:
gender, birthday, email
When Register finish, you will see the message
complete process.

Outputs

Account/ password. Guestmember

3.2.2. Functional Requirement 2-Login


FR2

Login

Introduction

If you have account after registered, you will


login by fill in table name of account and
password extract.

Inputs

Name and password of account.

Process

You fill in name and password of your account,


if right name and password, system will load. If
wrong, system will show message error login.

Outputs

Enter into OST as a member.

3.2.3. Functional Requirement 3-Logout


FR3

Logout

Introduction

After you use OST, you can exit from system.

Inputs

Click Thot.

Process

Click Thot, you will logout from system.

Outputs

Exit from OST as a guest, dont use system.

3.2.4. Functional Requirement 4 - Manage users information


FR5

Manage users information

Introduction

Meet of customer need is able manage users


information. This function help admin or mod
know who is the answer of each survey (except

Carpathia, 2011

Page 13

Online Survey Tool


guest), support for statistic, search
Inputs

Account/ password

Process

Search, statistic, management

Outputs

Page show information for admins operation

3.2.5. Functional Requirement 5 Upload survey


FR6

Upload survey

Introduction

Create and upload to public interface

Inputs

OST or service need to survey

Process

Create questionnaire by form. It can use for


many OST and service. You can create new
survey or draft survey which unfinished. After
many step to design question and answer, you
upload to public interface for each other answer
survey by click ng ti. Beside, in this step,
you can modify option of survey.
Examples: font, size, color, choose object can
view/answer your survey, the way to off survey.
There are 3 ways to off survey. 1, Off by hand,
no automatic. 2, Automatic off in deadline. 3,
Automatic off when number of answer.

Outputs

Complete survey

3.2.6. Functional Requirement 6 Answer survey


FR7

Answer survey

Introduction

Answer survey which is uploaded to public


interface.

Inputs

Questionnaire

Process

Answer all questions in questionnaire. If you


only answer a few questions, result will not be
accepted.

Outputs

Survey after is answered will save library of


survey

Carpathia, 2011

Page 14

Online Survey Tool


3.2.7. Functional Requirement 7 Search
FR8

Search

Introduction

Search title of survey

Inputs

Fill strength of characters

Process

Find in survey libraries

Outputs

List of survey contain strength of characters

3.2.8. Functional Requirement 8 Statistic


FR9

Statistic

Introduction

Statistic answer of survey

Inputs

Answer of survey

Process

Statistic by number, percent, mark and


establish diagram, chart.

Outputs

Statistic report

3.2.9. Functional Requirement 9 Manage survey libraries

3.2.10.

FR10

Manage survey libraries

Introduction

When you are a mod or admin, you have many


survey and statistic. So, you will have a function
to manage your survey.

Inputs

Survey

Process

Save survey and some other function to manage.

Outputs

Page show libraries of survey.

Functional Requirement 10 Feedback


FR10

Manage survey libraries

Introduction

When you are a mod or admin, you have many


survey and statistic. So, you will have a function
to manage your survey.

Inputs

Survey

Carpathia, 2011

Page 15

Online Survey Tool

3.3.

Process

Save survey and some other function to manage.

Outputs

Page show libraries of survey.

Use case

Figure: Use case diagram

Carpathia, 2011

Page 16

Online Survey Tool


3.3.1 Use Case 1- Register
Use Case ID:

UC1

Name

Register

Date create:

19/08/11

Update:

Description

When you use OST as a guest, the function ng


k is available. Recommend register to become a
member of OST, you can use more function than a
guest.

Actors

Guest

Assumptions

A person should create an account.


1. Open OST
2. Click ng k to register Register form
3. Create a name of new account in Tn ti
khon, to check name what it is exist, click
Kim tra.
4. Create password: Type in Mt khu and G
li mt khu. It must be resembled.
5. Provide some information about yourself:

Steps

Email
Gender
Birthday
Address
Level of knowledge
6. And choose some demand to security account
7. Then, submit by click To ti khon
8. The system will send message to announce Are
you finish or not yet.

Options

N/A

Non-Function

N/A

Issues

Hacker can hack account to get information cross


function register mass. So, this function is
important to protect system avoid hacker.

Carpathia, 2011

Page 17

Online Survey Tool


3.3.2 Use case 2- Login
Use Case ID:

UC2

Name

Login

Date create:

19/08/11

Update:

Description

When you use OST as a member, you must login


into system.

Actors

Member/ Mod/ Admin.

Assumptions

You have an account and password. Password type


dont more 8 times.
1. Open OST
2. Click ng nhp to login Login form
3. Fill in accounts name and password, click Enter.

Steps

4. If your account and password type rightly, next.


Otherwise, come back step 3.
5. System show message: ng nhp thnh cng,
its mean login success.

Options

N/A

Non-Function

N/A

Issues

N/A

3.3.3 Use case 3- Logout


Use Case ID:

UC3

Name

Logout

Date create:

19/08/11

Update:

Description

When you stop use system, you can logout.

Actors

Member/ Mod/ Admin.

Assumptions

You had login before.


1. Click Thot in page login to logout

Steps

Options

2. System show message: C chc l bn mun


ng xut khng? If you want to exit, click
C, otherwise Khng.
N/A

Carpathia, 2011

Page 18

Online Survey Tool


Non-Function

N/A

Issues

N/A

3.3.4 Use case 4-Feedback


Use Case ID:

UC4

Name

Feedback

Date create:

19/08/11

Update:

15/10/11

Description
Actors

Member/ Mod/ Admin.

Assumptions

You had login before.

Steps
Options

N/A

Non-Function

N/A

Issues

N/A

3.3.5 Use case 5- Manage users information


Use Case ID:

UC5

Name

Manage user

Date create:

19/08/11

Update:

Description

When you register into system, you provide your


information; it will save on there. Beside, login,
logout and grant get information from there to
action.

Actors

Admin.

Assumptions

N/A
1. Open manage users information function
2. Action: many sub-step

Steps

3. Edit
4. Delete
5. Lock
6.

Carpathia, 2011

Page 19

Online Survey Tool


7. Then, click p dng to apply command.
Options

N/A

Non-Function

N/A

Issues

N/A

3.3.6 Use case 6- Upload survey


Use Case ID:

UC6

Name

Upload survey

Date create:

19/08/11

Update:

15/10/11

Description

When you use OST as a member, you must login


into system.

Actors

Member/ Mod/ Admin.

Assumptions

You have an account and password. Password type


no more 8 times.
1. Open module your survey Kho st ca ti
2. Select one in two sub-module:
To create survey from survey template, select:
Th vin kho st mu
To create new survey follow yourself, select:
3. T to kho st
4. System will load page Gii thiu sn phm
5. After completed, click Tip theo

Steps

6. System will load page ng kho st, have 4


text box for user enter information:
[Tiu cu hi]
[S lng cu hi]
[im s]
[Ghi ch]
After completed, click Tip theo
7. System will load page Son ni dung, have
number question, each question have 4 number
answers, enter information. After completed,

Carpathia, 2011

Page 20

Online Survey Tool


click Tip theo
8. System will load page Kt qu, show all
Information of complete survey, click Chnh
sa if want to edit, click Lu li if want to
save, click ng ti if want to upload survey.
9. User might copy link of this page to send for
friend or partner to join answer survey.
Options

N/A

Non-Function

N/A

Issues

N/A

3.3.7 Use case 7- Answer survey


Use Case ID:

UC7

Name

Answer survey

Date create:

19/08/11

Update:

Description

For survey in public interface, anybody can answer


survey.

Actors

User.

Assumptions

You have to answer all questions. Otherwise, result


is not accepted.
1. Open OST

Steps

2. Choice 1 survey
3. Answers their questions
4. Submit

Options

N/A

Non-Function

N/A

Issues

N/A

3.3.8 Use case 8- Search


Use Case ID:

UC8

Name

Date create:

19/08/11

Update:

Carpathia, 2011

Search

Page 21

Online Survey Tool

Description

When you find the title of survey, you fill strength


of character contact with survey. System will list
result. If dont have any survey contain you
character in OST, result is 0.

Actors

User

Assumptions

N/A
1. Open OST

Steps

2. Fill in Tm kim strength of character. System


find in libraries of survey to list result
3. List result for you chooses.

Options

N/A

Non-Function

N/A

Issues

N/A

3.3.9 Use case 9- Statistic


Use Case ID:

UC9

Name

Statistic

Date create:

19/08/11

Update:

Description

When the survey is off. Data will summary and


analysis into chart or diagram. Statistic is automatic
by OST. Result of survey only show for person
whom is author accepts. Author select person to
show result in option of Statistic or when create
survey follow mention before.

Actors

Mod, admin.

Assumptions

N/A
Survey off:
1. Off by manually
2. Off by automatic when to dead-time

Steps

3. Off by automatic when to enough number


answer.
4. OST summary result by count, draw chart, draw
diagram or some another way.

Carpathia, 2011

Page 22

Online Survey Tool


5. Show result.
Options

Who is seen result?

Non-Function

N/A

Issues

N/A

3.3.10 Use case 10 Manage survey libraries


Use Case ID:

UC10

Name

Date create:

19/08/11

Update:

Manage survey

When you are a mod or admin, you have many


survey and statistic. So, you will have a function to
manage your survey. It contain survey:
- Create unfinished, save as draft
Description - Create finish, its surveying
- Surveyed and statistic.
For admin, you can see any survey and result you
want. Surveys are sorted by topic and information
about that survey.
Actors

Admin/ mod

Assumptions

N/A
1. Choose your survey library: Kho st ca ti
2. New survey
3. Draft

Steps

4. Surveying
5. Surveyed
6. Statistic
7. After operation, remember save change.

Options

N/A

Non-Function

N/A

Issues

N/A

Carpathia, 2011

Page 23

Online Survey Tool


3.4.

Non-Functional Requirements

Attributes

Usability

Concerns

UI friendly,
easy to upload
survey

Requirements
Engineering

- Easy to use the


tool.

Constraints
- Allows users to login 3
times. If the number of times
over allows times, the
account locked and waits for
5minutes later to login again.
- upload survey add or delete
questions in survey

Performanc
e

- Time to load page


Response time from server less
than 10 second
- Create private
Admin page to
avoid hack
JavaScript.

Security

Security

- Use
Authentication
technical
- Manage account
and Authorization.

- Install the software


management system to avoid
virus, DDOT
- Customer password over 8
characters.

- Setting
permissions and
using Web service

Maintainabi
Maintain
lity

- Time is
maintained to
ensure the use of
tool users are sure
that their absolute
satisfaction.
- The cost of
maintenance to
make sure that not
too much loss
budget of the
customer

- During maintenance should


consider the fault of the tool
carefully to upgrade to next
version.

Testability

- Check the
technical errors in

- Thoroughly tested
- Minimize error to level

Testing

Carpathia, 2011

Page 24

Online Survey Tool


the period.
- If an error is to
find the origin and
the repairs
promptly.

Carpathia, 2011

allowed

Page 25

Online Survey Tool


Evaluation:
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................
...........................................................................................................................

Carpathia, 2011

Page 26

Anda mungkin juga menyukai