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
2 FPT Aptech 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 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
Project: KBC Quiz
3 FPT Aptech 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 Aptech 2 HCM – 2007-1006-Y1 – Group 4
REVIEW 1
Project: KBC Quiz
5 FPT Aptech 2 HCM – 2007-1006-Y1 – Group 4
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 can’t answer the question then they can flip
the question and other question should generate automatically.
Project: KBC Quiz
6 FPT Aptech 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 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)
Project: KBC Quiz
7 FPT Aptech 2 HCM – 2007-1006-Y1 – Group 4
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
Project: KBC Quiz
8 FPT Aptech 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
Activity Plan Prepared By: Group 4 February 16, 2011
Group Leader Faculty
Nguyen Tien Dung Tran Phuoc Sinh
Project: KBC Quiz
9 FPT Aptech 2 HCM – 2007-1006-Y1 – Group 4
REVIEW 2
Project: KBC Quiz
10 FPT Aptech 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 Aptech 2 HCM – 2007-1006-Y1 – Group 4
4.2. Admin Algorithm
5 - System Diagrams
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 Aptech 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 Aptech 2 HCM – 2007-1006-Y1 – Group 4
DFD admin level2 – report
DFD user level2 - in game
Project: KBC Quiz
14 FPT Aptech 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 Aptech 2 HCM – 2007-1006-Y1 – Group 4
5.2.1.4. Questions
5.2.1.5. Sessions
Project: KBC Quiz
16 FPT Aptech 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 Completed
2 DFD & E-R Diagrams
Activity Plan Prepared By: Group 4 February 24, 2011
Group Leader Faculty
Nguyen Tien Dung Tran Phuoc Sinh