Review 1 - Task Sheet

weaverchurchSoftware and s/w Development

Aug 15, 2012 (5 years and 2 days ago)

348 views


Centre Name: FPT
-

Aptech 2 HCM

Address: 590 Cach Mang Thang 8, District 3, Ho Chi Minh City
, Viet Nam











KBC QUIZ


Design Document








Faculty

:
Tran Phuoc Sinh

Batch No

:

2007
-
1006
-
Y1

Group No

: 4


Group members
:

Roll Number

Full
Name

Studen
t
472515

Nguyen Tien Dung

Student484778

Nguyen Quang Khanh

Student
490682

Student
333203

Huynh Ai Quoc

Le Ben Hai

Student
477448

Le Hoang Duy




February, 2011

Project: KBC Quiz


2

FPT Aptec
h 2 HCM


2007
-
1006
-
Y1


Group

4

TABLE OF CONTENTS

REVIEW 1

................................
................................
................................
...........

4

1
-

Problem Definition

................................
................................
......................

5

1.1.

Introduction

................................
................................
................................
..........

5

1.2.

Project Requirements

................................
................................
............................

5

2
-

Customer Requirement Specification

................................
.......................

5

2.1.

Rules For The G
ame

................................
................................
.............................

5

2.1.1.

Admin

................................
................................
................................
.......................

6

2.1.2.

User
................................
................................
................................
..........................

6

2.2.

Designing Requirements

................................
................................
.......................

6

2.3
.

System Requirements

................................
................................
...........................

6

2.3
.1.

Hardware Requirements

................................
................................
..........................

6

2.3
.2.

Sof
tware Requirements

................................
................................
............................

6

Review 1
-

Task Sheet

................................
................................
.........................

8

REVIEW 2

................................
................................
................................
...........

9

3
-

Architecture and Design of the Project

................................
...................

10

4
-

Algorithms

................................
................................
................................
.

10

4.1.

User

Algorithm

................................
................................
................................
...

10

4.2.

Admin

Algorithm

................................
................................
...............................

11

5
-

System Diagrams

................................
................................
.......................

11

5.1.

Data Flow Diagram (DFD)

................................
................................
.................

11

5.1.1.

DFD Level 0


Context Diagram
................................
................................
...........

11

5.1.2.

DFD Level 1

................................
................................
................................
..........

12

5.1.3.

DFD Level 2

................................
................................
................................
..........

12

5.2.

E
-
R Diagram (Entity Relationship Di
agram)

................................
.....................

14

5.2.1.

Entities

................................
................................
................................
...................

14

5.2.1.
1.Admin

................................
................................
................................
................

14

5.2.1.
2.Answers

................................
................................
................................
.............

14

5.2.1.
3.Categories

................................
................................
................................
.........

14

5.2.1.
4.Questions

................................
................................
................................
..........

14

5.2.1.
5.Sessions

................................
................................
................................
.............

14

5.2.2.

E
-
R Diagram

................................
............................

Error! Bookmark not defined.

Review 2
-

Task Sheet

................................
................................
.......................

16


Project: KBC Quiz


3

FPT Aptec
h 2 HCM


2007
-
1006
-
Y1


Group

4




This is to certify that

Mr./Ms


Has successfully Designed & Developed




Submitted by:




Date of Issue:



Authorized Signature:













Project: KBC Quiz


4

FPT Aptec
h 2 HCM


2007
-
1006
-
Y1


Group

4





















REVIEW 1

Project: KBC Quiz


5

FPT Aptec
h 2 HCM


2007
-
1006
-
Y1


Group

4

1
-

Problem D
efinition

1.1.

Introdu
ction

Quiz show is generally organized to upgrade or the test the IQ level of the
person. It generally comprises question based on Current Affairs, Business, Events,
History, General Knowledge, Science, Sports, Articles and so on.It is org
anized for
the sake of Gaining Knowledge as well as for Entertainment purpose.

1.2.

Project Requirements

The company wants you to develop an online Quiz show game where user can
play the quiz game. For the entertainment sake they have decided to add the prize
m
oney for the game which will keep on increasing with every question answered
correctly, as per the table below. Generation of the question should be random
based, so that consecutive user does not get the repeated question and neither the
same user get th
at question again. Entering of the question should be done by the
Administrator only. Each user has to type their name then start playing the game. If
the user answers the question incorrect then final amount should generate and
his/her page should get ter
minate. Question should generate with four options where
user has to select the one option at a time. User can leave the quiz before answering
a question by taking away the prize money upto question no.12. Question 13 if
attempted is mandatory to be answer
ed. For Question 1
-
12 user can view the
question and then can decide to quit without answering and taking away the earned
money.

2
-

Customer Requirement Specification

2.1.

Rules for the game

While playing the game the user will have three life lines to save them w
hich
can be used only once for the particular user



