CONTENTS Title Page Declaration Acknowledgement Training Certifcate Abstract Features What Impact Does It Have?
1)
1.1) 1.2)
2) Introduction
2.1) Purpose 2.2) Scope 2.3) Features 3) Technologies Used ) !"ecifc #e$uirements %) &'"lanation
5.1) Introduction to Java 5.1.1) Java Prorams 5.2) Java Serv!ets 5.2.1) Features o" Serv!ets 5.3) JSP 1 (Pae
5.3.1) Introduction 5.3.2) JSP Directives 5.3.3) Imp!icit #$%ects 5.3.&) JSP 'ctions 5.&) Java Script 5.&.1) 5.&.1 ) Function 5.&.2) (vents ) Diagram
.1) *onvertin (+ Diaram into ,a$!es .1.1) .1.1 ) -ser ,a$!e .1.2) .1.2 ) Student ,a$!e .1.3) .1.3 ) 'ttempt ,a$!e .1.&) +esu!t ,a$!e ,a$!e .1.&.1) .1.& .1) Sett ,a$!e .1.&.2) .1.& .2) uestion uestio n ,a$!e .1.&.3) .1.& .3) ,a$!e Structures Struct ures *) Code +) !co"e 2 (Pae
,) Conclusion 1-) #e.erences
TITLE PAGE 3 (Pae
,it!e o" the +eport /C0 &A/IATI !4!T&/
+eport su$mitted in p partia! artia! "u!/!!ment o" the the re0uirement re0uirement "or the the deree o" .,ech. In *omputer Science (nineerin
-nder the Supervision o" +itu Sharma 'ss. Pro"essor *S( Departement
Su$mitted 4 +an%eet Sinh *S( 6) 3 +d
7ear 7ear (.8o 19929:92;1& ha
Sector=1;> +ohini> De!hi = :
S(P,(@(+ 291
(Pae
DECLARATION ,his is to certi"4 that +eport +eport entit!ed A /C0 &'amination !5stem B CCSIP -niversit4> D De!hi comprises on!4 m4 oriina!
Date6 3rd ct 2-1
!ubmitted 756 #an8eet !ingh 9 C!& :7) 9 3 rd 4ear &; o6 1--2-+-2*1
% (Pae
ACKNOWLEDGEMENT e"ore ettin into the thic o" the thins>
and We$te e$te a$s a$s
Director /s; Pu8a 7hatia "or 7hatia "or her uidance throuhout this pro%ect research and
We a!so
(Pae
1) ABSTRACT Exam Software is a Test Test Management Software, which offers a complete solution for Computer Co mputer Based Test Test (CBT) .They are used to set up multiple choice tests for set time periods that when sumitted are automatically corrected and the results logged eside eside the student!s reference numer. numer. 1.1)
FEATURES
"dministrator login. Student registration. Management and update of student information ,instructions and #uestions. scope for fixing negati$e mar%s and maximum maximum mar%s to each #uestion. #uestion. &isplay of result in the form of total score ,correct responses responses attempted attempted and non attempted attempted
• • • • •
#uestions. 1.2) 1.2)
WHA WH AT IMP IMPACT DOES DOES IT HAV HAVE? •
'hysical presence at a gi$en location is asolutely not necessary.
•
o time is spent on e$aluation.
•
esults are a$ailale instantly.
•
The time of starting and completion of examination can e recorded at the ser$er and the student cannot manipulate the same.
•
E$en for su*ects that the actual examination exa mination that will not e conducted online students can e gi$en extensi$e practice and training y holding online Moc% Tests.
•
"lmost all competiti$e exams are multiple choice types and these can e easily conducted online, for example +"T +nline "ptitude Test held to shortlist candidates for medical and engineering courses.
•
Trends of the examination including topic wise trends of each su*ec t can e easily otained if re#uired.
* (Pae
2) INTRODUCTION 2.1) PURPOSE •
The purpose of on-line test simulator is to ta%e online test in an efficient manner and no time wasting for chec%ing the paper. p aper.
•
The main o*ecti$e o*ecti$e of on-line on-line test is to efficiently efficiently e$aluate e$aluate the candidate thoroughly thoroughly through through a fully automated system that not only sa$es lot of time ut also gi$es fast results.
•
or students they gi$e papers according to their con$enience and time and there is no need of using extra thing li%e paper, pen etc.
2.2) SCOPE Scope of this pro*ect is $ery road in terms of other manually ta%ing exams. ew of them are/• •
This can e used in educational institutions as well as in corporateworld. o restriction that examiner has to e present when the candidateta%es the test.
2.3) FEATURES: • • • •
Secure Easy to use eliale and accurate o need of examiner
3) TECHNOLOGIES US USED + (Pae
7ack end as6 0a$a
Database6 0&1 (0a$a &e$elopment 1it)
0uer5ing language6 *@D 6*ommand Prompt)
, (Pae
4) SPEC SPECIF IFIC IC REQU REQUIR IREM EMEN ENTS TS (Eterna! inter"ace uti!ised
;1) =A#D>A#& 1.) @inimum 5 C space in HDD 2.) I8 8et vista Pentium Pentium & 1.; CH 3.) 25 @ DD+ SD+'@ &.) C -,+' HDD ;299 +P@ 5.) &: E *D +#@ .) 15 co!or monitor
;2) !A#& 1. J'' 2. Windo
) E!PLANATION 1- ( P a e
.1) I"#$%&'(#%" #% *+,+ •
0a$a is +*ect oriented, Multi-threading language de$eloped y Sun Microsystems in 2332.
•
4t is designed to e small, simple and portale across different platforms as well as +S.
.1.1) F-+#'$- %/ *+,+ :
Syntax ased on C55 •
+*ect-oriented
•
Support for 4nternet applications
•
Extensi$e lirary of prewritten classes
•
'ortaility among platforms
•
Built-in networ%ing security as 0E is inaccessile to other parts of computer
.1.2) *+,+ P$%0$+: A-#: •
Small programs designed to add interacti$ity to 6e sites
•
&ownloaded with the 6e page and launched y the 4nternet rowser
S-$,-# : •
un y 6e ser$er on the ser$er
•
Typically generate 6e content
A(+#%": •
'rograms that run standalone on a client
.2) *+,+ S-$,-#: •
Ser$lets are ser$er side applets that are loaded and executed y a we ser$er in the same manner that applets are loaded and executed y a we rowser. 0a$a Ser$lets are useful to create &ynamic pages. p ages. &epending upon my input ser$er will gi$e an output
.2.1) F-+#'$- %/ S-$,-#: •
&ataase Connecti$ity
11 ( P a e
o
4nsert78pdate7delete7drop
o
Select
•
Ser$lets Chaining
•
Ser$er Side 4ncludes
•
"pplet Ser$let Communication
•
4nterser$let Communication
•
'age Compilation
•
Session Trac%ing
.3) *SP: .3.1) I"#$%&'(#%": •
"s a 0a$a-ased technology, it en*oys all of the ad$antages that the *a$a language pro$ides with respect to de$elopment and deployment.
•
0S' runs on ma*or we platforms. Client (we rowser) ma%es a re#uest $ia an 9TT'.
•
•
The we ser$er recei$es the re#uest and sends it to the Ser$lets70S' engine. 4f the Ser$lets70S' is not loaded, the we ser$er will load it into the 0:M and execute it.
•
6e 6e ser$er returns response to the Client.
.3.2) *SP D$-(#,- : They generate side effects that are change the way the 0S' container processes the page.
.3.3) I(# O5-(#: •
e#uest
•
esponse
•
Session
•
"pplication
•
'age Context
•
Exception
.3.4) *SP A(#%": The 0S' actions allow the transfer of control etween pages.
12 ( P a e
• • •
orward 4nclude 'lug-in
.4) *+,+S($#: .4.1) A ($#"0 +"0'+0- + 06#7-06# $%0$+"0 +"0'+0- 76(6 +(+8 $-%"- /%$ •
Creating &ynamic 'ages.
•
espond to the e$ents.
•
ead and 6r 6rite ite 9TM; Elements.
•
:alidate &ata.
.4.2) F'"(#%": •
•
unctions are useful to a programmer when certain tas%s are to e repeated during the course of the program. They are defined y name n ame and in$o%ed with the same. The functions can ta%e parameters and return result using return statement. ecursi$e unctions are functions that call themsel$es.
.4.3) E,-"#: •
E$ents are signals generated when specific e$ent occurs. E$ent handlers are scripts written y the programmer to ta%e ad$antages of e$ents in 0a$aScript. Eg/ lur /+ccurs when user clic%s outside a field. clic%/ +ccurs when user clic%s inside a field. change/ +ccurs when user changes a field. focus / +ccurs when user focuses o$er a field
13 ( P a e
9) E ER R &+0 &+0$+ $+ "dministrator
updates
updates
updates
updates
pmarsn
setno sett time
nmarsn mars
ansiven
studLname
attemptss
student phone
p
ets
Kstud=id
+esu!t 0Lattemptedd
1 ( P a e
0Lcorrect
0uestionu
+u!es
author
ans
tLmars
Kstud=id
0ues
0=id
Kstud=id
K0=id
op op1
op2
op3
op&
9.1) CONVERTING ER INTO TABLES S.N% .
F-& "+-
1. 2 3 &
ST8&>4&(p%) ST8& ST8&> >" "ME '9+E '6& <.2.2) 8SE- T"B;E
D+#+ T8-
D-($#%"
8MBE(?) :"C9" C9" =(2 =(2D) 8MBE(2D) :"C9"=(?) (?)
Student id identification numer ame ame of stu studen dent Students contact numer 'assword
<.2.=) ST8&ET- T"B;E T"B;E
S.N% .
F-& "+-
D+#+ T8-
D-($#%"
2. = A
ST8&>4&(p%) @>4&(p%) "S4:E M"1S
8MBE(?) 8MBE(=) 8MBE(2) 8MBE(2)
Student identification numer @uestion id esponse Mar%s of each #uestion
<.2.A) "TTEM'T- T"B;E
S.N% .
F-& "+-
2. =
ST8&>4&(p%) 8MBE() @>"TTEM'TE& 8MBE(=)
1% ( P a e
D+#+ T8-
D-($#%" Student identification numer @uestions attempted
A
@>C+ECT T>M"1S
8MBE(A) 8MBE(A)
Correct responses Total mar%s
<.2.) ES8;T- T"B;E
<.2..2) SETT- T"B;E T"B;E
S.N% .
F-& "+ "+- D+#+ T8 T8-
D-($#%"
2. = A
T4ME M"1S 'M"1S
Time duration egati$e Mar%s 'ositi$e Mar%s
8MBE(=) 8MBE(=) 8MBE(=)
<.2..=) @8EST4+- T"B;E
S.N% .
F-& "+-
D+#+ T8-
D-($#%"
2 = A F < G ?
@>4& @8ES "S "8T9+ +'2 +'= +'A +'
8MBE(=) :"C9"=(2DD) 8MBE(2) :"C9"=(=D) :"C9"=(D) :"C9"=(D) :"C9"=(D) :"C9"=(D)
@uestion id @uestion Correct answer of #uestion "uthor +ption 2 +ption= +ptionA +ption
1 ( P a e
;) SOURCE CODE "ackage lo?e@ im"ort 8a?a;awt;@ im"ort 8a?a;awt;e?ent;@ im"ort 8a?a';swing;@
class nlineTest e'tends B
1* ( P a e
bg;add:8rbEiF)@ L b1Gnew B7utton:Me'tM)@ b2Gnew B7utton:M7ookmarkM)@ b1;addActionistener:this)@ b2;addActionistener:this)@ add:b1)@add:b2)@ set:)@ l;set7ounds:3-H-H%-H2-)@ 8rbE-F;set7ounds:%-H+-H1--H2-)@ 8rbE1F;set7ounds:%-H11-H1--H2-)@ 8rbE2F;set7ounds:%-H1-H1--H2-)@ 8rbE3F;set7ounds:%-H1*-H1--H2-)@ b1;set7ounds:1--H2-H1--H3-)@ b2;set7ounds:2*-H2-H1--H3-)@ setDe.aultClose"eration:B
1+ ( P a e
b1;set&nabled:.alse)@ b2;setTe't:M#esultM)@ L L i.:e;getActionCommand:);e$uals:M7ookmarkM)) B7utton bkGnew B7utton:M7ookmarkMK')@ bk;set7ounds:+-H2-K3-'H1--H3-)@ add:bk)@ bk;addActionistener:this)@ mE'FGcurrent@ 'KK@ currentKK@ set:)@ i.:currentGG,) b2;setTe't:M#esultM)@ setOisible:.alse)@ setOisible:true)@ L .or:int iG-H5G1@iJ'@iKKH5KK) i.:e;getActionCommand:);e$uals:M7ookmarkMK5)) i.:check:)) countGcountK1@ nowGcurrent@ currentGmE5F@ set:)@ ::B7utton)e;get!ource:));set&nabled:.alse)@ currentGnow@ L
1, ( P a e
L
i.:e;getActionCommand:);e$uals:M#esultM)) i.:check:)) countGcountK1@ currentKK@ 99!5stem;out;"rintln:Mcorrect ansGMKcount)@ B"tionPane;show/essageDialog:thisHMcorrect ansGMKcount)@ !5stem;e'it:-)@ L L ?oid set:) 8rbEF;set!elected:true)@ i.:currentGG-) l;setTe't:M0ue16 l;setTe't:M0ue16 >hich one among these is not a "rimiti?e datat5"eQM)@ 8rbE-F;setTe't:MintM)@8rbE1F;setT 8rbE-F;setTe't:MintM)@8rbE1F;setTe't:Mhich class is a?ailable to all the class automaticall5QM)@ 8rbE-F;setTe't:M!wingM)@8rbE1F;setT 8rbE-F;setTe't:M!wingM)@8rbE1F;setTe't:MA""letM)@8rbE2F;setT e't:MA""letM)@8rbE2F;setTe't:Mb8ectM)@8rbE3F;setT e't:Mb8ectM)@8rbE3F;setTe't:MAction&?entM)@ e't:MAction&?entM)@ L i.:currentGG2) l;setTe't:M0ue36 l;setTe't:M0ue36 >hich "ackage is directl5 a?ailable to our class without im"orting itQM)@ 8rbE-F;setTe't:MswingM)@8rbE1F;setT 8rbE-F;setTe't:MswingM)@8rbE1F;setTe't:Ma""letM)@8rbE2F;setT e't:Ma""letM)@8rbE2F;setTe't:MnetM)@8rbE3F;setT e't:MnetM)@8rbE3F;setTe't:MlangM)@ e't:MlangM)@ L i.:currentGG3)
2- ( P a e
l;setTe't:M0ue6 l;setTe't:M0ue6 !tring class is defned in which "ackageQM)@ 8rbE-F;setTe't:MlangM)@8rbE1F;setT 8rbE-F;setTe't:MlangM)@8rbE1F;setTe't:M!wingM)@8rbE2F;setT e't:M!wingM)@8rbE2F;setTe't:MA""letM)@8rbE3F;setT e't:MA""letM)@8rbE3F;setTe't:MawtM)@ e't:MawtM)@ L i.:currentGG) l;setTe't:M0ue%6 l;setTe't:M0ue%6 >hich institute is bes t .or 8a?a coachingQM)@ 8rbE-F;setTe't:MUtekM)@8rbE1F;setT 8rbE-F;setTe't:MUtekM)@8rbE1F;setTe't:MA"techM)@8rbE2F;setT e't:MA"techM)@8rbE2F;setTe't:M!!! e't:M!!! ITM)@8rbE3F;setT ITM)@8rbE3F;setTe't:M8tekM)@ e't:M8tekM)@ L i.:currentGG%) l;setTe't:M0ue6 l;setTe't:M0ue6 >hich one among these is not a ke5wordQM)@ 8rbE-F;setTe't:MclassM)@8rbE1F;setT 8rbE-F;setTe't:MclassM)@8rbE1F;setTe't:MintM)@8rbE2F;setT e't:MintM)@8rbE2F;setTe't:MgetM)@8rbE3F;setT e't:MgetM)@8rbE3F;setTe't:Mi.M)@ e't:Mi.M)@ L i.:currentGG) l;setTe't:M0ue*6 l;setTe't:M0ue*6 >hich one among these is not a classQ M)@ 8rbE-F;setTe't:M!wingM)@8rbE1F;setT 8rbE-F;setTe't:M!wingM)@8rbE1F;setTe't:MAction"er.ormedM)@8rbE2F;setT e't:MAction"er.ormedM)@8rbE2F;setTe't:MAction&?entM)@ e't:MAction&?entM)@ 8rbE3F;setTe't:M7uttonM)@ 8rbE3F;setTe't:M7uttonM)@ L i.:currentGG*) l;setTe't:M0ue+6 l;setTe't:M0ue+6 which one among these is not a .unction o. b8ect classQM)@ 8rbE-F;setTe't:Mto!tringM)@8rbE1F;setT 8rbE-F;setTe't:Mto!tringM)@8rbE1F;setTe't:MfnalieM)@8rbE2F;setT e't:MfnalieM)@8rbE2F;setTe't:Me$ualsM)@ e't:Me$ualsM)@ 8rbE3F;setTe't:MgetDocument7aseM)@ 8rbE3F;setTe't:MgetDocument7aseM)@ L i.:currentGG+) l;setTe't:M0ue,6 l;setTe't:M0ue,6 which .unction is not "resent in A""let classQM)@ 8rbE-F;setTe't:MinitM)@8rbE1F;setT 8rbE-F;setTe't:MinitM)@8rbE1F;setTe't:MmainM)@8rbE2F;setT e't:MmainM)@8rbE2F;setTe't:MstartM)@8rbE3F;setT e't:MstartM)@8rbE3F;setTe't:Mdestro5M)@ e't:Mdestro5M)@ L
21 ( P a e
i.:currentGG,) l;setTe't:M0ue1-6 l;setTe't:M0ue1-6 >hich one among these is not a ?alid com"onentQM)@ 8rbE-F;setTe't:MB7uttonM)@8rbE1F;setT 8rbE-F;setTe't:MB7uttonM)@8rbE1F;setTe't:MBistM)@8rbE2F;setT e't:MBistM)@8rbE2F;setTe't:MB7uttonrou"M)@ e't:MB7uttonrou"M)@ 8rbE3F;setTe't:MBT 8rbE3F;setTe't:MBTe'tAreaM)@ e'tAreaM)@ L l;set7ounds:3-H-H%-H2-)@ .or:int iG-H8G-@iJG,-@iKG3-H8KK) 8rbE8F;set7ounds:%-H+-KiH2--H2-)@ L boolean check:) i.:currentGG-) return:8rbE1F;is!elected:))@ i.:currentGG1) return:8rbE2F;is!elected:))@ i.:currentGG2) return:8rbE3F;is!elected:))@ i.:currentGG3) return:8rbE-F;is!elected:))@ i.:currentGG) return:8rbE3F;is!elected:))@ i.:currentGG%) return:8rbE2F;is!elected:))@ i.:currentGG) return:8rbE1F;is!elected:))@ i.:currentGG*) return:8rbE3F;is!elected:))@ i.:currentGG+) return:8rbE1F;is!elected:))@ i.:currentGG,)
22 ( P a e
return:8rbE2F;is!elected:))@ return .alse@ L "ublic static ?oid main:!tring sEF)
new nlineTest:Mnline nlineTest:Mnline Test . Ba?aM)@ L L
<) SCOPE •
•
•
•
#n!ine (Eamination S4stem is deve!oped or desined "or educ educat atio iona na!! inst instit itut utes es !i !ie schoo schoo!> !> co!! co!!e ees es>> and and private institutes to conduct !oic test o" their students on reu!ar $asis. Desi Desin n to prov provid ide e or "aci "aci!i !ita tate te 'dmin dminis istr trat ator or and and -ser. *omp!ete and sa"e s a"e in"ormation is provided to user. user. *an $e used an4
=) CONCLUSION 's "ar as desin is concerned no desin is comp!ete ever and and ther there e are are chan chance ces s o" impr improv ovem emen entt each each mome moment nt.. Ho>
23 ( P a e
1>) REFERENCES •
•
So"t @* (Eamination S4stem.
2 ( P a e