Sensi T I VI T Y:i NT Er Nal&rest R I CT Ed

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

1)I

nordert
oal
lowadropfeat
ureforHTML5element
,whichmethodshouldbe
i
nvokedi
ndr
agOver
()ev
entwhichprevent
sdef
aul
thandli
ngofelement
s.

a)ev
ent
.pr
event
DragOv
er(
)c)ev
ent
.pr
event
Drag(
)

b) ev
ent
.pr
event
Drop(
) d)ev
ent
.pr
event
Def
aul
t(
)

2)Whi
chev
entshoul
dbeusedwher
edr
aggeddat
acanbedr
opped?

a)<di
vid=”di
v1”ondr
op=”dr
op(
event
)></
div
>

b)<di
vid=”di
v1”ondr
agov
er=”Dr
op(
event
)></
div
>

c) <di
vid=”di
v1”ondr
agst
art=”Dr
op(
event
)></
div
>

d)<di
vid=”di
v1”ondr
agged=”Dr
op(
event
)></
div
>

3)Whi
chmet
hodi
susedt
ogetl
ocat
ionspeci
fi
cinf
ormat
ion?

a)get
Cur
rent
Locat
ion(
) b)get
Cur
rent
Posi
ti
on(
)

b)get
Cur
rent
Geol
ocat
ion(
)d)get
Cur
rent
GeoPhy
sical
Locat
ion(
)

4)Geol
ocat
ionpr
opercoor
ds.
speedi
smeasur
edi
nwhi
chr
epr
esent
eduni
t?

a)ki
l
omet
res/
secb)met
ers/
sec c)mi
l
li
met
res/
sec d)mi
l
es/
sec

5)Whi
chmet
hodi
susedt
ost
opt
hewat
chPosi
ti
on(
)met
hod?

a)stopwat
ch() b)cl
ear
Wat
ch(
) c)r
emov
eWat
ch(
) d)
delet
eWatch(
)

6)Howi
ssv
gtagr
epr
esent
edi
ncode?

a)<Scal
abl
eVect
orGr
aphi
cs> b)<sv
g> c)<Scal
abl
eVi
sual
Graphi
cs>d)
<x:
svg>

7)Whi
chel
ementdef
inesgr
aphi
csi
nXMLf
ormat
?

a)<canv
as> b)<pr
ogr
ess>c)<sv
g> d)<out
put
>

8)The<pat
h>el
ementi
susedt
odef
ineapat
hand“
T”commandar
eav
ail
abl
efor

a)quadr
ati
ccur
ve b)El
l
ipt
ical
Arc

b)smoot
hcur
vet
o d)smoot
hquadr
ati
ccur
vet
o

Sensi
ti
vi
ty:
Int
ernal
&Rest
ri
cted
9)Thebl
uref
fecti
sdef
inedwi
th_
_el
ement
?

a)<f
eImage>b)<f
eTi
l
e> c)<f
eDi
stant
Light
> d)<f
eGuassi
anBl
ur>

10)HTML5SVGi
susedt
odef
ine_
_fort
heweb

a)Sect
orbasedb)Semant
icbasedc)Scal
arbased d)Vect
orbased

11)SVGi
s__

a)Onl
yev
eryat
tri
but
einSVGf
il
ecanbeani
mat
ed

b)Onl
yev
eryel
ementi
nSVGf
il
ecanbeani
mat
ed.

c) Ev
eryel
ement&At
tri
but
einSVGf
il
ecanbeani
mat
ed.

d)Fewel
ement
sbutev
eryat
tri
but
einSVGcanbeani
mat
ed.

12)Whati
sthecodesy
ntaxt
oremov
ethev
alue“
Account
Number
”fr
om l
ocal
Stor
age?

a)l
ocal
Stor
age[
“Account
Number
”]
.r
emov
eIt
em(
)

b)l
ocal
Stor
age.
remov
eIt
em(
“Account
Number
”)

c) l
ocal
Stor
age[
“Account
Number
”]
.r
emov
e()

d)l
ocal
Stor
age(
“Account
Number
”).
remov
e()

13)Whatar
ethedi
ff
erentt
ypesofst
oragei
nHTML5?

a)l
ocal
Stor
ageandsessi
onSt
oragec)l
ocal
Stor
ageandser
ver
Stor
age

b)per
sonal
Stor
ageandl
ocal
Stor
age d)per
soal
Stor
ageandser
ver
Stor
age

14)whati
sthecodesy
ntaxt
osetl
ocal
Stor
agev
alueas“
TopupAssi
gnment
”to

examtype”

a)l
ocal
Stor
ageobj=new
l
ocal
Stor
age(
);
obj
.addI
tem(
“examt
ype”
,”
TopupAssi
gnment
”);

