online Quiz System by Patel Swati,Patel Grishma

Group
No-18
PRESENTED BY:Patel Switi (13034212078)
Patel Grishma (13034212038)
M.C.A SEMESTER-V
INTENAL GUIDE BY :Prof.Aruna Gurjar
SUBMITTED TO:Acharya Motibhai Patel Institute of Computer Studies
Ganpat University, Ganpat Vidyanagar -384012
Nov/Dec-2014
Project Title
Online Quiz System
Objective of Project
Quiz is a MCQ(Multiple Choice Questions) based Quiz system,
which is built to manage the Quiz process faster and efficient.
Front End
PHP 5.3.5
Back End
MYSQL 5.5.8
Server
Apache 2.2.17
Tools
Dreamviewer 8.0,Wamp Sever
Developed By
Patel Swity .D
(13034212078)
Patel Grishma .B (13034212038 )
Group No.
18
Internal Guide
Prof.Aruna Gujjar
Submitted To
Acharya Motibhai Patel Institute of Computer Studies
Team Size
Two
Problem In Current System: • Few Online Quiz System Available Which is Provide Quiz Passed
Certificate Online.
• No More Details Available About Given Answer in Any Website.
• Generally Time Setting Not Exist.
• More Money & Time Consuming Process.
• Immediate responses to the queries are difficult and time consuming
Process.
• Lots of time are consumed for each report generation.
Need for New System:• Requirement of Passed Certificate Online.
• Requirement Given Answers Details With Related Question.
• Apply Quiz Time Setting.
• Students can access the system at any time.
• User Can play The Different type quiz.
• This System Helps To solve The Time Related Problem.
• Fast Result Generated.
There are main three user in Quiz.
• Admin
• Subject Expert
• Student

Admin:• Login.
• Manage Quiz.
• Manage Category.
• Manage Subject.
• Manage Subject Expert.
• Manage Student.
• Manage quiz schedule.
• View Result.

•
•
•
•
•
2)Subject Exprert:Subject Expert Registration
Login
Manage Profile.
Manage Question and Answers.
View Result For Their Subject.

•
•
•
•
•
3)Student:Registration
Login.
Change the password.
Attend Quiz.
Get quiz result.


SERVER SIDE
Hardware
CLIENT SIDE
Hardware
PROCESSOR-: 2.0 GHZ or Above
PROCESSOR-: 1.2 GHZ or Above
RAM-: 1 GB, HARD DISK-: 80GB
RAM-: 512 MB , HARD DISK-: 80GB ,
Printer


