You are on page 1of 16

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

Student472515

Nguyen Tien Dung

Student484778

Nguyen Quang Khanh

Student490682
Student333203

Huynh Ai Quoc
Le Ben Hai

Student477448

Le Hoang Duy

February, 2011

Project: KBC Quiz

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 Game ............................................................................................. 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. Software 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 Diagram) .....................................................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

FPT Aptech 2 HCM 2007-1006-Y1 Group 4

Project: KBC Quiz

This is to certify that

Mr./Ms
Has successfully Designed & Developed

Submitted by:

Date of Issue:

Authorized Signature:

FPT Aptech 2 HCM 2007-1006-Y1 Group 4

Project: KBC Quiz

REVIEW 1

FPT Aptech 2 HCM 2007-1006-Y1 Group 4

Project: KBC Quiz

1 - Problem Definition
1.1. Introduction
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 organized 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
money 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 that 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 terminate. 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 answered. 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 which
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 cant answer the question then they can flip
the question and other question should generate automatically.

FPT Aptech 2 HCM 2007-1006-Y1 Group 4

Project: KBC Quiz

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 game
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 question 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)
FPT Aptech 2 HCM 2007-1006-Y1 Group 4

Project: KBC Quiz

Java 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 & jasperreports4.0.jar
sqljdbc.jar
MS SQL Server 2005

FPT Aptech 2 HCM 2007-1006-Y1 Group 4

Project: KBC Quiz

Review 1 - Task Sheet


Project Ref. No.:
Sr.
No.

Task

1 Problem Definition
Customer Requirement
2
Specification

Date of Preparation of Activity Plan


Project Actual
Actual Team Member
Title
Start
Status
Days
Names
Date
KBC
14-02-11
Quiz

All members

Completed

Activity Plan Prepared By: Group 4


Group Leader

February 16, 2011


Faculty

Nguyen Tien Dung

Tran Phuoc Sinh

FPT Aptech 2 HCM 2007-1006-Y1 Group 4

Project: KBC Quiz

REVIEW 2

FPT Aptech 2 HCM 2007-1006-Y1 Group 4

Project: KBC Quiz

3 - Architecture and Design of the Project

4 - Algorithms
4.1. User Algorithm

FPT Aptech 2 HCM 2007-1006-Y1 Group 4

10

Project: KBC Quiz

4.2. Admin Algorithm

5 - System Diagrams
5.1. Data Flow Diagram (DFD)

Process

Data Store

User

Data Flow

DFD Shape Meaning

5.1.1. DFD Level 0 Context Diagram

FPT Aptech 2 HCM 2007-1006-Y1 Group 4

11

Project: KBC Quiz

5.1.2. DFD Level 1

5.1.3. DFD Level 2

DFD admin level2-question manager


FPT Aptech 2 HCM 2007-1006-Y1 Group 4

12

Project: KBC Quiz

DFD admin level2 report

DFD user level2 - in game

FPT Aptech 2 HCM 2007-1006-Y1 Group 4

13

Project: KBC Quiz

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

FPT Aptech 2 HCM 2007-1006-Y1 Group 4

14

Project: KBC Quiz

5.2.1.4. Questions

5.2.1.5. Sessions

FPT Aptech 2 HCM 2007-1006-Y1 Group 4

15

Project: KBC Quiz

Review 2 - Task Sheet


Project Ref. No.:
Sr.
No.

Task

Architectura
1 Algorithms
2 DFD & E-R Diagrams

Date of Preparation of Activity Plan


Project Actual
Actual Team Member
Title
Start
Status
Days
Names
Date
KBC
16-02-11
Quiz

All members

Completed

Activity Plan Prepared By: Group 4


Group Leader

February 24, 2011


Faculty

Nguyen Tien Dung

Tran Phuoc Sinh

FPT Aptech 2 HCM 2007-1006-Y1 Group 4

16

You might also like