Вы находитесь на странице: 1из 54

1.

Introduction
1.1About Project
The main aim of Online Quiz is to facilitate a user friendly
environment of Bluebook implementation and reduces the manual effort. Users of the
system are:
1. Organizations
. !nstitutions
!n this all the permissions lies "ith the administrator i.e.#
specifying the details of the $uiz having constraints like team size# marks to be allotted for
total $uiz# marks for each $uestion# negative marking if the ans"er is "rong or if he%she
can&t ans"er "ith in time limit# calculating the average marks and also specifying the pass
marks# "here as the 'articipant "ill not be provided "ith any registration or login.
(epending on the pass mark given the teams the attain those pass mark%cut)off mark are
for"arded to the ne*t round and finally "ho got the highest score are declared as the
"inner.
!n past days $uiz is conducted manually but in further resolution of
the technology "e are able to generate the score and pose the $ueries automatically. The
functional re$uirements include to create no. of teams that are going to participate in the
event in accordance "ith the organization# +utomatic score generation# elimination of
teams depending on performance.
,ecure access of confidential data# better design to give
effective Bluebook and fle*ible. ,ervice based architecture "ill be highly desirable for
future e*tension. !ssues are to reduce the manual pressure and make the Bluebook in
effective manner.
1
2. Project Analysis
2.1 Purpose of the project
-omputerization of Bluebook is the option by "hich the public and organized
sector can perform actions like
1. +ns"ering the $uestions
. .ating the team.
This system is helpful in attaining kno"ledge to the society.
+dministrator can perform actions like:
1. ,election of teams.
. ,pecifying total marks of the $uiz.
/. 0eneration of reports for the teams
1. Queries should be there for entire $uiz.
2. 3arks should be allotted for each $uestion.
Only administrator has login id and pass"ord for updating and generating the details.
2.2 Existing System:
!n e*isted system each participant "ill be provided "ith the
terminals and limited $uestions are displayed in a single page. +ccording to the time limit
$uestions "ill be submitted automatically and finally scores of the individuals are
calculated.
..1 'roblem in 4*isting ,ystem
There is no scope for teams to play.
+ll the $uestions "ill be displayed at a time.
The "inners are not allo"ed to play another round.
There is no $uestion of negative marking and marks of each team can&t be evaluated.

