C777 WEB DEVELOPMENT
APPLICATIONS POST-ASSESSMENT
QUESTIONS WITH CORRECT ANSWERS
Which bof bthe bfollowing bstatements babout bHTML5 bis btrue? b- bCORRECT bANSWER
b✔✔HTML5 bdoes bnot brequire bthird-party bplug-ins bfor bvideo band baudio bcontent
What bis bthe bpurpose bof busing bthe b<output> belement bin ba bWeb bform? b-
bCORRECT bANSWER b✔✔It bdisplays bthe bresult bof ba bcalculation bin bthe bform
Why bare bsyntax berrors bso bcommon bwhen bwriting bJavaScript bcode? b- bCORRECT
bANSWER b✔✔Because bJavaScript bis bcase-specific
What bCSS3 bproperty bcan bbe bused bto bcreate brounded bcorners bon ban bimage bor
bother belement? b- bCORRECT bANSWER b✔✔border-radius
What btype bof bJavaScript bexpression bevaluates bto btrue bor bfalse? b- bCORRECT
bANSWER b✔✔Logical
Which bstatement bis btrue babout bJavaScript? b- bCORRECT bANSWER b✔✔JavaScript
bis bwidely bused bfor bclient-side band bserver-side bscripts
You bhave bcreated ba bWeb bpage busing bthe bHTML5 b<nav> bstructural belement bto
bdefine ba bnavigation barea. bConsider bthe bfollowing bexternal bstyle bsheet bcode:
nav b{
float:left;
width:165px;
background:#d8d8d8 burl(background.gif) btop bright;
height:662px;
}
Where bon bthe bpage bwill bthe bimage b(background.gif) bappear? b- bCORRECT
bANSWER b✔✔At bthe btop bright bof bthe bnav bsection
Kate bhas bcreated ba bcomplex bscript bthat bshe bwants bto battach bto bmultiple bHTML
bfiles, bbut bshe balso bwants bto badd ba bsimple bscript bto bonly bcertain bsections bof bone
bpage. bWhat bmust bshe bdo bto bapply bboth bscripts? b- bCORRECT bANSWER b✔✔She
, bmust buse bseparate b<script> belements bto bcall bthe bexternal bscript bfile band bto
bembed ba bseparate bscript
Vivi bis bcreating ba bWeb bpage bthat bwill ballow bher bemployees bto bupload btheir
btimesheets bto bthe bcompany bintranet. bWhat bHTML5 bAPI bcan bshe buse bto brestrict
buploads bto ba bspecific bfile btype? b- bCORRECT bANSWER b✔✔The bFile bAPI
Which bmethod bof bform binput bvalidation bis bsometimes breferred bto bas b"pogo-
sticking" band bmay blead bto busers bbecoming bfrustrated bor bimpatient bwith bthe bform?
b- bCORRECT bANSWER b✔✔Requiring busers bto bclick bSubmit bbefore bvalidation
boccurs
Which bHTML5 battribute bcan bhelp busers binput bvalid bform bdata bin bthe b<textarea>
belement bby bproviding bthe buser bwith ba bhint bidentifying bthe bexpected binput bin bthe
bfield? b- bCORRECT bANSWER b✔✔The bplaceholder battribute
Consider bthe bfollowing bcode:
<script>
var bv1 b= b"Blue";
function bf b()
{
v1 b= b"Green";
alert b(v1);
}
f();
alert b(v1);
</script>
What bis bthe bexpected bresult bwhen bthis bscript bis brun bin bthe bbrowser? b- bCORRECT
bANSWER b✔✔Two balert bboxes, bboth bdisplaying bthe bmessage bGreen
You bare ba bnovice bWeb bdeveloper, band byour bmentor bhas bsuggested bthat byou
bfamiliarize byourself bwith bHTML5 band bCascading bStyle bSheets b(CSS). bBeing
bsomewhat bunfamiliar bwith bCSS, byou bdiscover bthat bit bis: b- bCORRECT bANSWER
b✔✔a bWeb bdesign btechnology bthat benables byou bto bdetermine bhow bthe bHTML
belements bin byour bWeb bpages bwill bdisplay
Which bCSS bproperty bcan bcreate brectangles bwith brounded bcorners baround btext? b-
bCORRECT bANSWER b✔✔border-radius
Which bCSS bproperty bdefines bhow btext bshould bbe bhandled bwhen bit bextends
bbeyond bits ballotted barea? b- bCORRECT bANSWER b✔✔text-overflow
APPLICATIONS POST-ASSESSMENT
QUESTIONS WITH CORRECT ANSWERS
Which bof bthe bfollowing bstatements babout bHTML5 bis btrue? b- bCORRECT bANSWER
b✔✔HTML5 bdoes bnot brequire bthird-party bplug-ins bfor bvideo band baudio bcontent
What bis bthe bpurpose bof busing bthe b<output> belement bin ba bWeb bform? b-
bCORRECT bANSWER b✔✔It bdisplays bthe bresult bof ba bcalculation bin bthe bform
Why bare bsyntax berrors bso bcommon bwhen bwriting bJavaScript bcode? b- bCORRECT
bANSWER b✔✔Because bJavaScript bis bcase-specific
What bCSS3 bproperty bcan bbe bused bto bcreate brounded bcorners bon ban bimage bor
bother belement? b- bCORRECT bANSWER b✔✔border-radius
What btype bof bJavaScript bexpression bevaluates bto btrue bor bfalse? b- bCORRECT
bANSWER b✔✔Logical
Which bstatement bis btrue babout bJavaScript? b- bCORRECT bANSWER b✔✔JavaScript
bis bwidely bused bfor bclient-side band bserver-side bscripts
You bhave bcreated ba bWeb bpage busing bthe bHTML5 b<nav> bstructural belement bto
bdefine ba bnavigation barea. bConsider bthe bfollowing bexternal bstyle bsheet bcode:
nav b{
float:left;
width:165px;
background:#d8d8d8 burl(background.gif) btop bright;
height:662px;
}
Where bon bthe bpage bwill bthe bimage b(background.gif) bappear? b- bCORRECT
bANSWER b✔✔At bthe btop bright bof bthe bnav bsection
Kate bhas bcreated ba bcomplex bscript bthat bshe bwants bto battach bto bmultiple bHTML
bfiles, bbut bshe balso bwants bto badd ba bsimple bscript bto bonly bcertain bsections bof bone
bpage. bWhat bmust bshe bdo bto bapply bboth bscripts? b- bCORRECT bANSWER b✔✔She
, bmust buse bseparate b<script> belements bto bcall bthe bexternal bscript bfile band bto
bembed ba bseparate bscript
Vivi bis bcreating ba bWeb bpage bthat bwill ballow bher bemployees bto bupload btheir
btimesheets bto bthe bcompany bintranet. bWhat bHTML5 bAPI bcan bshe buse bto brestrict
buploads bto ba bspecific bfile btype? b- bCORRECT bANSWER b✔✔The bFile bAPI
Which bmethod bof bform binput bvalidation bis bsometimes breferred bto bas b"pogo-
sticking" band bmay blead bto busers bbecoming bfrustrated bor bimpatient bwith bthe bform?
b- bCORRECT bANSWER b✔✔Requiring busers bto bclick bSubmit bbefore bvalidation
boccurs
Which bHTML5 battribute bcan bhelp busers binput bvalid bform bdata bin bthe b<textarea>
belement bby bproviding bthe buser bwith ba bhint bidentifying bthe bexpected binput bin bthe
bfield? b- bCORRECT bANSWER b✔✔The bplaceholder battribute
Consider bthe bfollowing bcode:
<script>
var bv1 b= b"Blue";
function bf b()
{
v1 b= b"Green";
alert b(v1);
}
f();
alert b(v1);
</script>
What bis bthe bexpected bresult bwhen bthis bscript bis brun bin bthe bbrowser? b- bCORRECT
bANSWER b✔✔Two balert bboxes, bboth bdisplaying bthe bmessage bGreen
You bare ba bnovice bWeb bdeveloper, band byour bmentor bhas bsuggested bthat byou
bfamiliarize byourself bwith bHTML5 band bCascading bStyle bSheets b(CSS). bBeing
bsomewhat bunfamiliar bwith bCSS, byou bdiscover bthat bit bis: b- bCORRECT bANSWER
b✔✔a bWeb bdesign btechnology bthat benables byou bto bdetermine bhow bthe bHTML
belements bin byour bWeb bpages bwill bdisplay
Which bCSS bproperty bcan bcreate brectangles bwith brounded bcorners baround btext? b-
bCORRECT bANSWER b✔✔border-radius
Which bCSS bproperty bdefines bhow btext bshould bbe bhandled bwhen bit bextends
bbeyond bits ballotted barea? b- bCORRECT bANSWER b✔✔text-overflow