CSC102 Questions 100%
CSC102 Questions 100%
Vi
sual
BASI
Cisan_
___
___
___
___
___
___
_language.
A.abst
ract
B.ev
entdr
iven+++
C.obsol
ete
D.opensour
ce
2. I
nVi
sual
BASI
C,t
hecodei
sent
eredi
nthe_
___
___
___
___
___
__.
A.desi
gnpanel
B.pr
oper
ti
est
ool
box
C.f
il
emenu
D.codi
ngpanel
+++
3. Whenr
unni
ngaVi
sual
BASI
Ccode,
theout
puti
sdi
spl
ayedi
nthe_
___
___
___
___
___
__.
A.desi
gnpanel
+++
B.pr
oper
ti
est
ool
box
C.f
il
emenu
D.codi
ngpanel
4. Tor
unaVi
sual
BASI
Cpr
ogr
am,
wecanpr
esst
he_
___
_but
tonont
hekey
boar
d.
A.F1
JOMO
B.F3
C.F5+++
D.CTRL+F5
5. Whati
sthef
ull
meani
ngofOOP?
A.Obj
ectOnl
yPr
ogr
ammi
ng
B.Obj
ectOr
ient
edPr
ogr
ammi
ng+++
C.Opt
ional
Obj
ectPr
ogr
ammi
ng
D.OpenOper
ati
onsPr
ogr
ammi
ng
6. Theacr
ony
m GUIst
andsf
or_
___
___
___
___
___
___
___
___
___
___
___
___
___
_.
A.Gr
aphi
cal
UserI
nter
face+++
B.Gr
aphi
cal
Uti
l
ityI
nter
face
C.Gr
aphi
cal
Uti
l
ityf
orI
nter
act
ion
D.Gr
aphi
cal
UserI
nter
act
ion
7. Whati
sthef
ull
meani
ngofI
DE?
A.I
ntegr
atedDesi
gnEnv
ironment
B.I
ntegr
atedDev
elopmentEnv
ironment
+++
C.I
nter
iorDev
elopmentEnv
ironment
D.I
ndust
ri
alDesi
gnEnv
ironment
8. TheVi
sual
BASI
CIDEhast
hef
oll
owi
ngcomponent
s,EXCEPT
A.St
artMenu+++
B.Sol
uti
onExpl
orer
C.Tool
box
D.Desi
gnPanel
9. Vi
sual
BASI
Cisa_
___
___
___
___
___
___
___
___
___
___
_language.
A.machi
ne
B.hi
gh-
lev
el+++
C.l
owl
evel
D.mi
d-l
evel
10. I
nVi
sual
BASI
C,_
___
___
___
_ar
eti
edt
otheoccur
renceofev
ent
s.
A.act
ions+++
B.opt
ions
C.cl
i
cks
D.i
nput
s
11. Thef
oll
owi
ngar
emaj
orcomponent
soft
heVi
sual
BASI
Cdesi
gnpanel
,EXCEPT
A.Codi
ngPanel
+++
B.For
m Panel
C.Pr
oper
ti
esWi
ndow
D.MenuBar
12. Vi
sual
BASI
Cfor
m cont
rol
scanbef
oundont
he_
___
___
___
___
___
.
A.t
ool
bar
+++
B.menubar
C.pr
oper
ti
eswi
ndow
D.desi
gnpanel
13. Thef
eat
uresofVi
sual
BASI
Ctool
scanbechangedi
nit
s__
___
___
___
___
___
___
___
___
__.
A.pr
oper
tywi
ndow+++
B.f
eat
ureswi
ndow
C.char
act
eri
sti
cswi
ndow
D.t
ool
bar
14. I
nVi
sual
Basi
c,t
hepr
ojectnameal
way
sappear
sint
he_
___
___
___
___
___
___
__.
A.pr
oper
tywi
ndow
B.i
nter
medi
atewi
ndow
C.codepanel
D.t
it
lebar
15. Whi
choft
hef
oll
owi
ngcannotbef
oundi
ntheVi
sual
Basi
ctool
bar
?
A.Pi
ctur
ebox
B.Checkbox
C.Li
stbox
D.Compi
l
ebut
ton+++
16. I
nVi
sual
Studi
o6,
thepr
oper
tywi
ndowi
susual
l
yatt
he_
___
___
___
___
___
___
__oft
he
wi
ndow.
A.r
ighthandsi
de+++
B.l
efthandsi
de
C.bot
tom
D.l
eftcor
ner
17. I
nVi
sual
Basi
c,eacht
ool
isr
efer
encedbyi
ts_
___
___
__.
A.pr
oper
ti
es
B.name+++
C.number
D.code
18. AGUI
A.usesbut
tons,
menusandi
cons
B.shoul
dbei
nter
act
ive
C.st
andsf
orGr
aphi
cal
UserI
nter
face
D.Al
loft
heabov
e+++
19. Theacr
ony
m BASI
Cst
andsf
or_
___
___
___
___
___
___
___
___
___
___
___
___
___
___
___
___
___
___
.
A.Bel
i
evabl
eAndSi
mpl
eInst
ruct
ionCode
B.Begi
nner
s’Al
l
-pur
poseSy
mbol
i
cInst
ruct
ionCode+++
C.Begi
nner
s’Av
ail
abl
eSi
mpl
eInst
ruct
ionCode
D.Begi
nner
s’Al
l
-pur
poseSi
mpl
eInst
ruct
ionCode
20. Vi
sual
Basi
cisr
egar
dedasa
A.l
owl
evel
language
B.f
ir
st-
gener
ati
onl
anguage
C.hi
gh-
lev
ell
anguage+++
D.machi
nel
anguage
21. Anal
gor
it
hm i
s
A.amat
hemat
ical
for
mul
athatsol
vesapr
obl
em.
B.aser
iesofgi
mmi
cksi
nwr
it
ingcode.
C.al
ogi
cal
sequenceofst
epst
hatsol
veapr
obl
em.
+++
D.at
ool
thatdesi
gnscomput
erpr
ogr
amsanddr
awst
heuseri
nter
face.
22. Whatwoul
dbeagoodVi
sual
Basi
ctool
toacceptt
hei
nputofaper
son’
sfi
rstname?
A.CommandBut
ton
B.Label
Box
C.TextBox+++
D.CheckBox
23. Whi
choft
hef
oll
owi
ngi
sNOToneoft
het
hreebasi
cty
pesofst
atementst
ruct
ures?
A.Sequence+++
B.Loop
C.Deci
sion/
Branchi
ng
D.I
nput
/Out
put
24. Whi
choneoft
hef
oll
owi
ngi
sNOToneoft
het
hreemai
nty
pesofer
ror
s?
A.Sy
ntaxer
ror
B.Logi
cer
ror
JOMO
C.Decl
arat
ioner
ror
+++
D.Run-
ti
meer
ror
25. Vi
sual
Studi
opr
ovi
deswhi
chf
eat
ure:
A.debuggi
ng
B.appl
i
cat
iondepl
oyment
C.sy
ntaxchecki
ng
D.Al
loft
heabov
e+++
26. Whi
char
ethest
andar
dpr
efi
xesf
ort
het
extboxandl
abel
cont
rol
srespect
ivel
y?
A.t
exandl
bl
B.t
exandl
ab
C.t
xtandl
bl+++
D.t
xbandl
ab
27. Whi
cht
aski
saccompl
i
shedi
ntheCodeedi
tor
?
A.Addi
ngf
ormst
othepr
oject
B.Addi
ngcont
rol
stot
hef
orm
C.Addi
ngev
entpr
ocedur
est
othef
orm+++
D.Al
loft
heabov
e
28. Whi
cht
aski
saccompl
i
shedi
ntheCodeedi
tor
?
A.Addi
ngf
ormst
othepr
oject
B.Addi
ngcont
rol
stot
hef
orm
C.Addi
ngev
entpr
ocedur
est
othef
orm+++
D.Al
loft
heabov
e
29. Whi
chi
sNOTt
rueaboutf
ormsandcont
rol
sinVi
sual
Basi
c?abst
ract
A.Theyar
epr
e-bui
l
t
B.Theyar
egr
aphi
cal
obj
ect
s
C.Newv
ersi
onsoft
hecl
assesmustbecr
eat
edwi
theachpr
oject
+++
D.But
tonscanbecr
eat
edwi
tht
hedr
aganddr
opmet
hod
30. Whi
chpr
oper
tydet
ermi
neswhet
heracont
rol
isdi
spl
ayedt
otheuser
?
A.Hi
de
B.Show
C.Vi
sibl
e+++
D.Enabl
ed
31. I
nev
ent
-dr
ivenpr
ogr
ammi
nganev
enti
sgener
atedby
:
A.t
hesy
stem
B.auser
’sact
ion
C.t
hepr
ogr
am i
tsel
f
D.Al
loft
heabov
e+++
32. Whi
chi
sNOTacommoncont
rol
eventi
nVi
sual
Basi
c?
A.Cl
i
ck
B.Doubl
eCl
i
ck
C.Si
ngl
eCl
i
ck+++
D.MouseMov
e
33. Whi
chi
snotani
ntegerdat
aty
pe?
A.St
ri
ng+++
B.By
te
C.Shor
t
D.Long
34. Whi
chi
sanumer
icdat
aty
pe?
A.Fl
oat
ingpoi
nt
B.I
nteger
C.St
ri
ng
D.Bot
hA.andB.
+++
35. Whi
chi
sav
ali
dst
atementf
ordecl
ari
ngav
ari
abl
e?
A.ConstSum AsI
nteger
B.Constmy
Sum asI
nteger
C.Di
m my
Sum asI
nteger
+++
D.Al
loft
heabov
e
36. TheEndI
fst
atementi
srequi
red:
A.i
nal
lIf…Thenst
atement
s
B.i
nal
lIf…Thenbl
ockswi
thEl
se+++
C.i
nSi
ngl
eLi
nest
atement
s
D.Al
loft
heabov
e
37. Do.
..Loopi
sani
ter
ati
vest
atementbecausei
t:
A.sel
ect
sabl
ockofst
atement
stor
un
B.r
unst
hesamebl
ockofst
atement
srepeat
edl
y+++
C.sel
ect
sabl
ockofst
atement
sandr
unsi
trepeat
edl
y
D.r
unst
hesamebl
ockofst
atement
stwi
ce
38. Whi
chi
sNOTat
ypeofer
rorpr
ogr
ammer
slookf
or?
A.Logi
cer
ror
s
B.Runt
imeer
ror
s
C.Super
fi
cial
err
ors
D.Sy
ntaxer
ror
s
39. Whi
chact
ionwi
l
lgi
vear
unt
imeer
ror
?
A.Di
vi
dingbyzer
o
B.Assi
gni
ngt
hest
ri
ng“
Hel
l
o,wor
ld”t
oani
ntegerv
ari
abl
e
C.Bot
hA.andB.abov
e+++
D.Noneoft
heabov
e.
40. Whi
choft
hef
oll
owi
ngwi
l
lret
urnt
henumberofel
ement
sint
hear
rayScor
es?
A.Scor
es.
Dimensi
on
B.Scor
es.
Lengt
h+++
C.Scor
es.
Size
D.Scor
es.
Number
41. Thecol
orofabut
toni
s:
A.oneofi
tspr
oper
ti
es+++
B.oneofi
tsmet
hods
C.def
inedi
nthepr
oject
D.notupdat
eabl
e
42. I
nVi
sual
Basi
c,t
henameofaLabel
boxcanbechangedi
nthe:
A.pr
oper
tywi
ndow
B.codeedi
tor
C.Bot
hA.andB.abov
e+++
D.Noneoft
heabov
e
43. Todesi
gnaf
ormt
oaddt
wonumber
sinVi
sual
Basi
c,t
hef
oll
owi
ngar
eimpor
tant
except
A.Label
B.Text
box
C.But
ton
D.Checkbox+++
44. Thef
oll
owi
ngv
ari
abl
edecl
arat
ionsar
ecor
rectEXCEPT
A.Di
m number
1AsSi
ngl
e
B.Di
m Sum AsSi
ngl
e
C.Bot
hA.andB.abov
e
D.Noneoft
heabov
e+++
45. Thepr
ocessofchecki
ngf
orandcor
rect
inger
ror
sinapr
ogr
am codei
scal
l
ed
_
___
___
___
___
.
A.sni
ff
ing
B.debuggi
ng+++
C.di
sinf
ect
ing
D.i
nspect
ing
46. The_
___
_key
wor
disusedi
nVi
sual
Basi
cforv
ari
abl
edecl
arat
ion.
A.Di
m+++
B.Var
C.Set
D.Noneoft
heabov
e
47. Vi
sual
Basi
cappl
i
cat
ionsar
edr
awni
nthe_
___
___
___
___
___
_.
A.pr
ojectexpl
orer
B.f
orm wi
ndow+++
C.t
ool
box
D.pr
oper
ti
eswi
ndow
48. The_
___
___
___
___
__wi
ndowshowswher
ethef
orm wi
l
lbedi
spl
ayedr
elat
ivet
o
A.f
orm
B.pr
oper
ti
es
C.f
orml
ayout
+++
D.moni
tor
49. The_
___
___
___
___
___
___
__wi
ndowdi
spl
aysal
lfor
msandmodul
esmaki
ngupy
our
appl
i
cat
ion.
A.pr
oject
+++
B.pr
oper
ti
es
C.f
orml
ayout
D.f
orm
50. I
nVi
sual
Basi
c,t
heOpt
ionExpl
ici
tbst
atement
A.al
l
owssomev
ari
abl
etobel
eftundecl
ared
B.f
orcesust
odecl
areal
lvar
iabl
es+++
C.aut
omat
ical
l
ydecl
aresal
lvar
iabl
esusedi
nthepr
ogr
am
D.Al
loft
heabov
e
51. Whi
chi
sthecor
rectst
atementf
ordef
ini
ngaconst
antnamedPIi
nVi
sual
Basi
c?
A.St
ri
ngPI=3.
14159
B.ConstPI=3.
14159+++
C.ContPI=3.
14159
D.Noneoft
heabov
e