b)<local
Stor
age><addkey=“ examtype”v
alue=
“TopupAssignment
”></
localStor
age>

c) l
ocal
Stor
age.
set
It
em(
“examt
ype”
,”
TopupAssi
gnment
”);

d)l
ocal
Stor
ageobj
=newl
ocal
Stor
age(
“examt
ype”
,”
TopupAssi
gnment
”);

Sensi
ti
vi
ty:
Int
ernal
&Rest
ri
cted
15)Whi
char
eval
i
dHTML5webst
orageobj
ectf
orst
ori
ngdat
a?

a)Ser
ver
.l
ocal
Stor
age,
cli
ent
.per
sonal
Stor
age

b)Wi
ndow.
per
sonal
Stor
age,
ser
ver
.l
ocal
Stor
age

c) Wi
ndow.
local
Stor
age,
code.
sessi
onSt
orage

d)Ser
ver
.l
ocal
Stor
age,
code.
per
sonal
Stor
age

16)Whi
chel
ementdoesnotsuppor
tHTML5?

a)<basef
ont
> b)<ar
ea> c)<body
> d)<command>

17)The<dt
>tagi
susedi
nconj
uct
ionwi
th

a)<dl
>(descr
ibedescr
ipt
ionl
i
st)<dd>(
descr
ibeseacht
erm/
name)

b)<dl
>(descr
ibeseacht
erm/
name)
<dd>(
descr
ibedescr
ipt
ionl
i
st)

c) <dd>(
descr
ibeseacht
erm/
namef
rom descr
ipt
ionl
i
st)

d)<dl
>(descr
ibeseacht
erm/
name)

Not
e:The<dt
>tagdef
inesat
erm/
namei
nadescr
ipt
ionl
i
st.

The<dt>t
agi susedi
nconjunct
ionwi
th 
<dl
> (
def
inesadescr
ipt
ionl
i
st)
and 
<dd> 
(descri
beseacht
erm/name).

18)The_
_tagspeci
fi
est
extt
hati
snol
ongercor
rect
,accur
ateorr
elev
ant

a)<i
> b)<b> c)<u> d)<s>

19)Whi
chel
ementi
susedf
ordi
spl
aymov
iecont
ent

a)<st
ream wi
dth=”
320”hei
ght=“
240”></
str
eam>

b)<pi
ctur
ewi
dth=”
320”hei
ght=“
240”></
pict
ure>

c) <v
ideowi
dth=”
320”hei
ght=“
240”></v
ideo>

d)<mov
iewi
dth=”
320”hei
ght=“
240”></
mov
ie>

20)<canv
as>el
ementdef
inesgr
aphi
csdr
awi
ngusi
ng

a)Jav
ascr
iptb)Jquer
y c)XMLd)DOM

21)I
nor
dert
oal
l
owadr
opf
eat
uref
orHTML5el
ement
,whi
chmet
hodshoul
dbe

Sensi
ti
vi
ty:
Int
ernal
&Rest
ri
cted
i
nvokedi
ndr
agOv
er(
)ev
entwhi
chpr
event
sdef
aul
thandl
i
ngofel
ement
s.

a)ev
ent
.pr
event
DragOv
er(
) c)ev
ent
.pr
event
Drag(
)

b)ev
ent
.pr
event
Drop(
) d)ev
ent
.pr
event
Def
aul
t()

22)Whi
chev
entshoul
dbespeci
fi
edi
n<i
mg>t
agf
orwhatdat
atobedr
agged?

a)Ondr
agOv
er(
)b)ondr
agSt
art
()c)ondr
op(
) d)
ondr
ag(
)

23)Whatdoeswat
chPosi
ti
on(
)isusedf
or?

a)r
etur
nscur
rentposi
ti
onofuser

b)r
etur
nst
hecur
rentposi
ti
onofuserandal
ert
swhenmov
es

c) r
etur
nsthecur
rentposi
ti
onandcont
inuest
oret
urnupdat
edposi
ti
onasuser
moves

d)cl
ear
sthecur
rentposi
ti
onoft
heuser

24)Geol
ocat
ionpr
opercoor
ds.
alt
it
udei
smeasur
edi
nwhi
chr
epr
esent
eduni
t?

a)meter
sabov
ethemeanseal
evel b)met
ersbel
owt
hemeansea
l
evel

c)ki
l
omet
reabov
ethemeanseal
evel d)t
imeabov
etheseal
evel

25)Geol
ocat
ionpr
opercoor
ds.
speedi
smeasur
edi
nwhi
chr
epr
esent
eduni
t?

a)ki
l
ometres/
sec b)met
ers/
secc)mi
l
li
met
res/
sec d)
mil
es/
sec