50
-
50:

Out of the four options the two wrong answers will get erased,
which makes only two options available for the user.



Flip:

If the user feels he/she can’t answer the question then they can flip
the qu
estion and other question should generate automatically.

Project: KBC Quiz


6

FPT Aptec
h 2 HCM


2007
-
1006
-
Y1


Group

4



Double dip:

Here user gets two attempt to answer the question but are
not allowed leaving the game if the first attempt goes wrong.

The designing modules should have following functionalities:

2.1.1.

Admin

Entering the question for the quiz, modifying the question, Deleting the
question.

Can view the report of the entire user who had played the game along with
their prize money.

2.1.2.

User

Creating their account before playing the game.

Can view the rules of the g
ame

Play the game

2.2.

Designing requirements

Once the user start the game then a page should come which should welcome
followed by their name

Welcome Username

Then user should proceed the game by moving to the next page…


Where a page comes with one questio
n framed in the panel along with four
option and user is supposed to select only one answer.


If the answer is correct then it should proceed to the next question or else the
message box should display the final termination along with the candidate scores.

2.3.

System Requirements

2.3.1.

Hardware

Requirements



A minimum computer system that will help you access all the tools in the
courses is a Pentium 4 2.0 GHz or higher.



512 MB of RAM or higher.

2.3.2.

Software Requirements



JDK
6



Netbeans 6.5 or higher (Recommended 6.9.1)

Project: KBC Quiz


7

FPT Aptec
h 2 HCM


2007
-
1006
-
Y1


Group

4



Ja
va SE 6



Java Runtime Environment

(JRE) 6



MS SQL Server 2005



Window XP or higher



Development Software



JDK 6



Netbeans 6.
9.1



Java SE 6



iReport 4 & jasperreport
s4.0.jar



sqljdbc.jar



MS SQL Server 2005

Project: KBC Quiz


8

FPT Aptec
h 2 HCM


2007
-
1006
-
Y1


Group

4

Review 1
-

Task Sheet

Project Ref. No.:

Project
Title

Date
of Preparation of Activity Plan

Sr.
No.

Task

Actual
Start
Date

Actual
Days

Team Member
Names

Status

1

Problem Definition

KBC
Quiz

14
-
02
-
11

2

All members

Completed

2

Customer Requirement
Specification







Ac
tivity Plan Prepared By: Group 4

Febru
ary 16, 2011


Group Leader

Faculty





Nguyen
Tien Dung

Tran Phuoc Sinh

Project: KBC Quiz


9

FPT Aptec
h 2 HCM


2007
-
1006
-
Y1


Group

4





















REVIEW 2


Project: KBC Quiz


10

FPT Aptec
h 2 HCM


2007
-
1006
-
Y1


Group

4

3
-

Architecture and Design of the Project


4
-

Algorithms

4.1.

User

Algorithm


Project: KBC Quiz


11

FPT Aptec
h 2 HCM


2007
-
1006
-
Y1


Group

4

4.2.

Admin

Algorithm



5
-

System

Diagram
s

5.1.

Data Flow Diagram (DFD)

User
Process
Data Store
DFD Shape Meaning
Data Flow


5.1.1.

DFD Level 0



Context Diagram


Project: KBC Quiz


12

FPT Aptec
h 2 HCM


2007
-
1006
-
Y1


Group

4

5.1.2.

DFD Level 1





5.1.3.

DFD Level
2



DFD

admin

level2
-
question manager

Project: KBC Quiz


13

FPT Aptec
h 2 HCM


2007
-
1006
-
Y1


Group

4




DFD admin level2


report



DFD

user

level2

-

in

game

Project: KBC Quiz


14

FPT Aptec
h 2 HCM


2007
-
1006
-
Y1


Group

4

5.2.

E
-
R
Diagram
(
Entity

Relationship

Diagram
)

5.2.1.

Entities

5.2.1.1.

Admin


5.2.1.2.

Answers




5.2.1.3.

Categories



Project: KBC Quiz


15

FPT Aptec
h 2 HCM


2007
-
1006
-
Y1


Group

4

5.2.1.4.

Questi
ons


5.2.1.5.

Sessions





Project: KBC Quiz


16

FPT Aptec
h 2 HCM


2007
-
1006
-
Y1


Group

4

Review 2
-

Task Sheet

Project Ref. No.:

Project
Title

Date of Preparation of Activity Plan

Sr.
No.

Task

Actual
Start
Date

Actual
Days

Team Member
Names

Status


Architectura






1

Algorithms

KBC
Quiz

16
-
02
-
11

9

All members

Complete
d

2

DFD & E
-
R Diagrams







Activity Plan Prepar
ed By: Group 4

February 24, 2011


Group Leader

Faculty





Nguyen
Tien Dung

Tran Phuoc Sinh