2.Proposed System:
'roposed system provides a solution to e*isting system by
e*tending its facilities as follo"s:
There is a scope for playing 56& number of teams in a $uiz.
There is a chance for ans"ering the $uestion for each and every individual in a
team.
+ccording to the re$uirement of organization or institution all the $uiz details can
be finalized# every team has the chance of ans"ering the given $uestion for 56&
number of times and negative marking is also attracted for the teams.
Time limit is provided for each team to ans"er certain $uestion.
7inally all the scores of the teams are calculated depending upon the pass marks the
"inners are for"arded to the ne*t round# and one team "ill be declared as "inners.
/
. !e"uirement Analysis
.1 Purpose and Scope
Purpose:
'roviding an online comprehensive solution to manage $uiz "here the
individuals are participating in a team.
Scope:
'roviding accessibility to the administrators "ho have a valid userid and
pass"ord. This system also provides the follo"ing facilities such as:
56 &number of teams can participate in a $uiz.
+utomation of scores of the teams.
(epending upon the pass marks re$uested by the organization%institution final
teams can participate 56& number of rounds until one team is declared as "inners.
Based on the re$uirement of organization or institution all the $uiz details
8including negative marking9 are entered by the administrator .
:ie"ing and deleting the results of the $uiz.
.2 #sers of the System
Organizations# !nstitutions# +cademicians etc
+dministrators
!ndustrialists

1
$. Specific re"uirements
$.1 %unctional and &on' %unctional !e"uirements
%unctional !e"uirements:
1. +dministrator must have valid userid and pass"ord to login to the system.
. +fter the valid administrator logs in he is sho"n "ith the list of icons on $uiz and
"ants to generate reports of the teams.
/. On selecting the desired icon he is taken to a page "hether to enter $uiz details of
the teams# vie" the results of the $uiz# and delete previous results of the $uiz.
1. -an create number of teams participating in event in accordance to re$uirements of
users.
2. +utomatic score generation of the teams.
;. +utomatic elimination of teams depending on performance.
<. Based on the calculation of average marks the teams are eliminated and final teams
are for"arded to the ne*t round until the "inner is declared.
=. Questions for the teams are flipped automatically according to the time limit and
negative marking is given to the participant if he is not able to ans"er the $uestion.
>. +utomatic posing of $uestions to the participants in accordance to the re$uirement
of the user.
1?. !mplementation of rapid fire round
&on'functional !e"uirements:
1. ,ecure access of confidential data 8user&s details9.
. Better design to give effective Bluebook.
/. 7le*ible service based architecture "ill be highly desirable for future e*tension
$.2 #ser Interface !e"uirements
2
1. 'rofessional look and feel
. Use of @ava,cript at least "ith all registration forms
/. Bro"ser testing and support for !4# 66# 3ozilla# and 7ire fo*.
1. .eports e*portable in .AB, or any other desirable format.
$. Proposed System Architecture
;
4.4 Client Server Architecture
<
Bogin page
8userid and
pass"ord9
On
clicking
login
7ill in
the form
On
submitting
valid details
Update the
database
and start
the $uiz
-lick on
the
submit
+ns"ers the
$uestions and
click on the
submit button.
The "inner "ill be
allo"ed to play the
ne*t round.
7inal "inner
"ill be
calculated
based on the
score
Come page
Questions "ill
be displayed to
user
+utomation of
score board.
(.) Architecture *iagram of system basing on modules
=
-lient
,oft"are
8,ystem
user9
3y,$l
T-'%!
'
+pache
Tomcat
CT3B
client
8-ustomer9
CTT'%
CTT'
,
+lient side
Application
ser,er
*atabase
ser,er
). System !e"uirements
>
On submit
,tart
$uiz
Based on score# teams are for"arded to ne*t round
until final "inner is declared.
4ntering
details of $uiz
and generating
reports
+ns"ering
$uestions by teams
based on time and
negative marking is
attracted for team&s
module
+fter ans"ers
Bogin
module of
admin
4limination
of team&s D
score board
module
).1 -echnologies #sed:
1. U3B
. @44
/. A3B
1. @ava,cript
).2-ools #sed:
1 4clipse /./
. Eeb ,phere 'ortal .?.
/. 3y ,$l
1. 4dra" 3a*
(. System *esign
1?
(.1 *atabase *esign
(.1.1 E'! *iagrams:
(.2 .eha,ioral *iagrams
11
Bogin
+dministrator
'articipants
Quiz
3aster
'ass"or
d
4nter
$uiz
details
4dit
$uestion
bank
:ie" D
deletes
$uiz
details
'ass to
ne*t
round
+ns"erin
g
$uestions
+ccepti
ng
score
+sk
$uestions
,tart
$uiz
(.2.1. #se +ase *iagrams
+ use case is a methodology used in system analysis in identify# clarify# and
organize system re$uirements. The use case is made up of a set of possible se$uences of
interactions bet"een systems and users in a particular environment and related to a
particular goal.
1
Edit the Qustion Bank
Pass to the next round
Answering the questions
Participant
Ask the questions
Login
Admin
Enter the participant details
Quiz Master
Start the quiz
7ig ;..1: Use case (iagram of -omputerization of Bluebook
1/
&ame of the #se'+ase: Bogin
*escription:
+dmin of the product must be login to enter $uiz details and generate reports of
the teams.
Pre condition: +dmin must have a valid user id and pass"ord.
Post condition: :ie"ing or deleting the previous results of the $uiz/ entering the
$uiz details.
%lo0 of e,ents:
!nvoke the Eelcome page of ,ystem.
4nter the valid User !( and 'ass"ord.
-lick on ,ubmit button to access and generate reports of the
teams.
&ame of the #se'+ase: enter the team details
*escription:
+dmin of the O,3 system must be able to enter $uiz details
Pre condition: +dmin must be logged into the system.
Post condition: 'reserve the details of the teams in the database.
%lo0 of e,ents:
4ntering the number of teams and total marks of the $uiz.
-alculating average marks and negative marking for each
$uestion.
-lick on save and ne*t button to vie" the $uestions for the
teams.

11
Alternati,e %lo0 of E,ents:
!f the !nvalid details are entered an error message "ill be
displayed.
&ame of the #se'+ase: Edit the "uestion ban1
*escription:
The admin can edit the $uestion bank
Pre condition: The admin must be logged into the system.
Post condition: 4dit the $uestion bank.
%lo0 of e,ents:
Bogin to the Come 'age.
4dit the $uestion bank.
&ame of the #se'+ase: %inal 0inners pass to next round
*escription:
!f t"o or more teams are "inners they can participate in ne*t round to Fudge the
final "inner.
Pre condition: The admin edits the $uestion bank.
Post condition: Based on average marks of teams the final "inners are for"arded to
further round.
%lo0 of e,ents:
Bogin to the Come 'age.
4dit the $uestion bank.
&ame of the #se'+ase: Starts the "ui2
*escription:
The admin starts the $uiz.

12
Pre condition: The admin must be logged into the system and edit the $uestion
bank.
Post condition: 0enerating scores of the teams automatically.
%lo0 of e,ents:
Bogin to the Come 'age.
&ame of the #se'+ase: As1ing "uestions
*escription:
The admin is able to generate number of steps of $uestions for the teams.
Pre condition: The admin should enter marks for each $uestion.
Post condition: (epending on given ans"ers score board is automated.
%lo0 of e,ents:
Bogin to the Come 'age.
&ame of the #se'+ase: Ans0ering the "uestions
*escription:
The users must ans"er the $uestions posed.
Pre condition: The admin must be logged into the system and enter the details of
$uestions correctly.
Post condition: +utomation of score generation.
%lo0 of e,ents:
Bogin to the Come 'age.
4nter details of $uestions correctly
7inal "inners are for"arded to further round
1;
(.2.2 +lass diagram for +omputeri2ation of .lueboo1
Quiz Master
start the quiz(
asking questions(
Participant
answering questions(
1.........n
Admin
username ! string
password ! string
login(
enter the participants details(
edit thequestion "ank(
pass to the next round(
generate reports(
1............................1
1.....n
7ig ;..: -lass (iagram for -omputerization of bluebook
(.2. +ollaboration *iagrams
+ collaboration diagram also called a communication diagram or
interaction diagram is an illustration of the relationships and interactions among soft"are
obFects in the unified modeling language.
1<
+ollaboration diagram for Administrator 3ogin
Admin S#stem
$ata"as
e
%! Store
&! Login
'! $ispla# the Status
(! Store in the data"ase
)! *eturn status
7ig ;../.1: -ollaboration diagram for +dministrator Bogin
+ollaboration diagram for "ui2 details
S#stem
$ata"as
e
Admin
%! store
(! sa+e
)! return status
&! enter quiz deatails
'! displa# status
7ig ;../.: -ollaboration (iagram for $uiz details
1=
+ollaboration diagram to edit "uestion ban1
Admin
S#stem
$ata"as
e
&! edit the question"ank
%! displa#s updated questions success,ull#
(! stores the updated questions
7ig ;.././: -ollaboration (iagram to edit $uestion bank
+ollaboration diagram for starting "ui2
Quiz
Master
S#stem
$ata"as
e
&! *equest ,or the questions
'! Starts the quiz
)! gets the questions
(! checks in the data"ase
%! returns the questions i, a+aila"le
7ig ;../.1: -ollaboration diagram for to start a $uiz
1>
+ollaboration diagram for ans0ering the "uestions
Participants S#stem
$ata"ase
&! Answers the questions
)! goes to the next round
(! stores
%! *eturns status
7ig ;../.2: -ollaboration diagram for ans"ering the $uestions
?
(.2.$ Se"uence *iagrams
,e$uence diagram is a diagram that sho"s obFect interactions arranged
in time se$uence. !n particular it sho"s obFects participating in the interaction and the
se$uence of messages e*changed.
Se"uence diagram for Admin 3ogin
Admin S#stem $ata"ase
Login
Store in the data"ase
Store
*eturn status
$ispla# the Status
7ig ;..1.1: ,e$uence diagram for +dmin login
1
Se"uence diagram for entering "ui2 details
S#stem $ata"ase Admin
enter quiz deatails
sa+e
store
return status
displa# status
7ig ;..1.: ,e$uence diagram for $uiz details
Se"uence diagram for to edit "uestion ban1
Admin S#stem $ata"ase
edit the question"ank
stores the updated questions
displa#s updated questions success,ull#
7ig ;..1./: ,e$uence diagram for to edit $uestion bank

Se"uence diagram for starting "ui2


Quiz Master S#stem $ata"ase
*equest ,or the questions
checks in the data"ase
returns the questions i, a+aila"le
gets the questions
Starts the quiz
7ig ;..1.1: ,e$uence diagram for starting $uiz
Se"uence diagram for ans0ering "uestions by teams
Participants S#stem $ata"ase
Answers the questions
stores
*eturns status
goes to the next round
7ig ;..1.2: ,e$uence diagram for ans"ering $uestions
/
(.System Specific 4odules
1. Administrator 3ogin:

!n this module an administrator first login in to the system then he is
authenticated user. !f he is not valid then the message should be displayed saying that not
valid. !f he is valid then the page should be navigated to the GadmindutiesH page displaying
items like Gstart $uiz# delete previous results of the $uiz# $uitH. !f the administrator "ants
to delete the previous results of the $uiz then he "ill be clicking on the Gdelete previous
resultsH then $uiz data "ill be deleted successfully and the page is navigated to
Gend$uiz.FspH. !n that there "ill be displaying items G3ain 3enu and $uitH. !f the admin
"ants to continue then click on the G3ain 3enuH then the page is navigated to
Gstart$uiz.FspH# there he "ill be specifying $uiz details.
2. Items:

!n this module an administrator enters the details of the $uiz specifying items
like GTotal no. of teams participating in the $uiz# enter no. of $uestions in the $uiz# 4nter
marks for correct ans"er# 4nter marks for "rong ans"er# -alculate ma*imum marks# 4nter
pass marks and click on save button# then these "ill be saved in the database. !f he changes
his decision to enter some more fields then click on cancel. !f he "ants to enter to the main
menu then click on G3ain 3enuH button or else click on the $uit.

. Enter the "ui2 details:

!n this all the details of the $uiz are selected like selection of number of
teams# total marks of $uiz# calculation of average marks# marks for each $uestion and
negative marking are also attracted for the teams and saved. These details "ill be saved in
the database. !f he enters any incorrect details%if he enters $uestions less than the team size
specified then the message "ill be displayed saying that Gincorrect dataH. +fter saving#
then page "ill be navigated to Gsave.FspH. There rules "ill be displayed and if the teams are
1
ready to participate then click on the Gstart $uizH# immediately the page "ill be navigated
to Gnonpasson.FspH. !n this based on the no. of teams entered# the $uestions "ill be
displayed for the teams as specified in the $uiz details. !f the team didn&t ans"er the
$uestion "ithin the time then the $uestion carries negative marks# means unattempted
$uestion carries negative marks. +fter all the teams have ans"ered the $uestions then the
page "ill be navigated to Gcheckans"er.FspH asking to display the score for the teams.
$. !eport 5eneration:

!n this module an administrator can vie" all the reports and generate
the "inners for the round depending on the ma*imum marks specified. Based on that if
there are t"o or more teams "ho scored more than pass marks they can play the ne*t round
to Fudge the final "inners or else teams can be decided as "inners. !f the teams "ant to
play the ne*t round of the $uiz then the page "ill be navigated to Gne*t$uiz.FspH. There the
process is common to enter the details of the $uiz.
). Automatic score generation:

!n this module the scores of the teams are automatically generated. Total aim
of the proFect is to generate entire event automatically.
(. Automatic Elimination of teams:
!n this module the teams are eliminated automatically according to the pass
marks specified by the users. !f the teams are unable to score the ma*imum marks then the
no teams are for"arded to ne*t round# and team "ho is having the ma*imum score
compared to all the teams then the asset "ill be gained by the team. !f there are more than
t"o teams and if they "ants to play the ne*t round then click on the G'lay 6e*t .oundH.
Then the page "ill be navigated to Gne*t$uiz.FspH and the process is common to enter the
$uiz details until final "inner is Fudged.
2
(.$Screens
,tep 1: Come page of the -omputerization of Bluebook
,tep : Bogin page of the +dministrator

;
,tep /: Eelcome page of the +dmin
,tep 1: 'revious data of the $uiz is deleted successfully.
<
,tep 2: -licking on start $uiz# admin enters the details of the $uiz and click on
save.
,tep ;: (isplaying rules of the $uiz and click on G,T+.T QU!IH
=
,tep <: Questions are displayed for the specified teams "ithin the time limit
,tep =: -lick on the score button to see the score of the teams
>
,tep >: +ccording to the ma*imum score specified only one team got selected
,tep 1?: -lick on G'B+J 64AT .OU6(H if t"o or more teams got selected
/?
,tep 11: 4nter the $uiz details to play the ne*t round to Fudge the final "inner
/1
(.) Sample +ode
adminduties.jsp
KLM page languageNOFavaO contentTypeNOte*t%htmlP charsetN!,O)==2>)1O
page4ncodingNO!,O)==2>)1OLQ
KR(O-TJ'4 html 'UBB!- O)%%E/-%%(T( CT3B 1.?1 Transitional%%46O
Ohttp:%%"""."/.org%T.%html1%loose.dtdOQ
KhtmlQ
KheadQ
Kmeta nameNOkey"ordsO contentNOO %Q
Kmeta nameNOdescriptionO contentNOO %Q
Klink hrefNOdefault.cssO relNOstylesheetO typeNOte*t%cssO %Q
Kmeta http)e$uivNO-ontent)TypeO contentNOte*t%htmlP charsetN!,O)==2>)1OQ
KtitleQ"elcome adminK%titleQ
Kscript languageNOFavascriptOQ
function change8url9
S
"indo".navigate8url9P
T
K%scriptQ
K%headQ
KbodyQ
Kdiv idNO"rapperOQ
Kdiv idNOheaderOQ
Kdiv idNOlogoOQ
Kh1QKa hrefNOUOQ-omputerization of Blue BookK%aQK%h1Q
KhQOnline QuizK%hQ
K%divQ
KR)) end divUlogo ))Q
K%divQ
/
KcenterQKbrQKbrQ
Kh1QE4B-O34 +(3!6!,T.+TO.K%h1Q
Kbr%QKbr%QKbrQKbrQKbrQ
Kinput typeNObuttonO valueNO,T+.T QU!IO
onclickNOchange8V.%start$uiz.FspV9OQKbr%QKbr%Q
Kinput typeNObuttonO valueNO(4B4T4 +BB '.4:!OU, .4,UBT,O
onclickNOchange8V.%end$uiz.FspV9OQKbr%QKbr%Q
Kinput typeNObuttonO valueNO QU!T O onclickNO"indo".close89OQKbr%QKbr%Q
K%centerQ
K%bodyQ
K%htmlQ
chec1ans0er.jsp
KLM page languageNOFavaO contentTypeNOte*t%htmlP charsetN!,O)==2>)1O
page4ncodingNO!,O)==2>)1O importNOFava.s$l.W#vdb.WOLQ
KR(O-TJ'4 html 'UBB!- O)%%E/-%%(T( CT3B 1.?1 Transitional%%46O
Ohttp:%%"""."/.org%T.%html1%loose.dtdOQ
KLR
-onnection con N nullP
.esult,et rsNnull#rsNnullP
int marksN?P
LQ
KL
,ystem.out.println8Oentered checkans"er.FspO9P
,tring $uesnoNre$uest.get'arameter8O$uesO9P
,ystem.out.println8Oprev $ues no:OX$uesno9P
,tring ansNre$uest.get'arameter8O$O9P
,ystem.out.println8Oprev ans"erNOXans9P
int teamnoN!nteger.parse!nt8re$uest.get'arameter8OteamnoO99P
,ystem.out.println8O'revious teamnoNOXteamno9P
int marksper$N!nteger.parse!nt8session.get+ttribute8Omarksper$O9.to,tring899P
int negscoreN!nteger.parse!nt8session.get+ttribute8OnegscoreO9.to,tring899P
//
session.set+ttribute8OprevteamO#,tring.valueOf8teamno99P
LQ
KhtmlQ
KheadQ
Kmeta nameNOkey"ordsO contentNOO %Q
Kmeta nameNOdescriptionO contentNOO %Q
Klink hrefNOdefault.cssO relNOstylesheetO typeNOte*t%cssO %Q
K%headQ
KbodyQ
Kdiv idNO"rapperOQ
Kdiv idNOheaderOQ
Kdiv idNOlogoOQ
Kh1QKa hrefNOUOQ-omputerization of Blue BookK%aQK%h1Q
KhQKa hrefNOhttp:%%""".freecsstemplates.org%OQOnline QuizK%aQK%hQ
K%divQ
KR)) end divUlogo ))Q
K%divQ
Kform nameNOf1OQ
Kinput typeNOte*tO nameNO$uesO valueNOKLN$uesnoLQO idNO$uesOQ
Kinput typeNOte*tO nameNOteamO valueNOKLNteamnoLQO idNOteamOQ
K%formQ
K%bodyQ
K%htmlQ
KL
try
S
conN(b.connect89P
,ystem.out.println8Oset team statusNnoO9P
,tring $1NOupdate teams set statusNVnoV "here teamnameNOXteamnoP
(b.update8con#$19P
%%get prev marks of team
/1
,ystem.out.println8Oget prev marks of teamO9P
,tring $NOselect marks from teams "here teamnameNOXteamnoP
rsN(b.get,elected8con#$9P
if8rs.ne*t899%%if team e*ists
S
%%get marks
marksNrs.get!nt819P
,ystem.out.println8Oprev marksNOXmarks9P
%%get correct ans"er from db
,ystem.out.println8Oget correct ans from dbO9P
,tring $/NOselect ans"er from $uestions "here $noNOX$uesnoP
rsN(b.get,elected8con#$/9P
if8rs.ne*t899%%if $uestion e*ists
S
%%get ans"er
,tring correctansNrs.get,tring819P
,ystem.out.println8Ocorrectans"er isNOXcorrectans9P
%%compare ans"ers
if8correctans.e$uals8ans99
S
%%if ans"er is correct
,ystem.out.println8Ocorrect ans"erO9P
%%adding score
marksNmarksXmarksper$P
,ystem.out.println8O6e" marksNOXmarks9P
T
else
S
%%"rong ans"er
,ystem.out.println8O"rong ans"erO9P
if88marksQ?9DD88marks)negscore9QN?99
/2
S
%%reducing score
,ystem.out.println8Oreducing scoreO9P
marksNmarks)negscoreP
T
else
S
%%do nothing bcoz marks are already ?
,ystem.out.println8Odo nothingO9P
T
,ystem.out.println8O6e" marksNOXmarks9P
T
%%no" update database "ith ne" score
,ystem.out.println8Oupdate db "ith ne" scoreO9P
,tring $1NOupdate teams set marksNOXmarksXO#statusNVnoV "here
teamnameNOXteamnoP
(b.update8con#$19P
,ystem.out.println8Oend of updationO9P
LQ
KFsp:for"ard pageNO.%ne*t.FspOQK%Fsp:for"ardQ
KL
T
else
S
,ystem.out.println8O$uestion not foundO9P
T
T
else
S
,ystem.out.println8Oteam not e*istsO9P
T
/;
T
catch84*ception e9S
,ystem.out.println8e9P
T
,ystem.out.println8Oend of checkans"er.FspO9P
LQ
nonpasson.Fsp:
KLM page languageNOFavaO contentTypeNOte*t%htmlP charsetN!,O)==2>)1O
page4ncodingNO!,O)==2>)1O importNOFava.s$l.W#vdb.W# Fava*.servlet.WOLQ
KhtmlQ
KheadQ
Kmeta http)e$uivNO-ontent)TypeO contentNOte*t%htmlP charsetN!,O)==2>)1OQ
Kmeta nameNOkey"ordsO contentNOO %Q
Kmeta nameNOdescriptionO contentNOO %Q
Klink hrefNOdefault.cssO relNOstylesheetO typeNOte*t%cssO %Q
KtitleQK%titleQ
Kscript languageNOFavascriptOQ
var iN?#FN?P
function time89
S
iXXP
if8iNN/?9
S
document.f1.submit89P
T
document.get4lementBy!d8VtV9.innerCT3BNOOP
document.get4lementBy!d8VtV9.innerCT3BNiP
tNsetTimeout8Vtime89V#1???9P
T
K%scriptQ
K%headQ
/<
Kbody onloadNOtime89O Q
Kdiv idNO"rapperOQ
Kdiv idNOheaderOQ
Kdiv idNOlogoOQ
Kh1QKa hrefNOUOQ-omputerization of Blue BookK%aQK%h1Q
KhQOnline QuizK%hQ
K%divQ
K%divQ
KcenterQ
Kform actionNO.%checkans"er.FspO nameNOf1OQ
Kh1QQU4,T!O6 1K%h1Q Kbr %Q
KhQT4+3 1K%hQ Kbr %Q
Kinput typeNOhiddenO valueNO1O nameNOteamnoO idNOteamnoOQ
Ktable borderN?QKtrQKthQTime 4lapsedK%thQK%trQKtrQKtd alignNOcenterOQKp
idNOtOQK%pQK%tdQK%trQK%tableQ
Kbr%Q
KC.QKbr%Q
KtableQ
KtrQ
KLR
-onnection con N nullP
.esult,et rsNnullP
LQ
KL
tryS
,ystem.out.println8Oentered nonpasson.FspO9P
%%int cur$N!nteger.parse!nt8session.get+ttribute8Ostart$uesO9.to,tring899P
conN(b.connect89P
int start$uesN!nteger.parse!nt8session.get+ttribute8Ostart$uesO9.to,tring899P
,tring $1NOupdate teams set statusNVyesV "here teamnameN1OP
(b.update8con#$19P
/=
rsN(b.get,elected8con#Oselect W from $uestions "here $noNOXstart$ues9P
if8rs.ne*t899
S
LQ
KtdQKLNrs.get!nt819 LQ.Kinput typeNOhiddenO valueNOKLNrs.get!nt819 LQO nameNO$uesO
idNO$uesOQK%tdQ
KtdQKLNrs.get,tring89 LQK%tdQ
K%trQ
KtrQKtdQKinput typeNOradioO nameNO$O idNO$1O valueNO+OQK%tdQ
KtdQKLNrs.get,tring819 LQK%tdQ
K%trQ
KtrQKtdQKinput typeNOradioO nameNO$O idNO$O valueNOBOQK%tdQ
KtdQKLNrs.get,tring829 LQK%tdQ
K%trQ
KtrQKtdQKinput typeNOradioO nameNO$O idNO$/O valueNO-OQK%tdQ
KtdQKLNrs.get,tring8;9 LQK%tdQ
K%trQ
KtrQKtdQKinput typeNOradioO nameNO$O idNO$1O valueNO(OQK%tdQ
KtdQKLNrs.get,tring8<9 LQK%tdQ
KL
T
T
catch84*ception e9S
,ystem.out.println8e9P
T
LQ
K%trQ
K%tableQKB.%Q
Kinput typeNOsubmitO valueNO6e*tOQ
K%formQ
K%centerQ
/>
K%bodyQ
K%htmlQ
score.Fsp:
KLM page languageNOFavaO contentTypeNOte*t%htmlP charsetN!,O)==2>)1O
page4ncodingNO!,O)==2>)1O importNOFava.s$l.W#vdb.WOLQ
KR(O-TJ'4 html 'UBB!- O)%%E/-%%(T( CT3B 1.?1 Transitional%%46O
Ohttp:%%"""."/.org%T.%html1%loose.dtdOQ
KhtmlQ
KheadQ
Kmeta http)e$uivNO-ontent)TypeO contentNOte*t%htmlP charsetN!,O)==2>)1OQ
Kmeta nameNOkey"ordsO contentNOO %Q
Kmeta nameNOdescriptionO contentNOO %Q
Klink hrefNOdefault.cssO relNOstylesheetO typeNOte*t%cssO %Q
KtitleQK%titleQ
K%headQ
KbodyQ
Kdiv idNO"rapperOQ
Kdiv idNOheaderOQ
Kdiv idNOlogoOQ
Kh1QKa hrefNOUOQ-omputerization of Blue BookK%aQK%h1Q
KhQOnline QuizK%hQ
K%divQ
KR)) end divUlogo ))Q
K%divQ
KcenterQ
Kbr%Q
Kh1Q,-O.4 BO+.(K%h1Q
Kbr%QKbrQKbrQKbrQKbrQKbrQ
Ktable borderN1Q
KtrQ
1?
KthQT4+3 6+34K%thQ
KthQ,-O.4K%thQ
K%trQ
KLR int ma*scoreN?P
-onnection conNnullP
LQ
KL
,ystem.out.println8O4ntered score.FspO9P
conN(b.connect89P
.esult,et rsN(b.getTable8con#OteamsO9P
"hile8rs.ne*t899
S
LQ
KtrQ
KtdQKLNrs.get,tring819 LQK%tdQ
KtdQKLNrs.get,tring89 LQK%tdQ
K%trQ
KL
T
LQ
K%tableQ
Kbr%Q
Khr%Q
Kbr%Q
KL
.esult,et rsN(b.get,elected8con#Oselect ma*8marks9 from teamsO9P
if8rs.ne*t899
S
ma*scoreNrs.get!nt819P
T
11
LQ
KhQ3a*. score : KLNma*score LQK%hQ
Khr%Q
KL
session.set+ttribute8Oma*scoreO#,tring.valueOf8ma*score99P
int passmarksN!nteger.parse!nt8session.get+ttribute8OpassmarksO9.to,tring899P
if8ma*scoreQNpassmarks9
S
LQ
KhQE!664., 7O. TC!, .OU6(K%hQ
Khr%Q
KtableQ
KtrQ
KthQKh/QT4+3 6U3B4.K%h/QK%thQ
K%trQ
KL
.esult,et rs/N(b.get,elected8con#Oselect teamname from teams "here
marksQNOXpassmarksXO order by marks descO9P
int ne"teamsN?P
"hile8rs/.ne*t899
S
ne"teamsXXP
LQ
KtrQKthQKLNrs/.get!nt819 LQK%thQK%trQ
KL
T
session.set+ttribute8One"teamsO#,tring.valueOf8ne"teams99P
if8ne"teamsRN19
S
LQ
K%tableQ
1
Kbr%Q
Kform actionNO.%ne*t$uiz.FspO nameNOf1OQ
Kinput typeNOsubmitO valueNO'B+J 64AT .OU6(OQ
K%formQ
KL
T
else
S
T
T
else
S
LQ
KhQOO',RR 6O E!664., 7O. TC!, .OU6(K%hQ
KB.%Q
Kform actionNO.%end$uiz.FspO nameNOfOQ
Kinput typeNOsubmitO valueNO46( QU!IOQ
K%formQ
KL
T
LQ
Kbr%Q
Kinput typeNObuttonO valueNO 3+!6 346U O
onclickNO"indo".navigate8V.%end$uiz.FspV9OQ
K%centerQ
K%bodyQ
K%htmlQ
1/
(.( System E,olution:
System to be changed:

6o" a days it is difficult to conduct a $uiz manually and it is time
consuming and lot of complications "ill arise "hile conducting. ,o there is necessary to
change system.

+hange Proposals:
The change proposal to the e*isting system is online Quiz that e*ists today#
"here user can save time by using this system.
+hange Analysis:
Cere the administrator is responsible for conducting the $uiz and all the $uiz
details "ill be entered by him%her so that are displayed to the teams and after ans"ering the
$uestions score is generated automatically.
System understanding:
-omplete understanding of the system that is to be generated i.e. a brief
study of the re$uirements and (esigning the system that is to be developed
System 6alidation:
:alidation can be fined in many "ays# but a simple definition is that
validation succeeds "hen soft"are functions in a manner that can be reasonably e*pected
by the user# i.e. fulfilling all the user specified re$uirements.
4odified System:
The modified system from the e*isting system is the -omputerization of
Bluebook. This is very effective to users.
11
7. -esting
7.1 %unctional -est +ases
T4,T
-+,4 !(
(4,-.!'
T!O6
T4,T
,T4',
4A'4-T4
(
.4,UBT
+-TU+B
.4,UBT
.43+.Y
,
(474-T
!(
O,3ZBogi
nZ??1
:erify that
the
administra
tor is valid
or not
!nvoke the
U.B of
-omputeri
zation of
Bluebook
and click
on login
hyper link.
O,3
login page
should be
displayed.
a9 user
name
b9
pass"ord
c9submit#
reset
Buttons.
4nter
username#
pass"ord.
User
name#
pass"ord
should be
displayed
in the
12
O,3
login
page.
O,3Zadm
inZ??
:erify that
the admin
can vie"#
delete#
enter the
$uiz
details
!nvoke the
U.B of
-omputeri
zation of
Bluebook
and click
on details
of the $uiz
!t should
display all
the details
of the $uiz
entered
correctly
and save
in the
database.
. 4nter
fields "ith
number of
teams#
total
marks of
the $uiz#
calculation
of average
marks#
negative
marking
. 7ields
that are to
be stored
into the
database
and
message
"ill be
displayed
like user
successfull
y entered
the $uiz
details.
1;
O,3Zscor
eZ??/
:erify that
admin
should be
able to see
the $uiz
marks.
!nvoke
bro"ser is
able to
display the
scores the
scores of
the teams
correctly
+fter that
final
"inners
are
for"arded
to further
round and
rest of the
teams are
eliminated
automatica
lly.
-heck
"hether
ne*t teams
are being
entered
$uiz
details
successfull
y
Teams are
eliminated
automatica
lly until
final
"inner is
declared.
Table <.1 7unctional Test cases for -omputerization of Bluebook
1<
7.2 Integration -est +ases
T4,T
-+,4 !(
(4,-.!'T
!O6
T4,T
,T4',
4A'4-T4
( .4,UBT
+-TU+B
.4,UBT
.43+.Y
,
(4T4-T4
(
O,3Zadmi
ndutiesZ??
1
:erify#
enter the
details of
the $uiz
and teams
are getting
marks
correctly.
!nvoke
bro"ser
"ith U.B
and
provide
valid userid
and
pass"ord
Come page
of admin
should be
displayed
"ith
description
of $uiz.
-lick on to
enter
details of
the $uiz it
should
display
successfull
y entered
$uiz details
+ccording
to the fields
specified
the $uiz
should be
started by
displaying
rules.
1=
-lick on
the ne*t
button to
ans"er the
$uestions
by the
teams
-heck
6umber of
$uestions
are
displayed
according
to the
re$uiremen
t
Then click
on the
score.
Then final
"inners are
displayed.
Table <. !ntegration Test cases for -omputerization of Bluebook
7. System -est +ases
T4,T
-+,4 !(
(4,-.!'T
!O6
T4,T
,T4',
4A'4-T4
( .4,UBT
+-TU+B
.4,UBT
.43+.Y
,
(474-T
!(
O,3Z
nonpasson
Z ??<
:erify that
the
$uestions
are edited
in the
database by
admin.
!nvoke
bro"ser
"ith U.B
+fter
successful
login by
the
administrat
ed
-licks
enter $uiz
details.
Then after
entering the
particular
fields it
should be
saved in
1>
database.
-lick on
submit
button
displays the
rules and
start the
$uiz
The ne"
item details
are stored
in to the
database.
O,3
ZreportsZ?
?=
:erify
"hether
The reports
are
generated
correctly.
-lick on
vie"
results or
delete the
previous
results of
the $uiz
The details
should be
entered
correctly
and score
should be
generated
automatical
ly and
teams are
eliminated
+fter
deleting it
should
display the
message
deleted
successfull
y
Table <./ ,ystem Test cases for -omputerization of Bluebook
8. Appendix A ' 9ard0are and Soft0are +onfigurations
2?
9ard0are +onfigurations:
'rocessor : 'entium1-'U.10.CI
.am -apacity : 213B
Card (isk : 1?0B
-(%.om(rive : 2A
Soft0are +onfigurations:
4clipse
Eindo"s A'
@44
3J,QB
.ational .ose
:. Appendix . ; *ata .ase -ables
21
admin
"ui2no noteams mar1sper" &egscore no"ues passmar1s maxscore Satus
"uestions
<no <uestion ans0er =pta optb optc optd
teams
-eamname mar1s status
1> . 3imitations and Enhancements
3imitations:
2
Use of this system may cause certain problems like less skilled users may
participate in this $uiz "ith prediction of information.
,ecurity is another limitation in case of this system
This system is used to Fudge the talent and not for learning purpose.
Enhancements:
!mplementation of more rounds.
!mplementations of @34 to provide high security are enhancements
re$uired.
11. Appendix *'.ibliography
2/
The follo"ing books and manuals provided a lot of help to us in making this
proFect a reality.
The complete .eference @ava By 'atrick 6aughton and Cerbert ,childt# T3C
'ublishing -ompany Btd.
@ava Co" To 'rogram By C.3.(ietel and '.@.(ietel#'earson 4ducation%'C!
(ata Base 3anagement ,ystems#.aghurama Yrishnan# @ohannes 0erhrke#T+T+
3c0ra")Cill
,oft"are 4ngineering By .oger ,.'ressman#3c0ra" Cill !nternational 4dition
'ressman
C4.B4.T ,-C!B(T # The -omplete .eference @+:+ # 2
th
edition# ??2.
.+0CU .+3+ Y.!,C6+6 # (atabase 3anagement ,ystems # /
rd
edition# ??/.

21

Вам также может понравиться