26)The<pat
h>el
ementi
susedt
odef
ineapat
hand“
A”commandar
eav
ail
abl
efor

a)quadr
ati
ccur
ve c)El
l
ipt
ical
Arc

b)smoot
hcur
vet
o d)smoot
hquadr
ati
ccur
vet
o

27)HTML5SVGi
susedt
odef
ine_
_fort
heweb

a)Sect
orbasedb)Semant
icbasedc)Scal
arbased d)Vect
orbased

28)Howi
ssv
gtagr
epr
esent
edi
ncode?

b)<Scal
ableVect
orGr
aphi
cs> b)<sv
g> c)<Scal
abl
eVi
sual
Graphi
cs>
d)<x:
svg>

Sensi
ti
vi
ty:
Int
ernal
&Rest
ri
cted
29)Whi
chel
ementdef
inesgr
aphi
csi
nXMLf
ormat
?

a)<canv
as>b)<pr
ogr
ess> c)<sv
g> d)<out
put
>

30)InHTML5,
whi
chcanber
emember
ed,
mani
pul
atedandbr
owsercanr
enderi
t
agai
n

a)Sv
g b)canv
as c)out
put d)pr
ogr
ess

31)Whi
choft
hef
oll
owi
ngi
snott
ruei
nsv
gimage?

a)sVGimagescannotbesear
ched,i
ndexed,
scri
pted,
andcompr essed
b)SVGimagesarescal
able
c) SVGi
magescanbeprint
edwithhi
ghquali
tyatanyresol
uti
on
d)SVGimagesarezoomable

32)whati
sthecodesy
ntaxt
osetl
ocal
Stor
agev
alueas“
TopupAssi
gnment
”to

examtype”

a)l
ocal
Stor
ageobj=new
l
ocal
Stor
age(
);
obj
.addI
tem(
“examt
ype”
,”
TopupAssi
gnment
”);

b)<local
Stor
age><addkey=“ examtype”v
alue=
“TopupAssignment
”></
localStor
age>

c) l
ocal
Stor
age.
set
It
em(
“examt
ype”
,”
TopupAssi
gnment
”);

d)l
ocal
Stor
ageobj
=newl
ocal
Stor
age(
“examt
ype”
,”
TopupAssi
gnment
”);

33)Whi
char
efol
l
owi
ngi
str
ueaboutl
ocal
str
orage?

a)Server
.localStorageb)Code.
local
Stor
agec)Wi
ndow.
local
Stor
aged)
cl
ient.
localStorage

34)Whi
chst
orageobj
ectst
oresdat
awi
thnoexpi
rat
iondat
e?

a)l
ocal
Stor
age b)sessi
onSt
orage c)cl
i
ent
Stor
age d)codeSt
orage

35)Whati
sthecodesy
ntaxt
oret
ri
evet
hev
alue“
Account
Number
”fr
om l
ocal
Stor
age?

a)Vara=l
ocal
Stor
age.
get
It
em(
“Account
Number
”)

b)Vara=l
ocal
Stor
age.
ret
ri
eveI
tem(
“Account
Number
”)

Sensi
ti
vi
ty:
Int
ernal
&Rest
ri
cted
c) Vara=l
ocal
Stor
age[
“Account
Number
”]

d)Vara=l
ocal
Stor
age(
“Account
Number
”).
get
()

36)whicht
agdefinesa scal
armeasur
ement
 wi
thi
na 
knownr
ange,
oraf
ract
ional
val
uealso 
known asagauge.

a)f
ract
ion b)Met
er c)pr
ogr
ess d)measur
ement

37)whi
cht
agdef
inesa 
scal
armeasur
ement
 wi
thi
na 
knownr
ange

a)met
erb)pr
ogr
essc)t
ime d)command

38)<canv
as>el
ementdef
inesgr
aphi
csdr
awi
ngusi
ng

b)Jav
ascr
iptb)Jquer
y c)XMLd)DOM

39)<key
gen>t
agspeci
fi
esa_
___

a)publ
i
ckeyb)pr
ivat
ekeyc)keypai
r d)pr
ivat
ekey
/publ
i
ckey

40)The<dt
>tagi
susedi
nconj
uct
ionwi
th

a)<dl
>(descr
ibedescr
ipt
ionl
i
st)<dd>(
descr
ibeseacht
erm/
name)

b)<dl
>(descr
ibeseacht
erm/
name)
<dd>(
descr
ibedescr
ipt
ionl
i
st)

c) <dd>(
descr
ibeseacht
erm/
namef
rom descr
ipt
ionl
i
st)

d)<dl
>(descr
ibeseacht
erm/
name)

Sensi
ti
vi
ty:
Int
ernal
&Rest
ri
cted

You might also like