8/16/2019 Mock Online Assessment
1/102
Mock Online Assessment
SL No Title Page. No
1 Acknowledgement 3
2 Introduction 4
3 Aim of the Project
4 S!no"#i# $
Software and %ardware &e'uirement# (
$ Software )e#cri"tion *
( S!#tem )e#ign and de+elo"ment 12
* )ata,a#e Structure 1
- Source ode 1$
1/ Screen Shot# *1
11 Te#ting -$
12 onclu#ion -(
13 0i,liogra"h! 1//
INDEX
1 of 101
8/16/2019 Mock Online Assessment
2/102
Mock Online Assessment
2 of 101
8/16/2019 Mock Online Assessment
3/102
Mock Online Assessment
LIST OF FIGURES
FIGURE 1: Starting form of the project…………………………………… !"
FIGURE ": Loa#ing form of the project ………… ………………………… !$
FIGURE $: Se%ecting the &'er form ………………………………………… !(
FIGURE (: Stent %ogin form for entering on%ine e)am………………… !*
FIGURE *: E)amination #etai%'……………………………………………… !+
FIGURE +: form to re,ie- e)am #etai%'…………………………………… !.
FIGURE .: /DI Form……………………………………………………… !!
FIGURE !: Login form for a#mini'trator an# 'taff……………………… !!
FIGURE 0: &e'tion paper form…………………………………………… !0
FIGURE 12: Report of the 'tent re'&%t…………………………………… 02
FIGURE 11: Form to ,ie- the 'tent re'&%t……………………………… 01
FIGURE 1": #ata report of the 'tent re'&%t……………………………… 0"
FIGURE 1$: Stent regi'tration form……………………………………… 0$
FIGURE 1(: Stent #etai%' form…………………………………………… 0*
3 of 101
8/16/2019 Mock Online Assessment
4/102
Mock Online Assessment
345NO6LEGDE/ENT
The "roject ock nline A##e##ment wa# undertaken a# a "art of the
#!lla,u# of #i5th Seme#ter 666666666666666666666666 of 66666666666666666666 7ni+er#it!. The "ur"o#e of thi# "roject i# to "ro+ide the #tudent with relia,le and
comforta,le #oftware through which the! can for online e5am and "ro+ide 'uick
re#ult.
8ir#tl! we would like to thank our "rinci"al and the management for
certif!ing thi# "roject and gi+ing the o""ortunit! to im"lement thi# "roject in college.
9e would like to e5"re## our dee"e#t and heart full thank# to our "roject co:coordinator 666666666666666666 for thi# e5cellent guidance and +alua,le effort
throughout the de+elo"ment of the "roject.
ur #"ecial thank# goe# to %ead of the om"uter )e"t. for "ro+iding u# with
all facilitie# we re'uired in the #ucce##ful com"letion of the "roject.
8inall! we would like to thank# our friend# and other facult! mem,er# of the
com"uter )e"t. who al#o #u""orted u# throughout the de+elo"ment of the "roject.
4 of 101
8/16/2019 Mock Online Assessment
5/102
Mock Online Assessment
INTRODU4TION
The "roject ock nline A##e##ment "ro+ide# the ea#ie#t wa! of handlingock nline A##e##ment. Thi# "roject i# di+ided into different module mean#
#electing the u#er. There are 3 login area# for different u#er#;
1. Admini#tration; he ha# the acce## to the data,a#e and e+er! re"ort generated ,! the
in#titute. %i# "art of jo, i# to regi#ter and take admi##ion of candidate# like #taff and
#tudent#. %e can modif!< delete< in#ert< and regi#ter. %e i# the #u"er u#er who i#
maintaining e+er! detail each indi+idual.
2. Staff; : #taff ha# the "ermi##ion to #et 'ue#tion# for online e5am. The! are
generating re"ort for the a""eared candidate# in e5am. =ach #taff i# "ro+iding with
different #taffed< name and "a##word. The! can login through their own id and
"a##word.
3. Student; : the la#t login area i# for #tudent#. 8ir#t the! ha+e to take admi##ion in
the in#titute and regi#ter for online e5am. =ach #tudent will "ro+ide with different
#tudent >id< name and "a##word. 7#ing their own id ? "a##word< the! can a""ear for online e5am.
5 of 101
8/16/2019 Mock Online Assessment
6/102
Mock Online Assessment
3I/ OF T7E 8RO9E4T:
Aim of thi# "roject i# to de+elo" #oftware that will "ro+ide ea#ie#t and relia,le
wa! for a""earing ock nline A##e##ment with #uita,le "attern# of re'uirement#
and can ,e u#ed to generate in#tant re#ult.
6 of 101
8/16/2019 Mock Online Assessment
7/102
Mock Online Assessment
S NO8SIS
The "ur"o#e of ock nline A##e##ment i# to "ro+ide the #tudent with
relia,le and comforta,le #oftware through which the! can go for online e5am and
"ro+ide in#tant re#ult. %ere we maintain# different u#er login;
1. Student; who i# a""earing for online =5am.
2. Staff; who i# re#"on#i,le for "ro+iding 'ue#tion# to the candidate and e5am
e+aluation
3. Admini#trator; who i# re#"on#i,le for taking admi##ion# and regi#tering for online
e5am< oreo+er< he maintain# the data,a#e record
9e ha+e de+elo"ed an Admin area where the admini#trator of the ock
nline A##e##ment can "erform the following o"eration#.
• Take admi##ion# of #tudent
• &egi#ter #tudent# for ock nline A##e##ment
• aintain# information of #taff
• Pro+ide# different "ermi##ion# to #tudent and #taff
• odif! the record# of the data,a#e
The data,a#e hold# the following detail# of ock nline A##e##ment
•
module• 'ue#tion ,ank
• re#ult
• #taff
• #tudent
7 of 101
8/16/2019 Mock Online Assessment
8/102
Mock Online Assessment
Soft-are an# 7ar#-are Re;&irement'
Software &e'uirement#;
• icro#oft 9indow# @P Bi#ta or 9indow# (
• Bi#ual ,a#ic $./
• icro#oft Acce## 2//3
%ardware &e'uirement#;
• Intel Pentium 4
•
12 0 ))&2 &am• in 2 C0 %)) free #"ace
8 of 101
8/16/2019 Mock Online Assessment
9/102
Mock Online Assessment
SOFT63RE DES4RI8TION
Front En#:
8/16/2019 Mock Online Assessment
10/102
Mock Online Assessment
2. lick the default GStandard =@=G icon and then click the G "enG ,utton.
3. )rag a E ommand 0uttonE from the ETool,o5E to the form and dro" it. )rag
another one to the form and dro" it.
4. lick the fir#t E ommand 0uttonE to #elect it. "en the "ro"ert! window andchange the ENameE "ro"ert! to E ommandAE.
. Select the #econd E ommand 0uttonE from the dro" down window at the to" of
the "ro"ert! window and then change the ENameE "ro"ert! to E ommand0E.
$. )ou,le click the fir#t E ommand 0uttonE o,ject in the form to o"en the code
window for that ,utton.
(. =nter the code< #g,o5 GKou clicked 0utton AG after the automaticall!
entered code Pri+ate Su, ommandA6 lickFH
*. )ou,le click the #econd E ommand 0uttonE o,ject in the form to o"en the
code window for that ,utton.
-. =nter the code< #g,o5 GKou clicked 0utton 0G after the automaticall!
entered code Pri+ate Su, ommandA6 lickFH
10 of 101
8/16/2019 Mock Online Assessment
11/102
Mock Online Assessment
1/. lick the E&unE ,utton in the tool,ar at the to" of the B0 $ de+elo"ment
en+ironment window to e5ecute the "rogram.
11. lick either ,utton A or ,utton 0 and o,#er+e the fruit# of !our la,orD
8/16/2019 Mock Online Assessment
12/102
Mock Online Assessment
The =nter"ri#e =dition< which i# the mo#t com"lete Bi#ual 0a#ic edition. Thi#
edition i# targeted toward# "rofe##ional "rogrammer# who ma! work in a team and
include# additional tool# #uch a# Bi#ual SourceSafe< a +er#ion:control #!#tem that
coordinate# team "rogramming.9e ll u#e the =nter"ri#e =dition in thi# ,ook< #o if !ou ha+e either of the other two
edition#< we might occa#ionall! u#e #omething not #u""orted in !our Bi#ual 0a#ic
edition.
>ac? En#:
/icro'oft 3cce'' "22$:
icro#oft Acce## data,a#e i' co%%ection of #ata re%ate# to a partic&%ar
'&=ject or p&rpo'e 6ithin a #ata=a'e@ information a=o&t a partic&%ar entitA@
'&ch a' an emp%oAee or or#er@ i' categoriBe# into ta=%e'@ recor#'@ an# fie%#' .
A data,a#e i# a collection of information thatE# related to a "articular #u,ject
or "ur"o#e< #uch a# tracking cu#tomer order# or maintaining a mu#ic collection. If !our data,a#e i#nEt #tored on a com"uter< or onl! "art# of it are< !ou ma! ,e tracking
information from a +ariet! of #ource# that !ou ha+e to coordinate and organiJe
!our#elf.
8or e5am"le< #u""o#e the "hone num,er# of !our #u""lier# are #tored in
+ariou# location#; in a card file containing #u""lier "hone num,er#< in "roduct
information file# in a file ca,inet< and in a #"read#heet containing order information.
If a #u""lierE# "hone num,er change#< !ou might ha+e to u"date that information inall three "lace#. In a data,a#e< howe+er< !ou onl! ha+e to u"date that information in
one "laceO the #u""lierE# "hone num,er i# automaticall! u"dated where+er !ou u#e it
in the data,a#e
12 of 101
8/16/2019 Mock Online Assessment
13/102
Mock Online Assessment
System Design and De elo!ment
13 of 101
8/16/2019 Mock Online Assessment
14/102
Mock Online Assessment
D3T3 FLO6 DI3GR3/:
A )ata 8low )iagram model# a #!#tem ,! u#ing e5ternal entrie# from which
data flow# to a "roce## which tran#form# the data and create# out"ut data which goe#to other "roce##e# on e5ternal entitie# of file. )ata in file# ma! al#o flow to "roce##e#
a# in"ut#.
The main merit of data flow diagram i# that it can "ro+ide an o+er+iew of
what data a #!#tem "roce##e#< what tran#formation of data are done< what file# are
u#ed and where the re#ult# flow. The gra"hical re"re#entation of the #!#tem make# it a
good communication tool ,etween the u#er and the anal!#t.
It i# difficult to under#tand the ,u#ine## through +er,al de#cri"tion alone. %ere )ata
8low )iagram# hel" in illu#trating the e##ential com"onent of a "roce## and the wa!
the! interact.
The #!m,ol# a""earing in the )ata 8low )iagram ha+e ,een e5"lained ,elow.
8roce''
EntitA
Data=a'e
Dataf%o-
14 of 101
8/16/2019 Mock Online Assessment
15/102
Mock Online Assessment
A circle i# u#ed to re"re#ent a "roce##. 0oth in"ut and out"ut are data flow#. A
line with an arrow re"re#ent# a data flow#. The arrow #how# the direction of flow
data. =5ternal entitie# are re"re#ented ,! rectangle#. =ntitie# #u""l!ing data are
known a# #ource and tho#e that con#ume data are called #ink#.
'tent@ 'taff mo#&%e re'&%t
15 of 101
Admini#trator Student Staff
=5am&egi#ter
=+aluation
nline
e5amination
Admi##ion
&e#ult
Admini#trator Student Staff
8/16/2019 Mock Online Assessment
16/102
Mock Online Assessment
Data"ase Design
16 of 101
8/16/2019 Mock Online Assessment
17/102
Mock Online Assessment
T3>LES USED
Ta,le No; 1
Ta,le Name; odule
)e#cri"tion; )e#cri,e# the t!"e# of #u,ject to ,e included for ock nline
A##e##ment
Serial No; 8ield Name )ata T!"e )e#cri"tion
1 code Te5t odule code
2 #u, Te5t odule #u,ject name3 no Num,er odule num,er
Ta,le No; 2
Ta,le Name; Que#tion ,ank
)e#cri"tion; )e#cri,e# a,out the 'ue#tion containing in different module#
Serial No; 8ield Name )ata T!"e )e#cri"tion
1 code Te5t odule code
2 Qno Num,er Que#tion num,er
3 Qnm emo ain 'ue#tion
4 "t1 emo "tion1
"t2 emo "tion2
$ "t3 emo "tion3
( "t4 emo "tion4* Qan# emo Que#tion an#wer
- Qmark# Num,er Que#tion mark#
Ta,le No; 3
17 of 101
8/16/2019 Mock Online Assessment
18/102
Mock Online Assessment
Ta,le Name; &e#ult
)e#cri"tion; de#cri,e# a,out the re#ult of the candidate# a""eared for online e5am
Serial No; 8ield Name )ata T!"e )e#cri"tion
1 &e#no Auto Num,er &e#ult no.
2 Stcode Te5t Student code
3 Stname Te5t Student name
4 )ate )ate Time )ate of e5amination
code Te5t odule code
$ No'atm" Num,er No. of 'ue#tion# attem"ted
( No' Num,er Num,er of 'ue#tion#
* Timetaken Te5t Time taken
- arko,t Num,er ark# o,tained
1/ ark# Num,er Total mark#
11 Crade Te5t grade
Ta,le No; 4
Ta,le Name; Student
)e#cri"tion; de#cri,e a,out the #tudent detail#
Serial No; 8ield Name )ata T!"e )e#cri"tion1 Stcode Te5t #tudent code
2 St"#w Te5t #tudent "a##word3 Stname Te5t #tudent name4 Phone Num,er regi#tation num,er
Se5 Te5t gender $ )o, )ate time date of ,irth( =mail Te5t email addre##* Addre## Te5t #tudent addre##
18 of 101
8/16/2019 Mock Online Assessment
19/102
Mock Online Assessment
- Qualification Te5t #tudent 'ualification1/ )ate )ate time date of e5amination
regi#tration
Ta,le No;
Ta,le Name; Staff
)e#cri"tion; de#cri,e# a,out the #taff detail#
Serial No; 8ield Name )ata T!"e )e#cri"tion1 Staffcode Te5t #taff code2 Staffname Te5t #taff mem,er name3 Staff"#w Te5t #taff mem,er "a##word4 Qualification Te5t #taff 'ualification
Se5 Te5t #taff gender $ Phone Num,er "hone num,er ( =mail Te5t email addre##* Addre## Te5t #taff communication addre##- )o, )ate time date of ,irth
1/ )ate )ate time )ate
19 of 101
8/16/2019 Mock Online Assessment
20/102
Mock Online Assessment
So#$ce %ode
20 of 101
8/16/2019 Mock Online Assessment
21/102
Mock Online Assessment
S70R= T IN8 & ATI N 8 &
)im N A# A) )0. onnection
)im r# A# A) )0.&ecord#et)im nm A# String
)im id A# String
)im "a## A# String
)im info A# String
Pri+ate Su, cmddel6 lickFH
r#.)elete
r#. o+eNe5t
If r#.= 8 Then r#. o+eLa#t
di#"la!
=nd Su,
Pri+ate Su, cmde5it6 lickFH
)I8orm1.Show
=nd Su,
Pri+ate Su, cmdfir#t6 lickFH
r#. o+e8ir#t
di#"la!
=nd Su,
Pri+ate Su, cmdla#t6 lickFH
r#. o+eLa#t
di#"la!
=nd Su,
Pri+ate Su, cmdmodi6 lickFH
id In"ut0o5FG=NT=& T%= STA88 )= G< G )I8I ATI NGH
r#. o+e8ir#t
)o 9hile Not r#.= 8
21 of 101
8/16/2019 Mock Online Assessment
22/102
Mock Online Assessment
If r#.8ield#F/H id Then
If r#.=dit ode ad=ditNone Then
t5tuid.Te5t r#.8ield#F/H
t5tunm.Te5t r#.8ield#F1H t5tu"w.Te5t r#.8ield#F2H
t5tinf.Te5t r#.8ield#F3H
=nd If
=5it )o
=l#e
r#. o+eNe5t
=nd If
Loo"cmd#a+e.Set8ocu#
=nd Su,
Pri+ate Su, cmdne5t6 lickFH
r#. o+eNe5t
If r#.= 8 Then
r#. o+eLa#t
=nd If di#"la!
=nd Su,
Pri+ate Su, cmd"re6 lickFH
r#. o+ePre+iou#
If r#.0 8 Then
r#. o+e8ir#t
=nd If di#"la!
=nd Su,
Pri+ate Su, cmd#a+e6 lickFH
r#. lo#e
22 of 101
8/16/2019 Mock Online Assessment
23/102
Mock Online Assessment
r#. "en GmoduleG< N< ad "en)!namic< adLock "timi#tic
r#.AddNew
r#Dmcode t5tmcode.Te5t
r#Dm#u, t5tmname.Te5t r#Dmno t5tmno.Te5t
r#.7"date
=nd Su,
Pri+ate Su, ommand16 lickFH
t5tmcode.Te5t GG
t5tmname.Te5t GG
t5tmno.Te5t GGt5tmcode.Set8ocu#
=nd Su,
Pri+ate Su, ommand26 lickFH
Er#Dmcode t5tmcode.Te5t
r#Dm#u, t5tmname.Te5t
r#Dmno t5tmno.Te5t
=nd Su,
Pri+ate Su, 8orm6Acti+ateFH
Set r# New A) )0.&ecord#et
r#. "en GmoduleG< N< ad "en)!namic< adLock "timi#tic
di#"la!
=nd Su,
Pri+ate Su, 8orm6LoadFH
Set N New A) )0. onnection
N.Pro+ider Gmicro#oft.jet.oled,.3. 1GN. "en G); lourdu e5am.md,G
=nd Su,
Pu,lic Su, di#"la!FH
t5tmcode.Te5t r#Dmcode
23 of 101
8/16/2019 Mock Online Assessment
24/102
Mock Online Assessment
t5tmname.Te5t r#Dm#u,
t5tmno.Te5t r#Dmno
=nd Su,
Q7=STI N PAP=& 8 &
EPri+ate Su, 8orm6LoadFH
E Te5t1.Te5t id F#trFTimeH< 3< 2H
Eend Su,
)im N A# A) )0. onnection
)im r# A# A) )0.&ecord#et)im nm A# String
)im id A# String
)im "a## A# String
)im info A# String
Pri+ate Su, cmddel6 lickFH
r#.)elete
r#. o+eNe5t
If r#.= 8 Then r#. o+eLa#tdi#"la!
=nd Su,
Pri+ate Su, cmde5it6 lickFH
)I8orm1.Show
=nd Su,
Pri+ate Su, cmdfir#t6 lickFHr#. o+e8ir#t
di#"la!
=nd Su,
24 of 101
8/16/2019 Mock Online Assessment
25/102
Mock Online Assessment
Pri+ate Su, cmdla#t6 lickFH
r#. o+eLa#t
di#"la!
=nd Su,
Pri+ate Su, cmdmodi6 lickFH
id In"ut0o5FG=NT=& T%= STA88 )=G< GmodificationGH
r#. o+e8ir#t
)o 9hile Not r#.= 8
If r#.8ield#F/H id Then
If r#.=dit ode ad=ditNone Then
t5tmcode.Te5t r#Dmcode t5t'nm.Te5t r#D'nm
t5t'no.Te5t r#D'no
t5to"t1.Te5t r#o"t1
t5to"t2.Te5t r#o"t2
t5to"t3.Te5t r#Do"t3
t5to"t4.Te5t r#Do"t4
t5t'an#.Te5t r#D'an#
t5t'mark#.Te5t r#D'mark#
=nd If
=5it )o
=l#e
r#. o+eNe5t
=nd If
Loo"
cmd#a+e.Set8ocu#=nd Su,
Pri+ate Su, cmdne5t6 lickFH
r#. o+eNe5t
25 of 101
8/16/2019 Mock Online Assessment
26/102
Mock Online Assessment
If r#.= 8 Then r#. o+eLa#t
di#"la!
=nd Su,
Pri+ate Su, cmd"re6 lickFH
r#. o+ePre+iou#
If r#.0 8 Then r#. o+e8ir#t
di#"la!
=nd Su,
Pri+ate Su, cmd#a+e6 lickFH
r#. lo#e
r#. "en G',ankG< N< ad "en)!namic< adLock "timi#ticr#.AddNew
r#Dmcode t5tmcode.Te5t
r#D'no t5t'no.Te5t
r#D'nm t5t'nm.Te5t
r#Do"t1 t5to"t1.Te5t
r#Do"t2 t5to"t2.Te5t
r#Do"t3 t5to"t3.Te5t
r#Do"t4 t5to"t4.Te5t r#D'an# t5t'an#.Te5t
r#D'mark# t5t'mark#.Te5t
r#.7"date
#g0o5 FGrecord #a+edGH
=nd Su,
Pri+ate Su, ommand16 lickFH
t5tmcode.Te5t GGt5t'nm.Te5t GG
t5t'no.Te5t GG
t5to"t1.Te5t GG
t5to"t2.Te5t GG
26 of 101
8/16/2019 Mock Online Assessment
27/102
Mock Online Assessment
t5to"t3.Te5t GG
t5to"t4.Te5t GG
t5t'an#.Te5t GG
t5t'mark#.Te5t GGt5tmcode.Set8ocu#
=nd Su,
Pri+ate Su, 8orm6Acti+ateFH
Set r# New A) )0.&ecord#et
r#. "en G',ankG< N< ad "en)!namic< adLock "timi#tic
di#"la!
=nd Su,
Pri+ate Su, 8orm6LoadFHSet N New A) )0. onnection
N.Pro+ider Gmicro#oft.jet.oled,.3. 1G
N. "en G); L 7&)7 e5am.md,G
=nd Su,
Pu,lic Su, di#"la!FH
t5tmcode.Te5t r#Dmcode
t5t'nm.Te5t r#D'nm
t5t'no.Te5t r#D'not5to"t1.Te5t r#Do"t1
t5to"t2.Te5t r#Do"t2
t5to"t3.Te5t r#Do"t3
t5to"t4.Te5t r#Do"t4
t5t'an#.Te5t r#D'an#
t5t'mark#.Te5t r#D'mark#
=nd Su,
Pri+ate Su, La,el1/6 lickFH
=nd Su,
27 of 101
8/16/2019 Mock Online Assessment
28/102
Mock Online Assessment
ST7)=NT 8 & )=TAILS
)im N A# New onnection
)im &S1 A# New &ecord#et)im ST& A# String
Pri+ate Su, ommand16 lickFH
N. ur#orLocation ad7#e lient
Set &S1 New A) )0.&ecord#et
N. "en GP& BI)=& I & S 8T.R=T. L=)0.3. 1U)ATAS 7& = );VL 7&)7Ve5am.md,UG
ST& G#elect W from re#ult where #tcode EG ? Te5t1.Te5t ? GEG ? G And EdateE EG ?
Te5t2.Te5t ? GEG ? G And modcode EG ? Te5t3.Te5t ? G EG
&S1. "en ST&< N< ad "en)!namic< adLock "timi#tic
If &S1.= 8 True Then
EIf I#)ateFTe5t2H True Then
)ata=n+ironment1. ommand2 Te5t1< Te5t2< Te5t3
)ata&e"ort1.ShowE=nd If
=l#e
#g0o5 GT%IS IN8 & ATI N IS N T T%=&=< PL=AS= =NT=& &&= T
IN8 & ATI/NG
Te5t1.Set8ocu#
Te5t1.Te5t GG
Te5t2.Te5t GG
Te5t3.Te5t GG=nd If
E N. lo#e
E)ata&e"ort$.&efre#h
E)ata=n+ironment1.r# ommand2. lo#e
28 of 101
8/16/2019 Mock Online Assessment
29/102
Mock Online Assessment
=nd Su,
Pri+ate Su, ommand26 lickFHE8orm .%ide
E )I8orm1.Show
7nload e
=nd Su,
=@A INATI N )=TAILS
)im N A# A) )0. onnection
)im r# A# A) )0.&ecord#et
)im ST& A# String
Pri+ate Su, cm,mod6 lickFH
If cm,mod.Te5t GG Then
#g0o5 G #elect module name Gcm,mod.Set8ocu#
=nd If
)im r# A# A) )0.&ecord#et
Set r# New A) )0.&ecord#et
t5t1.Te5t cm,mod.Te5t
ST& G#elect W from module where m#u, EG ? t5t1.Te5t ? GEG
r#. "en ST&< N< ad "en)!namic< adLock "timi#tic
If r#.= 8 And r#.0 8 Then#g0o5 G #elect nodule name correctl!G
=nd If
t5tmodno.Te5t r#Dmcode
AIN.modcode r#Dmcode
29 of 101
8/16/2019 Mock Online Assessment
30/102
Mock Online Assessment
EN Q.Set8ocu#
=nd Su,
Pri+ate Su, cm,mod6Cot8ocu#FHStatu#0ar1.Panel#F3H.Te5t GS=L= T S70R= T 9%I % N= 7 9ANT G
=nd Su,
Pri+ate Su, cm,mod6Lo#t8ocu#FH
If cm,mod.Te5t GG Then
#g0o5 G S=L= T S70R= T NA = G
cm,mod.Set8ocu#
=nd If )im r# A# A) )0.&ecord#et
Set r# New A) )0.&ecord#et
t5t1.Te5t cm,mod.Te5t
ST& G#elect W from module where m#u, EG ? t5t1.Te5t ? GEG
r#. "en ST&< N< ad "en)!namic< adLock "timi#tic
If r#.= 8 And r#.0 8 Then
#g0o5 G #elect nodule name correctl!G
=nd If t5tmodno.Te5t r#Dmcode
AIN.modcode r#Dmcode
=nd Su,
Pri+ate Su, cmdcon6 lickFH
INST&7 TI N.Show
=nd Su,
Pri+ate Su, 8orm6Acti+ateFH
30 of 101
8/16/2019 Mock Online Assessment
31/102
Mock Online Assessment
Te5t1.Te5t G1/G
AIN.N Q Te5t1.Te5t
Te5t2.Te5t G1G
AIN.&T Te5t2.Te5t
=nd Su,
Pri+ate Su, 8orm6LoadFH
Set N New A) )0. onnection
N.Pro+ider Gmicro#oft.jet.oled,.3. 1G
N. "en G); lourdu e5am.md,G
Set r# New A) )0.&ecord#etr#. "en GmoduleG< N< ad "en)!namic< adLock "timi#tic
9hile r#.= 8 XM True
cm,mod.AddItem r#Dm#u,
r#. o+eNe5t
9end
r#. lo#e
)im m!"anel A# Panel
Statu#0ar1.Panel#.clear Set m!"anel Statu#0ar1.Panel#.AddF1< < < #,r)ateH
m!"anel.AutoSiJe #,rNoAutoSiJe
m!"anel.0e+el #,rIn#et
Set m!"anel Statu#0ar1.Panel#.AddF2< < < #,rTimeH
m!"anel.AutoSiJe #,rNoAutoSiJe
m!"anel.0e+el #,rIn#et
Em!"anel.Alignment #,rLeft
Set m!"anel Statu#0ar1.Panel#.AddF3HStatu#0ar1.Panel#F3H.Te5t GS=L= T 9%I % S70R= T 7 9ANT T ATT= PTG
Statu#0ar1.Panel#F3H.AutoSiJe #,rS"ring
=nd Su,
31 of 101
8/16/2019 Mock Online Assessment
32/102
8/16/2019 Mock Online Assessment
33/102
Mock Online Assessment
Pri+ate Su, N6R=0A6 lickFH
8orm2.Show
=nd Su,
EPri+ate Su, N6=@A 6 lickFH
E INST&7 TI N.Show
E8orm1.Show
E=nd Su,
EPri+ate Su, N76)AILK6 lickFH
Eu#erre"ort.ShowE=nd Su,
Pri+ate Su, N6&&6 lickFH
&=S&=P &T.Show
=nd Su,
Pri+ate Su, N6S&6 lickFH
S70R= T.Show
=nd Su,
Pri+ate Su, N6ST&6 lickFH
STA88&=P &T.Show
=nd Su,
Pri+ate Su, N6ST7&6 lickFH
ST7)=NT&=P &T.Show
=nd Su,
33 of 101
8/16/2019 Mock Online Assessment
34/102
Mock Online Assessment
Pri+ate Su, N76=@IT6 lickFH
=nd
=nd Su,
Pri+ate Su, N76 )6 lickFInde5 A# IntegerH
A) 6 ).Show
=nd Su,
Pri+ate Su, N76QPAP=&6 lickFInde5 A# IntegerH
A) IN6QPAP=&.Show
=nd Su,
EPri+ate Su, N76T T6 lickFH
Ere#ultre"ort.Show
E=nd Su,
EPri+ate Su, )6&=P6 lickFInde5 A# IntegerH
E )7L=&=P &T.Show
E=nd Su,
Pri+ate Su, N76STA886 lickFInde5 A# IntegerH
STA88A) .Show
=nd Su,
Pri+ate Su, N76ST7)=NT6 lickFInde5 A# IntegerH
ST7A) .Show
=nd Su,
L CIN 8 & 8 STA88 AN) A) INIST&AT &
Pri+ate Su, ommand16 lickFH
If Te5t1.Te5t GCI&IS%G Then
34 of 101
8/16/2019 Mock Online Assessment
35/102
Mock Online Assessment
STA88L CIN.Show
7nload "a##word
=l#e
#g0o5 FGINBALI) PASS9 &) )=A&...GHTe5t1.Te5t GG
Te5t1.Set8ocu#
=nd If
=nd Su,
Pri+ate Su, ommand26 lickFH
If Te5t1.Te5t G&=))KG Then
)I8orm1.Show=l#e
#g0o5 FGINBALI) PASS9 &) )=A&...GH
Te5t1.Te5t GG
Te5t1.Set8ocu#
=nd If
=nd Su,
Pri+ate Su, 8orm6Acti+ateFHTe5t1.Set8ocu#
=nd Su,
ST7)=NT &=S7LT 8 &
)im N A# New onnection
)im &S1 A# New &ecord#et
35 of 101
8/16/2019 Mock Online Assessment
36/102
Mock Online Assessment
Pri+ate Su, ommand16 lickFH
N. ur#orLocation ad7#e lient
ESet N New A) )0. onnection
E N.Pro+ider Gmicro#oft.jet.oled,.4./GE N. "en G); lourdu loe5am.md,G
ESet &S1 New A) )0.&ecord#et
N. "en GP& BI)=& I & S 8T.R=T. L=)0.3. 1U)ATA
S 7& = );VL 7&)7Ve5am.md,UG
&S1. "en G#elect W from re#ult where re#no G Y Te5t1.Te5t< N< ad "en)!namic<
adLock "timi#tic
If &S1.= 8 XM True Then
If I#NumericFTe5t1H True Then )ata=n+ironment1. ommand1 Te5t1
P&=&=S.Show
=nd If
=l#e
#g0o5 GT%IS N7 0=& IS N T T%=&=
8/16/2019 Mock Online Assessment
37/102
Mock Online Assessment
=nd Su,
Q7=STI N PAP=& 8 &
)im mark A# Integer
)im N A# A) )0. onnection
)im r# A# A) )0.&ecord#et
)im &S1 A# A) )0.&ecord#et
)im noF /H A# Integer
)im unm< grade A# String
)im i< k< '#ta A# Integer
)im modcode A# String)im hor1< #ec1< #econd< min1< ' A# Integer
)im #2< m2< h2 A# Integer
)im re#< 'no1 A# Integer
)im ST&< an#< '#an# A# String
)im tm A# Timer
)im mar A# Integer
Pri+ate Su, cmde5it6 lickFHan# #g0o5FGA&= 7 S7&= T =@ITG< +,Ke#NoH
If an# +,Ke# Then
=nd
=nd If
=nd Su,
Pri+ate Su, cmdne5t6 lickFH
'#ta '#ta Y 1AIN.'#ta '#ta
mark mark Y r#D'mark#
AIN.ma mark
AIN.lo mark
37 of 101
8/16/2019 Mock Online Assessment
38/102
Mock Online Assessment
Te5t1.Te5t mark
If o"ta.Balue 8al#e And o"t,.Balue 8al#e And o"tc.Balue 8al#e And o"td.Balue
8al#e Then
#g0o5 G #elect an! an#wer and then click ne5tG=5it Su,
=nd If
all checkan#
If i AIN.N Q Then
cmdre#.Set8ocu#
cmdne5t.=na,led 8al#e
an# =m"t!
=nd If all na+i
EIf i 11 Then cmdne5t.=na,led 8al#e
=nd Su,
Pri+ate Su, cmdne5t6Cot8ocu#FH
If o"ta.Balue 8al#e And o"t,.Balue 8al#e And o"tc.Balue 8al#e And o"td.Balue
8al#e Then
#g0o5 G S=L= T ANK ANS9=& AN) T%=N LI N=@TG=nd If
=nd Su,
Pri+ate Su, cmdre#6 lickFH
)im nanme A# String
mark#.Te5t mark
Ech.Te5t chk
&S1.AddNewEunm main.u#ername
' AIN.N Q
&S1D#tname AIN.#tname
&S1D#tcode AIN.#tcode
38 of 101
8/16/2019 Mock Online Assessment
39/102
Mock Online Assessment
&S1Dmark# BalFmark#.Te5tH
&S1Dtimetaken h$. a"tion Y G;G Y m$. a"tion Y G;G Y #$. a"tion
&S1D)ate )ateFt5tdate.Te5tH
&S1Dmodcode t5tmod.Te5tEr#1D#ec #econd
&S1DN Q '
&S1Dno'atm" AIN.'#ta
&S1.7"date
&S1.&e'uer!
&=S7LT.Show
=nd Su,
Pri+ate Su, 8orm6Acti+ateFH
ETmr1.=na,led True
i 1
k /
=nd Su,
Pri+ate Su, 8orm6InitialiJeFH#econd /
i /
=nd Su,
Pri+ate Su, 8orm6LoadFH
Set N New A) )0. onnection
Set r# New A) )0.&ecord#et
Set &S1 New A) )0.&ecord#etESet r#2 New A) )0.&ecord#et
N.Pro+ider Gmicro#oft.jet.oled,.3. 1G
N. "en G); lourdu e5am.md,G
t5tuid.Te5t AIN.#tcode
39 of 101
8/16/2019 Mock Online Assessment
40/102
Mock Online Assessment
t5tmod.Te5t AIN.modcode
t5tdate.Te5t )ate
noF/H IntF&nd W 2 H Y 1
ST& G #elect W from ',ank where mcode EG ? TrimFt5tmod.Te5tH ? GEand 'no G ?noF/H
r#. "en ST&< N< ad "en)!namic< adLock "timi#tic
&S1. "en Gre#ultG< N< ad "en)!namic< adLock "timi#tic
t5t'no.Te5t r#D'no
l,l'nm. a"tion r#D'nm
l,la. a"tion r#Do"t1
l,l,. a"tion r#Do"t2
l,lc. a"tion r#Do"t3l,ld. a"tion r#Do"t4
'#na# r#D'an#
'no1 1
#2 $/
m2 AIN.&T
Q7=STI NPAP=&.Show
T TQ. a"tion AIN.N Q
'no2. a"tion 'no1all checkan#
=nd Su,
Pu,lic Su, na+iFH
)im j A# Integer
If i AIN.N Q Then =5it Su, 'no1 'no1 Y 1
'no2. a"tion 'no1
k k Y 1
l,;
40 of 101
8/16/2019 Mock Online Assessment
41/102
Mock Online Assessment
rn IntF&nd W 2 H Y 1
8or m / To k
If noFmH rn Then CoTo l,
=nd If
Ne5t m
noF/ Y kH rn
r#. lo#e
ST& G #elect W from ',ank where mcode EG ? TrimFt5tmod.Te5tH ? GEand
'no G ? rn
EG #lect W from ',ank where mcode EG ? TrimFt5tmod.Te5tHGE and 'no G?rn r#. "en ST&< N< ad "en)!namic< adLock "timi#tic
t5t'no.Te5t r#D'no
l,l'nm. a"tion r#D'nm
l,l'nm. a"tion r#D'nm
l,la. a"tion r#Do"t1
l,l,. a"tion r#Do"t2
l,lc. a"tion r#Do"t3
l,ld. a"tion r#Do"t4 '#an# r#D'an#
i i Y 1
=5it Su,
=nd Su,
Pu,lic Su, checkan#FH
If o"ta.Balue True Then an# GaG
chk chk Y 1
=l#eIf o"t,.Balue True Then
an# G,G
41 of 101
8/16/2019 Mock Online Assessment
42/102
Mock Online Assessment
chk chk Y 1
=l#eIf o"tc.Balue True Then
an# GcG
chk chk Y 1 =l#eIf o"td.Balue True Then
an# GdG
chk chk Y 1
=nd If
If an# '#an# Then
mar mar Y r#D'mark#
mark#.Te5t mar
AIN.redd! mar Print mar
=nd If
o"ta.Balue 8al#e
o"t,.Balue 8al#e
o"tc.Balue 8al#e
o"td.Balue 8al#e
=nd Su,
Pri+ate Su, 8orm6Lo#t8ocu#FH
AIN.#econd #econd
AIN.'#ta '#ta
=nd Su,
Pri+ate Su, l,l'nm6 lickFH
=nd Su,
42 of 101
8/16/2019 Mock Online Assessment
43/102
Mock Online Assessment
Pri+ate Su, t6TimerFH
hor1 /
#ec1 #ec1 Y 1 #econd #econd Y 1
AIN.#econd #econd
Print #econd
If #ec1 $/ Then
#ec1 /
min1 min1 Y 1
If min1 $/ Then
min1 / hor1 hor1 Y 1
If hor1 24 Then
hor1 /
=nd If
=nd If
=nd If
#2 #2 : 1 If #2 / Then
#2 $/
m2 m2 : 1
If m2 / Then
m2 $/
h2 h2 : 1
If h2 / Then
h 24 =nd If
=nd If
=nd If
h$. a"tion hor1
43 of 101
8/16/2019 Mock Online Assessment
44/102
Mock Online Assessment
m$. a"tion min1
#$. a"tion #ec1
#ec. a"tion #2
If AIN.&T 1 Then m2 G//G
=nd If
min. a"tion m2
hor. a"tion h2
=nd Su,
Pri+ate Su, tmo,j6TimerFH
)im t A# StringIf BalFmin1H AIN.&T Then
all cmdre#6 lick
=nd If
=nd Su,
)ATA &=P &T 8 ST7)=NT &=S7LT
)im cn1 A# A) )0. onnection)im N A# A) )0. onnection
)im r# A# A) )0.&ecord#et
)im &S1 A# A) )0.&ecord#et
)im ST& A# String
)im #tr1 A# String
)im a A# Integer
Pri+ate Su, cmde5it6 lickFH
=nd=nd Su,
Pri+ate Su, 8orm6LoadFH
Set N New A) )0. onnection
44 of 101
8/16/2019 Mock Online Assessment
45/102
Mock Online Assessment
N.Pro+ider Gmicro#oft.jet.oled,.3. 1G
Ecn1.Pro+ider Gmicro#oft.jet.oled,.3. 1G
N. "en G); lourdu e5am.md,G
Set r# New A) )0.&ecord#etESet r#1 New A) )0.&ecord#et
Te5t1.Te5t AIN.#tcode
ST& G#elect W from re#ult where #tcode EG ? Te5t1.Te5t ? GEG
r#. "en ST&< N< ad "en)!namic< adLock "timi#tic
Er#1. "en Gre#ultG< cn< ad "en)!namic< adLock "timi#tic
r#. o+eLa#t
t5tdate. a"tion r#D)ate
t5tunm1. a"tion AIN.#tnamet5tunm2. a"tion AIN.#tname
t5tuid. a"tion AIN.#tcode
t5tmod. a"tion r#Dmodcode
ETe5t2.Te5t main.m
Et5tinfo. a"tion GaG
t5ttmk. a"tion AIN.redd!
ET@TC&). a"tion GAG
Emain.gr T@TC&). a"tiont5tt. a"tion r#Dtimetaken
N Q1. a"tion r#DN Q
ELa,el1. a"tion r#D#ec
&=SN . a"tion r#D&=SN
Er#Dgrade main.gr
Er#Dmaro,t main.redd!
'#ta. a"tion r#Dno'atm"
La,el1$. a"tion AIN.loEr#.7"date
a FF AIN.redd! AIN.maH W 1//H
If a M -/ And a X 1// Then
T@TC&). a"tion Gma#terG
45 of 101
8/16/2019 Mock Online Assessment
46/102
Mock Online Assessment
=l#eIf a M ( And a X -/ Then
T@TC&). a"tion Gde#tG
=l#eIf a M $/ And a X ( Then
T@TC&). a"tion Gfir#tG =l#eIf a X $/ Then
T@TC&). a"tion GfailG
=l#e
T@TC&). a"tion GfailG
=nd If
E=l#e
E T@TC&). a"tion GfailG
E=nd If
AIN.gr T@TC&). a"tion
r#Dgrade T@TC&). a"tion
r#Dmaro,t AIN.redd!
r#.7"date
=nd Su,
S=L= TINC T%= 7S=&S 8 &
)im 5 A# Integer
)im ! A# Integer
"tion =5"licit
Pri+ate Su, ommand16 lickFH
If "tion1.Balue True Then
AIN. PT 1
46 of 101
8/16/2019 Mock Online Assessment
47/102
Mock Online Assessment
ST7L CIN.Show
=nd If
E=l#eIf
If "tion2.Balue True Then AIN. PT 2
"a##word.Show
"a##word. ommand2.=na,led 8al#e
=nd If
E=l#eIf
If "tion3.Balue True Then
"a##word. ommand2.=na,led True
"a##word.Te5t1.Set8ocu# "a##word.Te5t1.Te5t GG
AIN. PT 3
)I8orm1. N68A .=na,led 8al#e
"a##word.Show
"a##word. ommand1.=na,led 8al#e
=nd If
=nd Su,
Pri+ate Su, 8orm6LoadFH
5 1//
! 1//
=nd Su,
Pri+ate Su, "tion46 lickFH
=nd
47 of 101
8/16/2019 Mock Online Assessment
48/102
8/16/2019 Mock Online Assessment
49/102
Mock Online Assessment
)im ST& A# String
)im i A# Integer
)im # A# String
Pri+ate Su, cmde5am6 lickFHSTA88L CIN.Show
=nd Su,
Pri+ate Su, cmde5it6 lickFH
S=L= T7S=&.Show
=nd Su,
Pri+ate Su, cmdmodi6 lickFH)im id A# String
id In"ut0o5FG=nter the #taffcodeG< GmodificationGH
r#. o+e8ir#t
)o 9hile r#.= 8 8al#e
If 7 a#eFidH 7 a#eFr#D#taffcodeH Then
If r#.=dit ode ad=ditNone Then
t5tid.Te5t r#D#taffcode
t5t"#w.Te5t r#D#taff"#w t5tnm.Te5t r#D#taffname
om,o1.Te5t r#D'ualification
t5tdate.Te5t r#D)ate
t5t,date.Te5t r#Ddo,
Et5t#e5.Te5t r#DS=@
t5tmail.Te5t r#Demail
t5taddre##.Te5t r#Daddre##
t5tregno.Te5t r#D"hone Et5tarea.Te5t r#Du#area
ET5tcit!.Te5t r#Du#cit!
Et5t#tate.Te5t r#Du##tate
=nd If
49 of 101
8/16/2019 Mock Online Assessment
50/102
Mock Online Assessment
=5it )o
=l#e
r#. o+eNe5t
=nd If Loo"
cmd#a+e.=na,led True
cmd#a+e.Set8ocu#
cmdreg.=na,led 8al#e
cmde5it.=na,led 8al#e
cmdmodi.=na,led 8al#e
Ecmde5am.=na,led 8al#e
=nd Su,
Pri+ate Su, cmdreg6 lickFH
all clear
#g0o5 GKou Should &emem,er 7#erid < 7#er"a##word G
If r#.= 8FH Then
#g0o5 GN &= &)S ABAI0L=G
i /
=l#er#. o+eLa#t
i BalF id Fr#.8ield#FG#taffcodeGH< 3< 4HH
=nd If
i i Y 1
If Fi M /H And Fi X -H Then
# GL=G ? G///G ? i
=l#e
If Fi M 1/H And Fi X --H Then# GL=G ? G//G ? i
=l#e
If Fi M 1//H And Fi X ---H Then
# GL=G ? G/G ? i
50 of 101
8/16/2019 Mock Online Assessment
51/102
Mock Online Assessment
=l#e
=nd If
=nd If
=nd If t5tid #
t5t"#w.Te5t GG
t5tnm.Te5t GG
om,o1.Te5t GG
t5tmail.Te5t GG
t5t,date.Te5t GG
Et5t#e5.Te5t GG
all L 7&)7t5taddre##.Te5t GG
t5tregno.Te5t GG
Et5tarea.Te5t GG
ET5tcit!.Te5t GG
Et5t#tate.Te5t GG
t5t"#w.Set8ocu#
r#.AddNew
cmdreg.=na,led 8al#ecmde5it.=na,led 8al#e
cmdmodi.=na,led 8al#e
cmd#a+e.=na,led True
Statu#0ar1.Panel#F3H.Te5t G LI N SAB= 07TT N A8T=& CIBINC
)=TAILS G
=nd Su,
Pri+ate Su, cmd#a+e6 lickFH
r#D#taffcode t5tid.Te5t
r#D#taff"#w t5t"#w.Te5t
r#D#taffname t5tnm.Te5t
51 of 101
8/16/2019 Mock Online Assessment
52/102
Mock Online Assessment
r#D'ualification om,o1.Te5t
r#Demail t5tmail.Te5t
r#Ddo, t5t,date.Te5t
Er#DS=@ t5t#e5.Te5t r#Daddre## t5taddre##.Te5t
r#D"hone BalFt5tregno.Te5tH
Er#Du#area t5tarea.Te5t
Er#Du#cit! T5tcit!.Te5t
Er#Du##tate t5t#tate.Te5t
r#D)ate t5tdate.Te5t
r#.7"date
#g0o5 FG!e#GH cmdreg.=na,led 8al#e
cmd#a+e.=na,led 8al#e
cmdmodi.=na,led True
Ecmde5am.=na,led True
cmde5it.=na,led True
EStatu#0ar1.Panel#F3H.Te5t GK 7& I) IS &=AT=) G
E5!; E #g0o5 G K 7& 7S=&:I) IS AL&=A)K &=AT=) TA = S = T%=&
N7 0=& G
=nd Su,
Pri+ate Su, 8orm6Acti+ateFH
E )&=C.Set8ocu#
cmd#a+e.=na,led 8al#e
cmdmodi.=na,led True
cmde5it.=na,led Truecmdreg.=na,led True
cmdreg.Set8ocu#
=nd Su,
52 of 101
8/16/2019 Mock Online Assessment
53/102
Mock Online Assessment
Pri+ate Su, 8orm6LoadFH
Set con New A) )0. onnection
con.Pro+ider Gmicro#oft.jet.oled,.3. 1G
con. "en G); lourdu e5am.md,GSet r# New A) )0.&ecord#et
t5tdate.Te5t )ate
r#. "en G#taffG< con< ad "en)!namic< adLockPe##imi#tic
)im m!"anel A# Panel
Statu#0ar1.Panel#.clear
Set m!"anel Statu#0ar1.Panel#.AddF1< < < #,r)ateH
m!"anel.AutoSiJe #,rNoAutoSiJe
m!"anel.0e+el #,rIn#etSet m!"anel Statu#0ar1.Panel#.AddF1< < < #,rTimeH
m!"anel.AutoSiJe #,rNoAutoSiJe
m!"anel.0e+el #,rIn#et
m!"anel.Alignment #,rLeft
Set m!"anel Statu#0ar1.Panel#.AddF3H
Statu#0ar1.Panel#F3H.Te5t G9=L = T L CI IN8 T= % P&IBAT=
LI IT=) G
Statu#0ar1.Panel#F3H.AutoSiJe #,rS"ringEr#. lo#e
=nd Su,
EPri+ate Su, t5tnm6 hangeFH
E e!A#cii A#cF7 a#eF hrF e!A#ciiHHH
E If e!A#cii 32 Then =5it Su,
E If I#NumericF hrF e!A#ciiHH r 6 E F e!A#cii M 33 And e!A#cii X $4H r 6
E F e!A#cii M -1 And e!A#cii X -$H r 6
E F e!A#cii M 123 And e!A#cii X 12$H Then
E e!A#cii /
53 of 101
8/16/2019 Mock Online Assessment
54/102
Mock Online Assessment
EStatu#0ar1.Panel#F3H.Te5t Gu#er name #hould ,e charecterG
E=nd If
E=nd Su,
Pri+ate Su, "tion16 lickFH
If "tion1.Balue True Then
r#D#e5 G AL=G
=nd If
=nd Su,
Pri+ate Su, "tion26 lickFHIf "tion2.Balue True Then
r#D#e5 G8= AL=G
=nd If
=nd Su,
Pri+ate Su, t5tnm6Cot8ocu#FH
If t5t"#w.Te5t GG Then
Statu#0ar1.Panel#F3H.Te5t G=NT=& PASS9 &) T%=N NA = 8 T%=ST7)=NTG
#g0o5 G =NT=& PASS9 &) T%=N NA =G
=nd If
=nd Su,
EPri+ate Su, t5tid6Lo#t8ocu#FH
E)im lo A# Integer
EIf t5tid.Te5t Like GZA:[ ZA:[ \\\\G XM True ThenElo #g0o5FGIN &&= T )=G< +, nl!< GST PDDDDGH
Et5tid.Set8ocu#
E=nd If
E=nd Su,
54 of 101
8/16/2019 Mock Online Assessment
55/102
Mock Online Assessment
Pri+ate Su, t5tnm6 e!Pre##F e!A#cii A# IntegerH
)im klr A# Integer
If Not hrF e!A#ciiH Like GZA:[ G Thene!A#cii /
Statu#0ar1.Panel#F3H.Te5t G NLK ALP%A0=TS ALL 9=)G
klr #g0o5FG NLK ALP%A0=TS ALL 9=)G< +,Information< GL CI
IN8 T= %GH
=nd If
=nd Su,
Pri+ate Su, t5tnm6Lo#t8ocu#FH e!A#cii A#cF7 a#eF hrF e!A#ciiHHH
If e!A#cii 32 Then =5it Su,
If I#NumericF hrF e!A#ciiHH r 6
F e!A#cii M 33 And e!A#cii X $4H r 6
F e!A#cii M -1 And e!A#cii X -$H r 6
F e!A#cii M 123 And e!A#cii X 12$H Then
e!A#cii /
#g0o5 FGIN &&= T )ATAGHStatu#0ar1.Panel#F3H.Te5t Gu#er name #hould ,e charecterG
=nd If
=nd Su,
Pri+ate Su, Timer16TimerFH
Te5t1.Te5t Time
=nd Su,
Pu,lic Su, #hoFH
t5tid.Te5t r#D#taffcode
t5t"#w.Te5t r#D#taff"#w
55 of 101
8/16/2019 Mock Online Assessment
56/102
Mock Online Assessment
t5tnm.Te5t r#D#taffname
om,o1.Te5t r#D'ualification
t5tdate.Te5t r#D)ate
t5t,date.Te5t r#Ddo,t5tmail.Te5t r#Demail
Et5t#e5.Te5t r#DS=@
all redd!
t5taddre##.Te5t r#Daddre##
t5tregno r#D"hone
Et5tarea.Te5t r#Du#area
ET5tcit!.Te5t r#Du#cit!
Et5t#tate.Te5t r#Du##tate=nd Su,
Pu,lic Su, clearFH
t5tid.Te5t GG
t5t"#w.Te5t GG
t5tnm.Te5t GG
om,o1.Te5t GG
t5tmail.Te5t GGt5t,date.Te5t GG
Et5t#e5.Te5t GG
all L 7&)7
t5taddre##.Te5t GG
t5tregno.Te5t GG
Et5tarea.Te5t GG
ET5tcit!.Te5t GG
Et5t#tate.Te5t GG=nd Su,
Pri+ate Su, t5t"#w6Lo#t8ocu#FH
56 of 101
8/16/2019 Mock Online Assessment
57/102
Mock Online Assessment
)im lo A# Integer
If LenFt5t"#w.Te5tH X 3 Then
lo #g0o5FG INI 7 PASS9 &) L=NCT% IS 3 G< +,=5clamation<
GST PDDDGHStatu#0ar1.Panel#F3H.Te5t G INI 7 PASS9 &) L=NCT% IS 3G
t5t"#w.Set8ocu#
=nd If
=nd Su,
Pri+ate Su, t5tregno6 e!Pre##F e!A#cii A# IntegerH
)im re# A# Integer
If Not hrF e!A#ciiH Like G\G Thene!A#cii /
Statu#0ar1.Panel#F3H.Te5t G NLK N7 =&I )ATA ALL 9=)G
re# #g0o5FG NLK N7 =&I )ATA ALL 9=)G< +,InformationH
=nd If
=nd Su,
Pri+ate Su, t5tregno6Lo#t8ocu#FH
)im lo A# Integer If LenFt5tregno.Te5tH XM $ Then
Statu#0ar1.Panel#F3H.Te5t GP% N= N7 0=& 7ST 0= $ INT=C=&SG
lo #g0o5FGP% N= N7 0=& 7ST 0= $ INT=C=&SG< +,=5clamation<
GST PDDDGH
t5tregno.Set8ocu#
=nd If
=nd Su,
Pu,lic Su, L 7&)7FH
"tion1.Balue 8al#e
57 of 101
8/16/2019 Mock Online Assessment
58/102
Mock Online Assessment
"tion2.Balue 8al#e
=nd Su,
Pu,lic Su, redd!FHIf r#D#e5 G AL=G Then
"tion1.Balue True
=l#e
"tion2.Balue True
=nd If
=nd Su,
STA88 L CIN 8 &
)im a A# Bariant
)im ST& A# String
)im N A# A) )0. onnection
)im r# A# A) )0.&ecord#et
Pri+ate Su, cmdcon6 lickFH
If t5t"#w.Te5t GG Then
#g0o5 G enter "a##wordGt5t"#w.Set8ocu#
=5it Su,
=nd If
ST& G S=L= T W from #taff where #taffcode EG ? t5tid.Te5t ? GEG ? G And
#taff"#w EG ? t5t"#w.Te5t ? GEG
r#. "en ST&< N< ad "en)!namic< adLock "timi#tic
If r#.= 8 And r#.0 8 Then
#g0o5 G =NT=& T%= )ATA &&= TLK G r#. lo#e
t5tid.Set8ocu#
t5tid.Te5t GG
t5tnm.Te5t GG
58 of 101
8/16/2019 Mock Online Assessment
59/102
8/16/2019 Mock Online Assessment
60/102
Mock Online Assessment
Pri+ate Su, 8orm6LoadFH
Set N New A) )0. onnectionN.Pro+ider Gmicro#oft.jet.oled,.3. 1G
N. "en G); lourdu e5am.md,G
Set r# New A) )0.&ecord#et
)im m!"anel A# Panel
Statu#0ar1.Panel#.clear
Set m!"anel Statu#0ar1.Panel#.AddF1< < < #,r)ateH
m!"anel.AutoSiJe #,rNoAutoSiJe
Em!"anel.0e+el #,rIn#etSet m!"anel Statu#0ar1.Panel#.AddF2< < < #,rTimeH
m!"anel.AutoSiJe #,rNoAutoSiJe
m!"anel.0e+el #,rIn#et
Em!"anel.Alignment #,rLeft
Set m!"anel Statu#0ar1.Panel#.AddF3H
Statu#0ar1.Panel#F3H.Te5t Genter id
8/16/2019 Mock Online Assessment
61/102
8/16/2019 Mock Online Assessment
62/102
Mock Online Assessment
=l#e
L L : 1 /
If La,el1.Left X / Then
#tatu# True =nd If
=nd If
La,el1.Left L
i i Y 1
If i od 1 / Then
La,el1.=na,led Not La,el1.=na,led
=nd If
=nd Su,
Pri+ate Su, Timer26TimerFH
E7nload e
E)ata,a#e.Bi#i,le True
Progre##0ar2.Bi#i,le True
La,el3.Bi#i,le True
If Progre##0ar2.Balue $ Then
Efrmmain.%ide 7nload e
S=L= T7S=&.Show
=l#e
Progre##0ar2.Balue Progre##0ar2.Balue Y 1
=nd If
=nd Su,
ST7)=NT )=TAILS 8 &
)im N A# A) )0. onnection
62 of 101
8/16/2019 Mock Online Assessment
63/102
Mock Online Assessment
)im r# A# A) )0.&ecord#et
)im nm A# String
)im id A# String
)im "a## A# String)im info A# String
Pri+ate Su, cmddel6 lickFH
r#.)elete
#g0o5 FG N= &= &) )=L=T=)GH
r#. o+eNe5tIf r#.= 8 Then r#. o+eLa#t
di#"la!
=nd Su,
Pri+ate Su, cmde5it6 lickFH
S=L= T7S=&.Show
=nd Su,
Pri+ate Su, cmdfir#t6 lickFH
r#. o+e8ir#t
di#"la!
=nd Su,
Pri+ate Su, cmdla#t6 lickFH
r#. o+eLa#t
di#"la!=nd Su,
Pri+ate Su, cmdmodi6 lickFH
63 of 101
8/16/2019 Mock Online Assessment
64/102
Mock Online Assessment
)im id A# String
id In"ut0o5FG=nter the u#er idG< GmodificationGH
r#. o+e8ir#t
)o 9hile r#.= 8 8al#e If 7 a#eFidH 7 a#eFr#D#tcodeH Then
If r#.=dit ode ad=ditNone Then
t5tid.Te5t r#D#tcode
t5t"#w.Te5t r#D#t"#w
t5tnm.Te5t r#D#tname
om,o1.Te5t r#D'ualification
t5tdate.Te5t 8ormatFr#D)ate< G )) KKKKGH
t5t,date.Te5t 8ormatFr#Ddo,< G )) KKKKGH t5t#e5.Te5t r#D#e5
t5tmail.Te5t r#Demail
t5taddre##.Te5t r#Daddre##
t5tregno.Te5t r#Dregi#terno
=nd If
=5it )o
=l#e r#. o+eNe5t
=nd If
Loo"
Ecmd#a+e.=na,led True
Ecmd#a+e.Set8ocu#
Ecmdreg.=na,led 8al#e
Ecmde5it.=na,led 8al#e
Ecmdmodi.=na,led 8al#eEcmde5am.=na,led 8al#e
=nd Su,
64 of 101
8/16/2019 Mock Online Assessment
65/102
Mock Online Assessment
Pri+ate Su, cmdne5t6 lickFH
r#. o+eNe5t
If r#.= 8 Then r#. o+eLa#t
di#"la!=nd Su,
Pri+ate Su, cmd"re6 lickFH
r#. o+ePre+iou#
If r#.0 8 Then r#. o+e8ir#t
di#"la!
=nd Su,
Pri+ate Su, cmd#a+e6 lickFH
r#D#tcode t5tid.Te5t
r#D#t"#w t5t"#w.Te5t
r#D#tname t5tnm.Te5t
r#D'ualification om,o1.Te5t
r#Demail t5tmail.Te5t
r#Ddo, t5t,date.Te5t
r#D#e5 t5t#e5.Te5t r#Daddre## t5taddre##.Te5t
r#Dregi#terno t5tregno
r#D)ate t5tdate.Te5t
r#.7"date
#g0o5 FG!e#GH
cmdadd.=na,led True
cmd#a+e.=na,led 8al#e
cmdmodi.=na,led True Ecmde5am.=na,led True
cmde5it.=na,led True
EStatu#0ar1.Panel#F3H.Te5t GK 7& I) IS &=AT=) G
65 of 101
8/16/2019 Mock Online Assessment
66/102
Mock Online Assessment
E5!;
E #g0o5 G K 7& 7S=&:I) IS AL&=A)K &=AT=) TA = S = T%=&
N7 0=& G
=nd Su,
Pri+ate Su, cmdadd6 lickFH
all clear
#g0o5 GKou Should &emem,er #tudentcode and #tudent "a##word G
If r#.= 8FH Then
#g0o5 GN &= &)S ABAI0L=G
i /=l#e
r#. o+eLa#t
i BalF id Fr#.8ield#FG#tcodeGH< 3< 4HH
=nd If
i i Y 1
If Fi M /H And Fi X -H Then
# GSTG ? G///G ? i
=l#eIf Fi M 1/H And Fi X --H Then
# GSTG ? G//G ? i
=l#e
If Fi M 1//H And Fi X ---H Then
# GSTG ? G/G ? i
=l#e
=nd If
=nd If =nd If
t5tid #
t5t"#w.Te5t GG
t5tnm.Te5t GG
66 of 101
8/16/2019 Mock Online Assessment
67/102
Mock Online Assessment
om,o1.Te5t GG
t5tmail.Te5t GG
t5t,date.Te5t GG
t5t#e5.Te5t GGt5taddre##.Te5t GG
t5tregno GG
t5t"#w.Set8ocu#
r#.AddNew
cmde5it.=na,led 8al#e
cmdmodi.=na,led 8al#e
cmd#a+e.=na,led True
EStatu#0ar1.Panel#F3H.Te5t G LI N SAB= 07TT N A8T=& )=TAILS G
=nd Su,
Pri+ate Su, 8orm6Acti+ateFH
cmd#a+e.=na,led 8al#e
cmdmodi.=na,led True
cmde5it.=na,led True
cmdadd.=na,led Truecmdadd.Set8ocu#
=nd Su,
Pri+ate Su, 8orm6LoadFH
Set N New A) )0. onnection
N.Pro+ider Gmicro#oft.jet.oled,.3. 1G
N. "en G); lourdu e5am.md,G
Set r# New A) )0.&ecord#etr#. "en G#tudentG< N< ad "en)!namic< adLock "timi#tic
t5tdate )ate
Edi#"la!
=nd Su,
67 of 101
8/16/2019 Mock Online Assessment
68/102
Mock Online Assessment
Pu,lic Su, di#"la!FH
t5tid.Te5t r#D#tcode
t5t"#w.Te5t r#D#t"#w
t5tnm.Te5t r#D#tnameom,o1.Te5t r#D'ualification
t5tdate.Te5t 8ormatFr#D)ate< G )) KKKKGH
t5t,date.Te5t 8ormatFr#Ddo,< G )) KKKKGH
t5tmail.Te5t r#Demail
t5t#e5.Te5t r#D#e5
t5taddre##.Te5t r#Daddre##
Et5tregno r#Dregi#terno
=nd Su,Pu,lic Su, clearFH
t5tid.Te5t GG
t5t"#w.Te5t GG
t5tnm.Te5t GG
om,o1.Te5t GG
t5tmail.Te5t GG
t5t,date.Te5t GG
t5t#e5.Te5t GGt5taddre## GG
t5tregno GG
=nd Su,
Pri+ate Su, Timer16TimerFH
Te5t1.Te5t Time
=nd Su,
ST7)=NT &=CIST&ATI N 8 &
)im r# A# A) )0.&ecord#et
68 of 101
8/16/2019 Mock Online Assessment
69/102
Mock Online Assessment
)im &S1 A# A) )0.&ecord#et
)im con A# A) )0. onnection
)im ST& A# String
)im i A# Integer )im # A# String
Pri+ate Su, cmde5am6 lickFH
ST7L CIN.Show
=nd Su,
Pri+ate Su, cmde5it6 lickFH
S=L= T7S=&.Show
=nd Su,
Pri+ate Su, cmdmodi6 lickFH
)im id A# String
id In"ut0o5FG=nter the #tudent codeG< GmodificationGH
r#. o+e8ir#t
)o 9hile r#.= 8 8al#e
If 7 a#eFidH 7 a#eFr#D#tcodeH Then
If r#.=dit ode ad=ditNone Then t5tid.Te5t r#D#tcode
t5t"#w.Te5t r#D#t"#w
t5tnm.Te5t r#D#tname
om,o1.Te5t r#D'ualification
t5tdate.Te5t 8ormatFr#D)ate< G )) KKKKGH
t5t,date.Te5t 8ormatFr#Ddo,< G )) KKKKGH
Et5t#e5.Te5t r#DS=@
t5tmail.Te5t r#Demail t5taddre##.Te5t r#Daddre##
t5tregno.Te5t r#D"hone
=nd If
69 of 101
8/16/2019 Mock Online Assessment
70/102
Mock Online Assessment
=5it )o
=l#e
r#. o+eNe5t
=nd If Loo"
cmd#a+e.=na,led True
cmd#a+e.Set8ocu#
cmdreg.=na,led 8al#e
cmde5it.=na,led 8al#e
cmdmodi.=na,led 8al#e
cmde5am.=na,led 8al#e
=nd Su,
Pri+ate Su, cmdreg6 lickFH
all clear
#g0o5 GK 7 S% 7L) &= = 0=& ST7)=NT )=< ST7)=NT
PASS9 &)G
If r#.= 8FH Then
#g0o5 GN &= &)S ABAI0L=G
i /=l#e
r#. o+eLa#t
i BalF id Fr#.8ield#FG#tcodeGH< 3< 4HH
=nd If
i i Y 1
If Fi M /H And Fi X -H Then
# GSTG ? G///G ? i
=l#eIf Fi M 1/H And Fi X --H Then
# GSTG ? G//G ? i
=l#e
If Fi M 1//H And Fi X ---H Then
70 of 101
8/16/2019 Mock Online Assessment
71/102
Mock Online Assessment
# GSTG ? G/G ? i
=l#e
=nd If
=nd If =nd If
t5tid #
t5t"#w.Te5t GG
t5tnm.Te5t GG
om,o1.Te5t GG
t5tmail.Te5t GG
t5t,date.Te5t GG
all loEt5t#e5.Te5t GG
t5taddre##.Te5t GG
t5tregno.Te5t GG
Et5tarea.Te5t GG
ET5tcit!.Te5t GG
Et5t#tate.Te5t GG
t5t"#w.Set8ocu#
r#.AddNewcmdreg.=na,led 8al#e
cmde5it.=na,led 8al#e
cmdmodi.=na,led 8al#e
cmd#a+e.=na,led True
Statu#0ar1.Panel#F3H.Te5t G LI N SAB= 07TT N A8T=& CIBINC
)=TAILS G
=nd Su,
Pri+ate Su, cmd#a+e6 lickFH
r#D#tcode t5tid.Te5t
r#D#t"#w t5t"#w.Te5t
71 of 101
8/16/2019 Mock Online Assessment
72/102
Mock Online Assessment
r#D#tname t5tnm.Te5t
r#D'ualification om,o1.Te5t
r#Demail t5tmail.Te5t
r#Ddo, t5t,date.Te5t Er#DS=@ t5t#e5.Te5t
r#Daddre## t5taddre##.Te5t
r#D"hone BalFt5tregno.Te5tH
Er#Du#area t5tarea.Te5t
Er#Du#cit! T5tcit!.Te5t
Er#Du##tate t5t#tate.Te5t
r#D)ate t5tdate.Te5t
r#.7"date #g0o5 FG!e#GH
cmdreg.=na,led 8al#e
cmd#a+e.=na,led 8al#e
cmdmodi.=na,led True
cmde5am.=na,led True
cmde5it.=na,led True
EStatu#0ar1.Panel#F3H.Te5t GK 7& I) IS &=AT=) GE5!;
E #g0o5 G K 7& 7S=&:I) IS AL&=A)K &=AT=) TA = S = T%=&
N7 0=& G
=nd Su,
Pri+ate Su, 8orm6Acti+ateFH
E )&=C.Set8ocu#
cmd#a+e.=na,led 8al#e
cmdmodi.=na,led Truecmde5am.=na,led 8al#e
cmde5it.=na,led True
cmdreg.=na,led True
cmdreg.Set8ocu#
72 of 101
8/16/2019 Mock Online Assessment
73/102
Mock Online Assessment
=nd Su,
Pri+ate Su, 8orm6LoadFH
Set con New A) )0. onnectioncon.Pro+ider Gmicro#oft.jet.oled,.3. 1G
con. "en G); lourdu e5am.md,G
Set r# New A) )0.&ecord#et
t5tdate.Te5t )ate
ETe5t1.Te5t Time
r#. "en G#tudentG< con< ad "en)!namic< adLockPe##imi#tic
)im m!"anel A# Panel
Statu#0ar1.Panel#.clear Set m!"anel Statu#0ar1.Panel#.AddF1< < < #,r)ateH
m!"anel.AutoSiJe #,rNoAutoSiJe
m!"anel.0e+el #,rIn#et
Set m!"anel Statu#0ar1.Panel#.AddF1< < < #,rTimeH
m!"anel.AutoSiJe #,rNoAutoSiJe
m!"anel.0e+el #,rIn#et
m!"anel.Alignment #,rLeft
Set m!"anel Statu#0ar1.Panel#.AddF3HStatu#0ar1.Panel#F3H.Te5t G9=L = T NLIN= =@A
Statu#0ar1.Panel#F3H.AutoSiJe #,rS"ring
Er#. lo#e
=nd Su,
EPri+ate Su, t5tnm6 hangeFH
E e!A#cii A#cF7 a#eF hrF e!A#ciiHHH
EIf e!A#cii 32 Then =5it Su, E If I#NumericF hrF e!A#ciiHH r 6
E F e!A#cii M 33 And e!A#cii X $4H r 6
E F e!A#cii M -1 And e!A#cii X -$H r 6
E F e!A#cii M 123 And e!A#cii X 12$H Then
73 of 101
8/16/2019 Mock Online Assessment
74/102
Mock Online Assessment
E e!A#cii /
E #tatu#0ar1.Panel#F3H.Te5t Gu#er name #hould ,e charecterG
E=nd If
E=nd Su,
Pri+ate Su, "tion16 lickFH
If "tion1.Balue True Then
r#D#e5 G AL=G
=nd If =nd Su,
Pri+ate Su, "tion26 lickFH
If "tion2.Balue True Then
r#D#e5 G8= AL=G
=nd If
=nd Su,
EPri+ate Su, t5tid6Lo#t8ocu#FH
E)im lo A# Integer
EIf t5tid.Te5t Like GZA:[ ZA:[ \\\\G XM True Then
Elo #g0o5FGIN &&= T )=G< +, nl!< GST PDDDDGH
Et5tid.Set8ocu#
E=nd If
E=nd Su,
Pri+ate Su, t5tnm6Cot8ocu#FH
If t5t"#w.Te5t GG Then
Statu#0ar1.Panel#F3H.Te5t G =NT=& PASS9 &) T%=N NA = G
#g0o5 G =NT=& PASS9 &) T%=N NA = G
74 of 101
8/16/2019 Mock Online Assessment
75/102
Mock Online Assessment
t5t"#w.Set8ocu#
=nd If
=nd Su,
Pri+ate Su, t5tnm6 e!Pre##F e!A#cii A# IntegerH
)im klr A# Integer
If Not hrF e!A#ciiH Like GZA:[ G Then
e!A#cii /
Statu#0ar1.Panel#F3H.Te5t G NLK ALP%A0=TS ALL 9=)G
klr #g0o5FG NLK ALP%A0=TS ALL 9=)G< +,Information< GL CI
IN8 T= %GH
=nd If =nd Su,
Pri+ate Su, t5tnm6Lo#t8ocu#FH
e!A#cii A#cF7 a#eF hrF e!A#ciiHHH
If e!A#cii 32 Then =5it Su,
If I#NumericF hrF e!A#ciiHH r 6
F e!A#cii M 33 And e!A#cii X $4H r 6
F e!A#cii M -1 And e!A#cii X -$H r 6 F e!A#cii M 123 And e!A#cii X 12$H Then
e!A#cii /
#g0o5 FGIN &&= T )ATAGH
Statu#0ar1.Panel#F3H.Te5t Gu#er name #hould ,e charecterG
=nd If
=nd Su,
Pri+ate Su, Timer16TimerFH
Te5t1.Te5t Time=nd Su,
Pu,lic Su, #hoFH
t5tid.Te5t r#D#tcode
75 of 101
8/16/2019 Mock Online Assessment
76/102
Mock Online Assessment
t5t"#w.Te5t r#D#t"#w
t5tnm.Te5t r#D#tname
om,o1.Te5t r#D'ualification
t5tdate.Te5t 8ormatFr#D)ate< G )) KKKKGHt5t,date.Te5t 8ormatFr#Ddo,< G )) KKKKGH
t5tmail.Te5t r#Demail
Et5t#e5.Te5t r#DS=@
all P
t5taddre##.Te5t r#Daddre##
t5tregno r#D"hone
Et5tarea.Te5t r#Du#area
ET5tcit!.Te5t r#Du#cit!Et5t#tate.Te5t r#Du##tate
=nd Su,
Pu,lic Su, clearFH
t5tid.Te5t GG
t5t"#w.Te5t GG
t5tnm.Te5t GG
om,o1.Te5t GGt5tmail.Te5t GG
t5t,date.Te5t GG
all lo
Et5t#e5.Te5t GG
t5taddre##.Te5t GG
t5tregno.Te5t GG
=nd Su,
Pri+ate Su, t5t"#w6Lo#t8ocu#FH
)im lo A# Integer
76 of 101
8/16/2019 Mock Online Assessment
77/102
Mock Online Assessment
If LenFt5t"#w.Te5tH X 3 Then
lo #g0o5FG INI 7 PASS9 &) L=NCT% IS 3 G< +,=5clamation<
GST PDDDGH
Statu#0ar1.Panel#F3H.Te5t G INI 7 PASS9 &) L=NCT% IS 3Gt5t"#w.Set8ocu#
=nd If
=nd Su,
Pri+ate Su, t5tregno6 e!Pre##F e!A#cii A# IntegerH
)im re# A# Integer
If Not hrF e!A#ciiH Like G\G Then
e!A#cii /Statu#0ar1.Panel#F3H.Te5t G NLK N7 =&I )ATA ALL 9=)G
re# #g0o5FG NLK N7 =&I )ATA ALL 9=)G< +,InformationH
=nd If
=nd Su,
Pri+ate Su, t5tregno6Lo#t8ocu#FH
)im lo A# Integer
If LenFt5tregno.Te5tH XM $ ThenStatu#0ar1.Panel#F3H.Te5t GP% N= N7 0=& 7ST 0= $ INT=C=&SG
lo #g0o5FGP% N= N7 0=& 7ST 0= $ INT=C=&SG< +,=5clamation<
GST PDDDGH
t5tregno.Set8ocu#
=nd If
=nd Su,
Pu,lic Su, PFH
If r#D#e5 G AL=G Then
"tion1.Balue True
=l#e
77 of 101
8/16/2019 Mock Online Assessment
78/102
Mock Online Assessment
"tion2.Balue True
=nd If
=nd Su,
Pu,lic Su, loFH
"tion1.Balue 8al#e
"tion2.Balue 8al#e
=nd Su,
ST7)=NT L CIN 8 &
)im a A# Bariant)im ST& A# String
)im N A# A) )0. onnection
)im r# A# A) )0.&ecord#et
Pri+ate Su, cmdcon6 lickFH
EIf t5t"#w.Te5t GG Then
E #g0o5 G enter "a##wordG
Et5t"#w.Set8ocu#
E=5it Su,E=nd If
EST& G S=L= T W from #tudent where #tcode EG ? t5tid.Te5t ? GEG ? G And #t"#w
EG ? t5t"#w.Te5t ? GEG
ST& G S=L= T W from #tudent where #tcode EG ? t5tid.Te5t ? GEG ? G AN)
#tname EG ? t5tnm.Te5t ? GEG ? G AN) #t"#w EG ? t5t"#w.Te5t ? GEG
r#. "en ST&< N< ad "en)!namic< adLock "timi#tic
If r#.= 8 And r#.0 8 Then
#g0o5 G =NT=& )ATA &&= TLK G r#. lo#e
t5tid.Set8ocu#
t5tid.Te5t GG
t5tnm.Te5t GG
78 of 101
8/16/2019 Mock Online Assessment
79/102
Mock Online Assessment
t5t"#w.Te5t GG
=5it Su,
=l#e
AIN.#tcode t5tid.Te5t AIN.#tname t5tnm.Te5t
If AIN. PT 3 Then
)I8orm1. N68A .=na,led 8al#e
E )I8orm1. N6=@A .=na,led 8al#e
)I8orm1. N6&=P .=na,led 8al#e
)I8orm1.Show
=l#eIf AIN. PT 2 Then )I8orm1. N6A) IN.=na,led 8al#e
E )I8orm1. N6=@A .=na,led 8al#e
)I8orm1.Show
=l#eIf AIN. PT 1 Then
cmdcre.=na,led True
E )7L=.Show
L ).Show
=nd If =nd If
=nd Su,
Pri+ate Su, cmdcre6 lickFH
ST7)=NT.Show
=nd Su,
Pri+ate Su, ommand16 lickFH
P&=&=S7LT.Show
=nd Su,
79 of 101
8/16/2019 Mock Online Assessment
80/102
Mock Online Assessment
Pri+ate Su, 8orm6Acti+ateFH
If AIN. PT 1 Then
#g0o5 G =NT=& ST7)=NT )=< NA =< PASS9 &) G
=5it Su, =nd If
=nd Su,
Pri+ate Su, 8orm6LoadFH
Set N New A) )0. onnection
N.Pro+ider Gmicro#oft.jet.oled,.3. 1G
N. "en G); T!"e of "roject e5am e5am e5am.md,GSet r# New A) )0.&ecord#et
)im m!"anel A# Panel
Statu#0ar1.Panel#.clear
Set m!"anel Statu#0ar1.Panel#.AddF1< < < #,r)ateH
m!"anel.AutoSiJe #,rNoAutoSiJe
m!"anel.0e+el #,rIn#et
Set m!"anel Statu#0ar1.Panel#.AddF2< < < #,rTimeH
m!"anel.AutoSiJe #,rNoAutoSiJem!"anel.0e+el #,rIn#et
m!"anel.Alignment #,rLeft
Set m!"anel Statu#0ar1.Panel#.AddF3H
Statu#0ar1.Panel#F3H.Te5t G=NT=& ST7)=NT )=< ST7)=NT NA =<
ST7)=NT PASS9 &) &&= TLKG
Statu#0ar1.Panel#F3H.AutoSiJe #,rS"ring
ESet m!"anel Statu#0ar1.Panel#.AddF4H
EStatu#0ar1.Panel#F4H.Te5t Genter id
8/16/2019 Mock Online Assessment
81/102
Mock Online Assessment
=nd Su,
Pri+ate Su, Timer16TimerFHLa,el .0ack olor &C0F&nd W 221< &nd W 223< &nd W 222H
La,el . o+e a
a a Y 1//
If a 12/// Then
a 1//
=nd If
=nd Su,
81 of 101
8/16/2019 Mock Online Assessment
82/102
Mock Online Assessment
Sna!&S'ot
FIGURE 1:
ST3RTING FOR/ OF T7E 8RO9E4T
82 of 101
8/16/2019 Mock Online Assessment
83/102
Mock Online Assessment
FIGURE ":
LO3DING FOR/ OF T7E 8RO9E4T
83 of 101
O()*(+ +,AM
8/16/2019 Mock Online Assessment
84/102
Mock Online Assessment
FIGURE $:
SELE4TING T7E USER FOR/
84 of 101
8/16/2019 Mock Online Assessment
85/102
Mock Online Assessment
FIGURE (:
STUDENT LOGIN FOR/ FOR ENTERING ON LINE EX3/
85 of 101
WEL COME TO ONLINE EXAM
8/16/2019 Mock Online Assessment
86/102
Mock Online Assessment
FIGURE *:
EX3/IN3TION DET3ILS
86 of 101
8/16/2019 Mock Online Assessment
87/102
Mock Online Assessment
FIGURE +:
FOR/ TO RE
8/16/2019 Mock Online Assessment
88/102
Mock Online Assessment
FIGURE .:
/DI FOR/
88 of 101
8/16/2019 Mock Online Assessment
89/102
Mock Online Assessment
FIGURE !:
LOGIN FOR/ FOR 3D/INISTR3TOR 3ND ST3FF
FIGURE 0:
UESTION 838ER FOR/
89 of 101
8/16/2019 Mock Online Assessment
90/102
Mock Online Assessment
FIGURE 12:
RE8ORT OF T7E STUDENT RESULT
90 of 101
8/16/2019 Mock Online Assessment
91/102
Mock Online Assessment
FIGURE 11:
FOR/ TO
8/16/2019 Mock Online Assessment
92/102
Mock Online Assessment
FIGURE 1":
D3T3 RE8ORT OF T7E STUDENT RESULT
92 of 101
8/16/2019 Mock Online Assessment
93/102
8/16/2019 Mock Online Assessment
94/102
Mock Online Assessment
94 of 101
8/16/2019 Mock Online Assessment
95/102
Mock Online Assessment
95 of 101
8/16/2019 Mock Online Assessment
96/102
Mock Online Assessment
FIGURE 1(:
STUDENT DET3ILS FOR/
96 of 101
8/16/2019 Mock Online Assessment
97/102
Mock Online Assessment
-esting
97 of 101
8/16/2019 Mock Online Assessment
98/102
Mock Online Assessment
TESTING
The common o+er+iew of te#ting held ,! u#er# i# that it i# "erformed to "ro+e
that there are no error# in a "rogram. Thi# i# e5tremel! difficult #ince de#igner cannot "ro+e to ,e one hundred "ercent accurate. Therefore< the mo#t u#eful and "ractical
a""roach i# with under#tanding that te#ting i# the "roce## of e5ecuting a "rogram with
e5"licit intention of finding error# that make the "rogram fail.
Te#ting ha# it# own c!cle. The te#ting "roce## ,egin# with the "roduct
re'uirement# "ha#e and from there "arallel# the entire de+elo"ment "roce##. In other
word#< for each "ha#e of the de+elo"ment "roce## there i# an im"ortant te#ting
acti+it!. Succe##ful te#ting re'uire# a methodical a""roach. It re'uire# focu#ing on ,a#ic critical factor#;
• Planning
• Project and "roce## control
• &i#k management
• In#"ection#
• ea#urement tool#• rganiJation and "rofe##ionali#m
Te#t "lan;
0efore going for te#ting< fir#t we ha+e to decide u"on the t!"e of te#ting to ,e carried
out. The following factor# are taken into con#ideration#;
• To en#ure that information "ro"erl! flow# into and out of "rogram
• To find out whether the local data #tructure# maintain# it# integrit!
during all #te"# in an algorithm e5ecution.
98 of 101
8/16/2019 Mock Online Assessment
99/102
Mock Online Assessment
• To en#ure that the module o"erate "ro"erl! at ,oundarie# e#ta,li#hed
to limit or re#trict "roce##ing.
• To find out whether error > handling "ath# are working correctl! or not
• To find out whether the +alue# are correctl! u"dated or not
• heck for +alidation#.
7nit Te#ting; 7nit or module te#ting i# the "roce## of te#ting the indi+idual
com"onent# F#u,"rogram# or "rocedure#H of a "rogram. The "ur"o#e i# to di#co+er
di#cre"ancie# ,etween the module# interface #"ecification and it# actual ,eha+ior.
Integration te#ting
Integration te#ting i# the "roce## of com,ining and te#ting multi"le
com"onent# together. The "rimar! o,jecti+e of integration te#ting i# to di#co+er error#
in the interface# ,etween the com"onent#. In our #!#tem each of the module#
mentioned a,o+e are te#ted for checking the integration ,etween them< after each of
them are te#ted indi+iduall!.
99 of 101
8/16/2019 Mock Online Assessment
100/102
Mock Online Assessment
4ON4LUSION
The "roject entitled ock nline A##e##ment ha# ,een #ucce##full!de+elo"ed and im"lemented. The te#ting wa# carried out ,! di+iding the "roject into
different module#.
The "ur"o#e of thi# "roject wa# ea#il! #ol+ed ,! "ro+iding #oftware that could
"ro+ide the facilit! to the #tudent# to interact with the #oftware and can a""ear for
online e5am and get in#tant re#ult within #econd#. The#e "roject# interact with
different u#er# #uch a# admini#trator where he i# re#"on#i,le for data,a#e record#.
Staff i# re#"on#i,le for "re"aring 'ue#tion and e+aluating the re#ult.
100 of 101
8/16/2019 Mock Online Assessment
101/102
Mock Online Assessment
.i"liog$a!'y
• Training from the Source
0! hri#tine Annwn Page< hri#tine Page
101 of 101
8/16/2019 Mock Online Assessment
102/102
Mock Online Assessment
• Teach !our#elf +i#ual ,a#ic A""lication )e+elo"ment in 21 )a!#
0! Rohn &a!
• The om"lete IdiotE# Cuide to +i#ual ,a#ic $./.
0! )a+id arlin#
• Bi#ual ,a#ic $./ 0lack 0ook; The ProgrammerE# om"lete &eference 0ook
0! Ste+en %olJner