Name:ppp
p
Class:ppp
p
p
Date:ppp
p
p
p
Chapterp1p-pIntroductionptopJavascriptp
p
CopyrightpCengagepLearning.pPoweredpbypCognero.p
Pagep1p
p
1.pApkeypcharacteristicpthatpsetspscriptingplanguagespapartpfrompotherpprogrammingplanguag
espispthatp_____.p
pp
a.ppscriptingplanguagespmustpbepcompiledpbeforeptheypareprunp
pp
b.ppscriptingplanguagespareprunpdirectlypfrompapprogram,pnotpcompiledp
pp
c.ppnon-scriptingplanguagesprequirepanpinterpreterptoprunp
pp
d.ppnon-scriptingplanguagesparepnotpconvertedpintopmachinepcodep
ANSWER:ppp
bp
FEEDBACK:ppp
pp
a.ppIncorrect.pApscriptingplanguagepbelongsptopapsubcategorypofpprogrammingp
languagespthatpdopnotprequirepcompilingpbutpinsteadpareprunpdirectlypfrompap
programporpscript.pScriptingplanguagespneedptopbepinterpreted,pinpwhichpthepcodep
ispreadpline-by-linepbypanpinterpreterpthatpscanspthepcodepforperrorspevenpaspitpruns.p
Beforepthepinstructionspofpapnon-scriptingpprogrammingplanguagepcanpbep
performed,ptheypneedptopbepcompiled,papprocesspbypwhichpthosepinstructionsparep
transformedpintopmachinepcodepthatpcanpbepunderstoodpbypthepcomputerporp
computerpdevice.p
pp
b.ppCorrect.pApscriptingplanguagepbelongsptopapsubcategorypofpprogrammingp
languagespthatpdopnotprequirepcompilingpbutpinsteadpareprunpdirectlypfrompap
programporpscript.pScriptingplanguagespneedptopbepinterpreted,pinpwhichpthepcodep
ispreadpline-by-linepbypanpinterpreterpthatpscanspthepcodepforperrorspevenpaspitpruns.p
Beforepthepinstructionspofpapnon-scriptingpprogrammingplanguagepcanpbep
performed,ptheypneedptopbepcompiled,papprocesspbypwhichpthosepinstructionsparep
transformedpintopmachinepcodepthatpcanpbepunderstoodpbypthepcomputerporp
computerpdevice.p
pp
c.ppIncorrect.pApscriptingplanguagepbelongsptopapsubcategorypofpprogrammingp
languagespthatpdopnotprequirepcompilingpbutpinsteadpareprunpdirectlypfrompap
programporpscript.pScriptingplanguagespneedptopbepinterpreted,pinpwhichpthepcodep
ispreadpline-by-linepbypanpinterpreterpthatpscanspthepcodepforperrorspevenpaspitpruns.p
Beforepthepinstructionspofpapnon-scriptingpprogrammingplanguagepcanpbep
performed,ptheypneedptopbepcompiled,papprocesspbypwhichpthosepinstructionsparep
,transformedpintopmachinepcodepthatpcanpbepunderstoodpbypthepcomputerporp
computerpdevice.p
pp
d.ppIncorrect.pApscriptingplanguagepbelongsptopapsubcategorypofpprogrammingp
languagespthatpdopnotprequirepcompilingpbutpinsteadpareprunpdirectlypfrompap
programporpscript.pScriptingplanguagespneedptopbepinterpreted,pinpwhichpthepcodep
ispreadpline-by-linepbypanpinterpreterpthatpscanspthepcodepforperrorspevenpaspitpruns.p
Beforepthepinstructionspofpapnon-scriptingpprogrammingplanguagepcanpbep
performed,ptheypneedptopbepcompiled,papprocesspbypwhichpthosepinstructionsparep
transformedpintopmachinepcodepthatpcanpbepunderstoodpbypthepcomputerporp
computerpdevice.p
p
POINTS:ppp
1p
DIFFICULTY:ppp
Moderatep
REFERENCES:ppp
1.1pExploringpthepJavaScriptpLanguagep
QUESTIONpTYPE:ppp
MultiplepChoicep
HASpVARIABLES:ppp
Falsep
LEARNINGpOBJECTIVES:pppJASC.CARE.22.1.1.2p-pExplainpthepusepofpcompilerspandpcompilingp
KEYWORDS:ppp
Bloom's:pUnderstandp
DATEpCREATED:ppp
7/5/2021p2:07pPMp
DATEpMODIFIED:ppp
7/16/2021p12:02pPMp
p
p
2.pA(n)p_____ptransformspapsetpofpinstructionspwrittenpinpapprogrammingplanguagepintopmachi
nepcode,pwhichpcanpbep
understoodpbypapcomputer.p
DOWNLOADpTHEpTestpBankpforpJavaScriptpforpWebpWarriorsp7thpEditionpCarey
mynursytest.store
Name:ppp
p
Class:ppp
p
p
Date:ppp
p
p
p
Chapterp1p-pIntroductionptopJavascriptp
p
CopyrightpCengagepLearning.pPoweredpbypCognero.p
Pagep2p
p
pp
,a.ppbrowserp
pp
b.ppscripterp
pp
c.ppinterpreterp
pp
d.ppcompilerp
ANSWER:ppp
dp
FEEDBACK:ppp
pp
a.ppIncorrect.pBeforepthepinstructionspwrittenpinpapprogrammingplanguagepcanpbep
performed,ptheypneedptopbeptransformedpintopmachinepcodepthatpcanpbep
understoodpbypthepcomputerporpcomputerpdevicepbypapprogrampcalledpapcompiler.p
Thispprocesspispcalledpcompilation.pScriptingplanguages,papsubsetpofpprogrammingp
languages,pneedptopbepinterpreted,pinpwhichpthepcodepispreadpline-by-linepbypanp
interpreterpthatpscanspthepcodepforperrorspevenpaspitpruns.pApJavaScriptpinterpreterp
ispbuiltpintopeverypwebpbrowser,psoptopcreatepapJavaScriptpprogrampyouponlypneedp
aptextpeditorptopwritepthepcodepandpapwebpbrowserptoprunpit.p
pp
b.ppIncorrect.pBeforepthepinstructionspwrittenpinpapprogrammingplanguagepcanpbep
performed,ptheypneedptopbeptransformedpintopmachinepcodepthatpcanpbep
understoodpbypthepcomputerporpcomputerpdevicepbypapprogrampcalledpapcompiler.p
Thispprocesspispcalledpcompilation.pScriptingplanguages,papsubsetpofpprogrammingp
languages,pneedptopbepinterpreted,pinpwhichpthepcodepispreadpline-by-linepbypanp
interpreterpthatpscanspthepcodepforperrorspevenpaspitpruns.pApJavaScriptpinterpreterp
ispbuiltpintopeverypwebpbrowser,psoptopcreatepapJavaScriptpprogrampyouponlypneedp
aptextpeditorptopwritepthepcodepandpapwebpbrowserptoprunpit.p
pp
c.ppIncorrect.pBeforepthepinstructionspwrittenpinpapprogrammingplanguagepcanpbep
performed,ptheypneedptopbeptransformedpintopmachinepcodepthatpcanpbep
understoodpbypthepcomputerporpcomputerpdevicepbypapprogrampcalledpapcompiler.p
Thispprocesspispcalledpcompilation.pScriptingplanguages,papsubsetpofpprogrammingp
languages,pneedptopbepinterpreted,pinpwhichpthepcodepispreadpline-by-linepbypanp
interpreterpthatpscanspthepcodepforperrorspevenpaspitpruns.pApJavaScriptpinterpreterp
ispbuiltpintopeverypwebpbrowser,psoptopcreatepapJavaScriptpprogrampyouponlypneedp
aptextpeditorptopwritepthepcodepandpapwebpbrowserptoprunpit.p
pp
d.ppCorrect.pBeforepthepinstructionspwrittenpinpapprogrammingplanguagepcanpbep
performed,ptheypneedptopbeptransformedpintopmachinepcodepthatpcanpbep
understoodpbypthepcomputerporpcomputerpdevicepbypapprogrampcalledpapcompiler.p
Thispprocesspispcalledpcompilation.pScriptingplanguages,papsubsetpofpprogrammingp
languages,pneedptopbepinterpreted,pinpwhichpthepcodepispreadpline-by-linepbypanp
interpreterpthatpscanspthepcodepforperrorspevenpaspitpruns.pApJavaScriptpinterpreterp
ispbuiltpintopeverypwebpbrowser,psoptopcreatepapJavaScriptpprogrampyouponlypneedp
aptextpeditorptopwritepthepcodepandpapwebpbrowserptoprunpit.p
p
POINTS:ppp
, 1p
DIFFICULTY:ppp
Moderatep
REFERENCES:ppp
1.1pExploringpthepJavaScriptpLanguagep
QUESTIONpTYPE:ppp
MultiplepChoicep
HASpVARIABLES:ppp
Falsep
LEARNINGpOBJECTIVES:pppJASC.CARE.22.1.1.2p-pExplainpthepusepofpcompilerspandpcompilingp
KEYWORDS:ppp
Bloom's:pUnderstandp
DATEpCREATED:ppp
7/5/2021p2:13pPMp
DATEpMODIFIED:ppp
7/23/2021p10:46pAMp
p
p
3.pA(n)p_____preadspthepcodepofpapprogramplinepbypline,pscanningpforperrors,paspthepprogrampis
prun.p
pp
a.ppinterpreterp
DOWNLOADpTHEpTestpBankpforpJavaScriptpforpWebpWarriorsp7thpEditionpCarey
mynursytest.store
Name:ppp
p
Class:ppp
p
p
Date:ppp
p
p
p
Chapterp1p-pIntroductionptopJavascriptp
p
CopyrightpCengagepLearning.pPoweredpbypCognero.p
Pagep3p
p
pp
b.ppcompilerp
pp
c.ppscriptp
pp
d.ppCSSp
ANSWER:ppp
ap
FEEDBACK:ppp
pp
a.ppCorrect.pScriptingplanguages,papsubsetpofpprogrammingplanguages,pneedptopbep
interpreted,pinpwhichpthepcodepispreadpline-by-linepbypanpinterpreterpthatpscanspthep
codepforperrorspevenpaspitpruns.pApscriptingplanguagepbelongsptopapsubcategorypofp
programmingplanguagespthatpdopnotprequirepcompilingpbutpinsteadpareprunpdirectlyp
p
Class:ppp
p
p
Date:ppp
p
p
p
Chapterp1p-pIntroductionptopJavascriptp
p
CopyrightpCengagepLearning.pPoweredpbypCognero.p
Pagep1p
p
1.pApkeypcharacteristicpthatpsetspscriptingplanguagespapartpfrompotherpprogrammingplanguag
espispthatp_____.p
pp
a.ppscriptingplanguagespmustpbepcompiledpbeforeptheypareprunp
pp
b.ppscriptingplanguagespareprunpdirectlypfrompapprogram,pnotpcompiledp
pp
c.ppnon-scriptingplanguagesprequirepanpinterpreterptoprunp
pp
d.ppnon-scriptingplanguagesparepnotpconvertedpintopmachinepcodep
ANSWER:ppp
bp
FEEDBACK:ppp
pp
a.ppIncorrect.pApscriptingplanguagepbelongsptopapsubcategorypofpprogrammingp
languagespthatpdopnotprequirepcompilingpbutpinsteadpareprunpdirectlypfrompap
programporpscript.pScriptingplanguagespneedptopbepinterpreted,pinpwhichpthepcodep
ispreadpline-by-linepbypanpinterpreterpthatpscanspthepcodepforperrorspevenpaspitpruns.p
Beforepthepinstructionspofpapnon-scriptingpprogrammingplanguagepcanpbep
performed,ptheypneedptopbepcompiled,papprocesspbypwhichpthosepinstructionsparep
transformedpintopmachinepcodepthatpcanpbepunderstoodpbypthepcomputerporp
computerpdevice.p
pp
b.ppCorrect.pApscriptingplanguagepbelongsptopapsubcategorypofpprogrammingp
languagespthatpdopnotprequirepcompilingpbutpinsteadpareprunpdirectlypfrompap
programporpscript.pScriptingplanguagespneedptopbepinterpreted,pinpwhichpthepcodep
ispreadpline-by-linepbypanpinterpreterpthatpscanspthepcodepforperrorspevenpaspitpruns.p
Beforepthepinstructionspofpapnon-scriptingpprogrammingplanguagepcanpbep
performed,ptheypneedptopbepcompiled,papprocesspbypwhichpthosepinstructionsparep
transformedpintopmachinepcodepthatpcanpbepunderstoodpbypthepcomputerporp
computerpdevice.p
pp
c.ppIncorrect.pApscriptingplanguagepbelongsptopapsubcategorypofpprogrammingp
languagespthatpdopnotprequirepcompilingpbutpinsteadpareprunpdirectlypfrompap
programporpscript.pScriptingplanguagespneedptopbepinterpreted,pinpwhichpthepcodep
ispreadpline-by-linepbypanpinterpreterpthatpscanspthepcodepforperrorspevenpaspitpruns.p
Beforepthepinstructionspofpapnon-scriptingpprogrammingplanguagepcanpbep
performed,ptheypneedptopbepcompiled,papprocesspbypwhichpthosepinstructionsparep
,transformedpintopmachinepcodepthatpcanpbepunderstoodpbypthepcomputerporp
computerpdevice.p
pp
d.ppIncorrect.pApscriptingplanguagepbelongsptopapsubcategorypofpprogrammingp
languagespthatpdopnotprequirepcompilingpbutpinsteadpareprunpdirectlypfrompap
programporpscript.pScriptingplanguagespneedptopbepinterpreted,pinpwhichpthepcodep
ispreadpline-by-linepbypanpinterpreterpthatpscanspthepcodepforperrorspevenpaspitpruns.p
Beforepthepinstructionspofpapnon-scriptingpprogrammingplanguagepcanpbep
performed,ptheypneedptopbepcompiled,papprocesspbypwhichpthosepinstructionsparep
transformedpintopmachinepcodepthatpcanpbepunderstoodpbypthepcomputerporp
computerpdevice.p
p
POINTS:ppp
1p
DIFFICULTY:ppp
Moderatep
REFERENCES:ppp
1.1pExploringpthepJavaScriptpLanguagep
QUESTIONpTYPE:ppp
MultiplepChoicep
HASpVARIABLES:ppp
Falsep
LEARNINGpOBJECTIVES:pppJASC.CARE.22.1.1.2p-pExplainpthepusepofpcompilerspandpcompilingp
KEYWORDS:ppp
Bloom's:pUnderstandp
DATEpCREATED:ppp
7/5/2021p2:07pPMp
DATEpMODIFIED:ppp
7/16/2021p12:02pPMp
p
p
2.pA(n)p_____ptransformspapsetpofpinstructionspwrittenpinpapprogrammingplanguagepintopmachi
nepcode,pwhichpcanpbep
understoodpbypapcomputer.p
DOWNLOADpTHEpTestpBankpforpJavaScriptpforpWebpWarriorsp7thpEditionpCarey
mynursytest.store
Name:ppp
p
Class:ppp
p
p
Date:ppp
p
p
p
Chapterp1p-pIntroductionptopJavascriptp
p
CopyrightpCengagepLearning.pPoweredpbypCognero.p
Pagep2p
p
pp
,a.ppbrowserp
pp
b.ppscripterp
pp
c.ppinterpreterp
pp
d.ppcompilerp
ANSWER:ppp
dp
FEEDBACK:ppp
pp
a.ppIncorrect.pBeforepthepinstructionspwrittenpinpapprogrammingplanguagepcanpbep
performed,ptheypneedptopbeptransformedpintopmachinepcodepthatpcanpbep
understoodpbypthepcomputerporpcomputerpdevicepbypapprogrampcalledpapcompiler.p
Thispprocesspispcalledpcompilation.pScriptingplanguages,papsubsetpofpprogrammingp
languages,pneedptopbepinterpreted,pinpwhichpthepcodepispreadpline-by-linepbypanp
interpreterpthatpscanspthepcodepforperrorspevenpaspitpruns.pApJavaScriptpinterpreterp
ispbuiltpintopeverypwebpbrowser,psoptopcreatepapJavaScriptpprogrampyouponlypneedp
aptextpeditorptopwritepthepcodepandpapwebpbrowserptoprunpit.p
pp
b.ppIncorrect.pBeforepthepinstructionspwrittenpinpapprogrammingplanguagepcanpbep
performed,ptheypneedptopbeptransformedpintopmachinepcodepthatpcanpbep
understoodpbypthepcomputerporpcomputerpdevicepbypapprogrampcalledpapcompiler.p
Thispprocesspispcalledpcompilation.pScriptingplanguages,papsubsetpofpprogrammingp
languages,pneedptopbepinterpreted,pinpwhichpthepcodepispreadpline-by-linepbypanp
interpreterpthatpscanspthepcodepforperrorspevenpaspitpruns.pApJavaScriptpinterpreterp
ispbuiltpintopeverypwebpbrowser,psoptopcreatepapJavaScriptpprogrampyouponlypneedp
aptextpeditorptopwritepthepcodepandpapwebpbrowserptoprunpit.p
pp
c.ppIncorrect.pBeforepthepinstructionspwrittenpinpapprogrammingplanguagepcanpbep
performed,ptheypneedptopbeptransformedpintopmachinepcodepthatpcanpbep
understoodpbypthepcomputerporpcomputerpdevicepbypapprogrampcalledpapcompiler.p
Thispprocesspispcalledpcompilation.pScriptingplanguages,papsubsetpofpprogrammingp
languages,pneedptopbepinterpreted,pinpwhichpthepcodepispreadpline-by-linepbypanp
interpreterpthatpscanspthepcodepforperrorspevenpaspitpruns.pApJavaScriptpinterpreterp
ispbuiltpintopeverypwebpbrowser,psoptopcreatepapJavaScriptpprogrampyouponlypneedp
aptextpeditorptopwritepthepcodepandpapwebpbrowserptoprunpit.p
pp
d.ppCorrect.pBeforepthepinstructionspwrittenpinpapprogrammingplanguagepcanpbep
performed,ptheypneedptopbeptransformedpintopmachinepcodepthatpcanpbep
understoodpbypthepcomputerporpcomputerpdevicepbypapprogrampcalledpapcompiler.p
Thispprocesspispcalledpcompilation.pScriptingplanguages,papsubsetpofpprogrammingp
languages,pneedptopbepinterpreted,pinpwhichpthepcodepispreadpline-by-linepbypanp
interpreterpthatpscanspthepcodepforperrorspevenpaspitpruns.pApJavaScriptpinterpreterp
ispbuiltpintopeverypwebpbrowser,psoptopcreatepapJavaScriptpprogrampyouponlypneedp
aptextpeditorptopwritepthepcodepandpapwebpbrowserptoprunpit.p
p
POINTS:ppp
, 1p
DIFFICULTY:ppp
Moderatep
REFERENCES:ppp
1.1pExploringpthepJavaScriptpLanguagep
QUESTIONpTYPE:ppp
MultiplepChoicep
HASpVARIABLES:ppp
Falsep
LEARNINGpOBJECTIVES:pppJASC.CARE.22.1.1.2p-pExplainpthepusepofpcompilerspandpcompilingp
KEYWORDS:ppp
Bloom's:pUnderstandp
DATEpCREATED:ppp
7/5/2021p2:13pPMp
DATEpMODIFIED:ppp
7/23/2021p10:46pAMp
p
p
3.pA(n)p_____preadspthepcodepofpapprogramplinepbypline,pscanningpforperrors,paspthepprogrampis
prun.p
pp
a.ppinterpreterp
DOWNLOADpTHEpTestpBankpforpJavaScriptpforpWebpWarriorsp7thpEditionpCarey
mynursytest.store
Name:ppp
p
Class:ppp
p
p
Date:ppp
p
p
p
Chapterp1p-pIntroductionptopJavascriptp
p
CopyrightpCengagepLearning.pPoweredpbypCognero.p
Pagep3p
p
pp
b.ppcompilerp
pp
c.ppscriptp
pp
d.ppCSSp
ANSWER:ppp
ap
FEEDBACK:ppp
pp
a.ppCorrect.pScriptingplanguages,papsubsetpofpprogrammingplanguages,pneedptopbep
interpreted,pinpwhichpthepcodepispreadpline-by-linepbypanpinterpreterpthatpscanspthep
codepforperrorspevenpaspitpruns.pApscriptingplanguagepbelongsptopapsubcategorypofp
programmingplanguagespthatpdopnotprequirepcompilingpbutpinsteadpareprunpdirectlyp