SERVER SIDE
Software
CLIENT SIDE
Software
OS-: Windows Server OS, Linux Or any OS
OS-: Windows XP Or Any OS
FRONT END-: PHP 5.3.5
WEB BROWSER-: Internet Explorer-5.0
BACK END-: MY SQL Server 5.5.8
WEB SERVER-: Apache Server 2.2.17
Or Above
Requirements(0-10)
Analysis(10-20)
A
C
T
I
V
I
T
Y
Designing(20-40)
Coding(35-70)
Testing(35-80)
Implementation(80-90)
Documentation(20-90)
0
10
20
30
40
50
DAYS
60
70
80
90
Activity Diagram in Admin
No
Yes
Activity Diagram in Subject Expert
No
Yes
Activity Diagram in Student
N0
Yes
Online Quize System
<include>>
<include>>
1
m
m
1
m
m
m
1
1
m
m
m
m
m
m
1
m
m
m
m
m
m
m
m
Table Name
Admin_Master
Category_Master
Subject_Master
Subject_Expert
Student_Master
Question_Paper_Master
Question_Paper_Detail
Quiz_schedule
Result_Master
Result_Detail
Table Name:Description:-This table is use to keep the information about the Admin.
Primary key:--admin_id
No
Field Name
Data
Type
Size
Constraint
Description
Control
Name
Validation
1
admin_id
int
5
Primarykey
Admin Id
-
Not null auto
increment
2
Username
Varchar
20
Not Null
Username
Textbox
Required field
3
Password
Varchar
20
Not Null
Password
password
Required field
4
f_name
Varchar
20
Not Null
First Name
Textbox
Required field
5
l_name
Varchar
20
Not Null
Last Name
Textbox
Required field
6
address
Varchar
100
Not null
Address
Textbox
Required field
7
city
Varchar
20
Not Null
City
Textbox
Required field
No
Field Name
Data Type
Size
Constraint
Description
Control
Name
Validation
8
mobile
Decimal
10,0
Not Null
Mobile Number
textbox
Required field
mobile
validation
9
email
Varchar
30
Not Null
Email Address
Textbox
Required field
email validation
10
seq_que
Varchar
40
Not Null
Security
Question
Drop down
Required field
11
seq_ans
Varchar
15
Not Null
Security
Answer
Textbox
Required field
12
status
Tinint
1
Not Null
Active/de
active
-
Required field
Admin_id
User
name
1
2
Password
f_
name
l_
name
address
city
admin
garishma
patel
vishnagar
vishnagar
admin
swity
patel
patan
patan
mobile
email
Seq_que
Seq_ans
status
9985125852
[email protected]
A
A
1
9758623214
[email protected]
A
A
1
Table Name:Description:-This table is use to keep the information about the category.
Primary key:--Category_id
N
o
Field Name
Data Type
Size
Constraint
Description
Control
Name
Validation
1
Category_id
int
5
Primary
Key
Category Id
-
Not null auto
increment
2
Category
Varchar
20
Not Null
Category
Text box
Required
field
Category_id
category
1
maths
3
computer
Table Name:Description:-This table is use to keep the information about the Subject.
Primary key:-subject_id
Foreign key:-category_id
N
o
Field Name
Data Type
Size
Constraint
Description
Control
Name
Validation
1
subject_Id
int
5
Primary
Key
Subject Id
-
Not null auto
increment
2
sub_name
Varchar
20
Not Null
Subject Name
Textbox
Required field
3
sub_code
Varchar
4
Not Null
Subject Code
Textbox
Required field
4
Category_id
int
5
Foreign
key
Category Id
Drop down
Required field
Subject_id
Sub_
name
Sub_code
Category_id
1
English
200
1
2
Maths
201
1
Table Name:-
Description:-This table is use to keep the information about the Subject Expert .
Primary key:-Subject_expert_Id
Foreign key:-Subject_id
N
o
Field
Name
Data
Type
Size
Constraint
Description
Control
Name
Validation
1
Subject_e
xpert_Id
int
5
Primary key
Subject
expert Id
-
Not null auto increment
2
Subject_i
d
int
5
Foreign key
Subject id
Textbox
Required field
3
username
Varchar
20
Not Null
Username
Textbox
Required field
4
password
Varchar
20
Not Null
Password
Textbox
Required field password
validation
5
f_name
Varchar
20
Not Null
Frist Name
Textbox
Required field
6
l_name
varchar
20
Not Null
Last Name
Textbox
Required field
7
address
Varchar
100
Not Null
Address
Textbox
Required field
No
Field Name
Data Type
Si
ze
Constrai
nt
Description
Control
Name
Validation
8
city
Varchar
20
Not Null
City
textbox
Required field
9
pincode
Int
6
Not Null
Pincode
Textbox
Required field
10
mobile
Decimal
10,
0
Not Null
Mobile Number
Textbox
Required field
Mobile
validation
11
email
Varchar
30
Not Null
Email Address
Textbox
Required field
email
validation
12
Seq_que
Varchar
40
Not Null
Security
Question
Drop down
Required field
13
seq_ans
Varchar
15
Not Null
Security
Answer
Textbox
Required field
14
status
Tinint
1
Not Null
Active/de active
-
Required field
Subject_expert_Id
Subject_id
username
1
3
2
5
password
f_name
l_name
address
exp
grishma
patel
vishnagar
exp2
swity
patel
patan
city
pincode
mobile
email
seq_que
seq_ans
status
vishnagar
384002
9726090257
[email protected]
a
a
1
patan
384140
9865321236
[email protected]
a
a
1
Table Name:Description:-This table is use to keep the information about the Student.
Primary key:-student_Id
No
Field
Name
Data Type
Size
Constraint
Description
Control
Name
Validation
1
student_Id
int
10
Primarykey
Student Id
-
Not null auto
increment
2
Username
Varchar
20
Not Null
Username
Textbox
Required
field
3
password
Varchar
20
Not Null
Password
password
Required
field
4
f_name
varchar
20
Not Null
Frist Name
Textbox
Required
field
5
l_name
Varchar
20
Not Null
Last Name
Textbox
Required
field
6
address
Varchar
100
Not null
Address
Textbox
Required
field
7
city
Varchar
20
Not Null
City
Textbox
Required
field
No
Field
Name
Data Type
Size
Constraint
Description
Control
Name
Validation
8
pincode
Int
6
Not Null
Pincode
Drop down
Required
field , pin
code
validation
9
mobile
Decimal
10,0
Not Null
Mobile Number
Textbox
Required
field /mobile
validation
10
email
Varchar
20
Not Null
Email Address
Textbox
Required
field /email
validation
11
seq_que
Varchar
40
Not Null
Security
Question
Drop down
Required
field
12
seq_ans
Varchar
15
Not Null
Security
Answer
Textbox
Required
field
13
Status
Tinint
1
Not Null
Active/deactive
Drop down
Required
field
student_id
User
name
1
2
Password
f_
name
l_
name
address
city
abc
garishma
patel
vishnagar
vishnagar
xyz
swity
patel
patan
patan
pincode
mobile
email
Seq_que
Seq_ans
status
384002
9985125852
[email protected]
A
B
1
384140
9758623214
[email protected]
B
C
1
Table Name:Description:-This table is use to keep the information about the Quiz question
paper which manage by Subject Expert.
Primary Key:-qp_id
Foreign Key:-Subject expert_Id
N
o
Field Name
Data Type
Size
Constraint
Description
Control
Name
Validation
1
qp_id
int
5
Primary
Key
Question
Paper Id
-
Not null
Auto
increment
2
Subject
expert_Id
int
5
Foreign
Key
Subject
expert Id
-
Required field
3
total_que
int
5
Not Null
Total
Question
Textbox
Required field
4
time_minute
int
3
Not Null
Time Minute
Textbox
Required field
5
title
Varchar
50
Not null
Title
Textbox
Required field
qp_id
Subject
expert_Id
total_que
time_minute
title
4
1
5
2
2minute
5
1
0
2
eng
Table Name:Description:-This table is use to keep the information about the question and
Answer detail.
Primary Key:- qd_id
Foreign Key:- qp_id
N
o
Field Name
Data Type
Size
Constrai
nt
Description
Control
Name
Validation
1
qd_id
int
5
Primary
Key
Question
Detail Id
-
Not null
Auto
increment
2
qp_id
int
5
Foreign
Key
Question
Paper Id
Text box
Required field
3
question
Varchar
200
Not Null
Question
Text box
Required field
4
opt_a
Varchar
25
Not Null
Option A
Radio button
Required field
5
opt_b
Varchar
25
Not Null
Option B
Radio button
Required field
6
opt_c
Varchar
25
Not Null
Option C
Radio button
Required field
7
opt_d
Varchar
25
Not Null
Option D
Radio button
Required field
8
answer
Varchar
25
Not Null
Answer
Dropdown list
Required field
qd_id
qp_id
question
11
4
Which language Preffer For Developping Window App?
12
4
which is your favourite Fruit?
opt_a
opt_b
opt_c
opt_d
answer
C#
vb
C++
JAVA
C++
Apple
Banana
Mango
Graps
Apple
Table Name:Description:-This table is use to keep the information about the Test which
given by student.
Primary Key:- quiz_id
Foreign Key:- Sub_id
Foreign Key:- qp_id
N
o
Field Name
Data Type
Size
Constraint
Descripti- Control
on
Name
Validation
1
quiz_id
int
5
Primary
Key
Quiz Id
-
Not null
auto
increment
2
quiz_date
date
8
Not Null
Quiz
Date
Textbox
Required
field
3
Sub_id
int
5
Foreign
Key
Subject Id
Drop down
Required
field
4
qp_id
Int
5
Foreign
Key
Question
Paper Id
Textbox
Required
field
quiz_id
quiz_date
Sub_id
qp_id
11
2014-11-01
2
4
12
2015-10-06
3
4
Table Name:Description:-This table is use to keep the information about the student test
result.
Primary Key:-result_id
Foreign Key:- quiz_id
N
o
Field Name
Data Type
Size
Constrai
nt
Description
Control
Name
Validation
1
result_id
int
5
Primary
Key
Result Id
-
Not null auto
increment
2
quiz_id
int
5
Foreign
Key
Test Id
Link button
Required field
3
total_que
int
5
Not Null
Total Question
-
Required field
4
attempt
int
5
Not Null
Attempt
Question
-
Required field
5
correct
int
5
Not Null
Correct
Question
-
Required field
6
result
int
5
Not Null
Result
-
Required field
result_id
quiz_id
total_que
attempt
correct
result
27
19
5
5
2
1
28
13
5
5
2
1
Table Name:Description:-This table is use to keep the information about the student quiz
result detail .
Primary Key:-rd_id
Foreign Key:- quiz_id
Foreign Key:- qd_id
N
o
Field Name
Data Type
Size
Constraint
Description
Control
Name
Validation
1
rd_id
int
5
Primary
Key
Result
Detail Id
-
Not null auto
increment
2
quiz_id
int
5
Foreign
Key
Test Id
Link button
Required field
3
qd_id
int
5
Foreign
Key
Question
Detail Id
-
Required field
4
question
Varchar
200
Not Null
Question
Lable
Required field
5
c_ans
Varchar
25
Not Null
Correct
Answer
Lable
Required field
6
u_ans
Varchar
25
Not Null
Your
Answer
Redio button
Required field
7
result
varchar
5
Not Null
Result
Lable
Required field
8
status
TinInt
1
Not Null
Active/deactive
-
Required field
rd_id
quiz_id
qd_id
question
112
19
11
Which language Preffer For Developping
Window App?
113
19
12
which is your favourite Fruit?
c_ans
u_ans
result
status
C++
vb
false
1
Apple
Banana
false
1
SequenceDiagram(Admin)
Response
Response
Response
Response
Response
Response
Response
Response
SequenceDiagram(Subject Expert)
Response
Response
Response
Response
SequenceDiagram(Student)
Response
Response
Response
Response
1.Login
2.Verify
Admin
1.Apply Registration
2.Ackowlegement
Subject Expert
3.Login
4.Verify
1.Apply Registration
2.Ackowlegement
Student
3.Login
4.Verify
HOME PAGE
GALLERY
CONTACT
ABOUT
LOG IN
EXPERT REGISTRATION
STUDENT REGISTRATION
MANAGE CATEGORY
MANAGE SUBJECT
MANAGE SCHEDULE
MANAGE EXPERT
MANAGE STUDENT
RESULT
MANAGE PAPER
EDIT PROFILE
EXAM
START EXAM
RESULT
RESULT DETAIL
EDIT ACCOUNT
Used Testing Schemes
 Black Box Testing:

This is also called Functional Testing.
 This testing method is used to find out interface error & database access
errors.
 In this testing method the tester only knows the inputs that can be given to
the system and what output the system should give.
 Module Testing:
 A module is a collection of dependent components. Each module of this
Project was tested.
 Alpha Testing:
 Alpha testing was done for this project with my friends.
Beta Testing:
 A test is conducted at customer site by the end user without the presence of
developer.
 This developed Project was given at company for Beta testing among their
staff members.
 Unit Testing:
 Testing an individual module in isolation.
 This is in contrast to integration testing.
 Individual components are tested to ensure that they operate correctly. Each
component is tested independently without other system components.
Test Cases
No
Test case
Input
Expected Result
Actual Result
Status
1
Login Test
User Name And
Password
Home Page
Home Page
Successful
/Unsuccessful
2
Registration
Details
3
Exception
Handling
Enter the User Email-id, Email-ID,
Mobile, Require Field Mobile,
Require field
Error SqlDatabase
Error Message
Connection. Failed
Display
Fill
Successful
information
/Unsuccessful
one by one
Error
Successful
Database
Disconnection
Messages in
Error Page
4
Set Schedule
Test
Faculty Can Set
Schedule
Data should
be
Schedule in
Record
Upload and
store into
Result Table.
Successful
5
Give Exam Test Student Can Give
Exam
Exam Created
Exam Created
by user side
Successful
Future Enhancement
 Student can get result via Email or Sms.
 Student also get question bank subject wise.
 Subject Expert give guidelines to students
for their subject.
 Add more subject and topies in our site.
Bibliography/Reference
Books Referred
•
PHP5 and MySQL BIBLE , The Converse and Joyce Park ,
Bible Publication.
Web-Sites Referred
www.w3resources.org
www.w3schools.com