PROGRAMMING LANGUAGE TEST
CHAPTER 1 QUESTIONS AND
CORRECT ANSWERS
machineA2languageA2isA2languageA2inA2theA2formA2ofA21'sA2andA20'sA2thatA2computersA2un
derstand
assemblyA2languageA2isA2languageA2thatA2humansA2canA2moreA2easilyA2understandA2and
A2isA2inA2theA2formA2ofA2wordsA2andA2symbolsA2thatA2getsA2convertedA2toA2machineA2langu
ageA2-A2Ans--
WhatA2isA2theA2differenceA2betweenA2machineA2languageA2andA2assemblyA2language?
Evolution,A2SpecialA2Purposes,A2PersonalA2PreferenceA2-A2Ans--
WhyA2areA2thereA2soA2manyA2programmingA2languages?
DeclarativeA2languagesA2hideA2implementationA2details.A2ImperativeA2embracesA2them.A2
-A2Ans--WhatA2distinguishesA2declarativeA2languagesA2fromA2imperativeA2languages?
LispA2-A2Ans--WhatA2wasA2theA2firstA2functionalA2language?
C+
+A2implementationsA2basedA2onA2theA2earlyA2AT&TA2compilerA2actuallyA2generatedA2anA2i
ntermediateA2programA2inA2C,A2insteadA2ofA2inA2assemblyA2languageA2-A2Ans--
whatA2wasA2theA2immediateA2formA2employedA2byA2theA2originalA2AT&TA2C++A2compiler
HighA2levelA2languagesA2economizesA2theA2programmerA2effortA2inA2theA2constructionA2an
dA2maintenanceA2ofA2programs.
ForA2performanceA2centeredA2tasks,A2assemblyA2allowsA2directA2controlA2forA2optimization
.A2-A2Ans--InA2whatA2way(s)A2areA2high-
levelA2languagesA2anA2improvementA2onA2aA2assemblyA2language?
A2AreA2thereA2circumstancesA2inA2whichA2itA2stillA2makeA2senseA2toA2programA2inA2assembl
er?
FortranA2-A2Ans--WhatA2isA2generallyA2consideredA2theA2firstA2high-
levelA2programmingA2language?
CompilerA2translatesA2highA2levelA2sourceA2programA2intoA2aA2equivalentA2targetA2progra
mA2(machineA2language).
AnA2interpreterA2implementsA2aA2virtualA2machineA2whoseA2"machineA2language"A2isA2the
A2high-levelA2programmingA2language.A2TheA2interpreterA2readsA2statementsA2inA2that
languageA2moreA2orA2lessA2oneA2atA2aA2time,A2executingA2themA2asA2itA2goesA2along.A2-
A2Ans--
CHAPTER 1 QUESTIONS AND
CORRECT ANSWERS
machineA2languageA2isA2languageA2inA2theA2formA2ofA21'sA2andA20'sA2thatA2computersA2un
derstand
assemblyA2languageA2isA2languageA2thatA2humansA2canA2moreA2easilyA2understandA2and
A2isA2inA2theA2formA2ofA2wordsA2andA2symbolsA2thatA2getsA2convertedA2toA2machineA2langu
ageA2-A2Ans--
WhatA2isA2theA2differenceA2betweenA2machineA2languageA2andA2assemblyA2language?
Evolution,A2SpecialA2Purposes,A2PersonalA2PreferenceA2-A2Ans--
WhyA2areA2thereA2soA2manyA2programmingA2languages?
DeclarativeA2languagesA2hideA2implementationA2details.A2ImperativeA2embracesA2them.A2
-A2Ans--WhatA2distinguishesA2declarativeA2languagesA2fromA2imperativeA2languages?
LispA2-A2Ans--WhatA2wasA2theA2firstA2functionalA2language?
C+
+A2implementationsA2basedA2onA2theA2earlyA2AT&TA2compilerA2actuallyA2generatedA2anA2i
ntermediateA2programA2inA2C,A2insteadA2ofA2inA2assemblyA2languageA2-A2Ans--
whatA2wasA2theA2immediateA2formA2employedA2byA2theA2originalA2AT&TA2C++A2compiler
HighA2levelA2languagesA2economizesA2theA2programmerA2effortA2inA2theA2constructionA2an
dA2maintenanceA2ofA2programs.
ForA2performanceA2centeredA2tasks,A2assemblyA2allowsA2directA2controlA2forA2optimization
.A2-A2Ans--InA2whatA2way(s)A2areA2high-
levelA2languagesA2anA2improvementA2onA2aA2assemblyA2language?
A2AreA2thereA2circumstancesA2inA2whichA2itA2stillA2makeA2senseA2toA2programA2inA2assembl
er?
FortranA2-A2Ans--WhatA2isA2generallyA2consideredA2theA2firstA2high-
levelA2programmingA2language?
CompilerA2translatesA2highA2levelA2sourceA2programA2intoA2aA2equivalentA2targetA2progra
mA2(machineA2language).
AnA2interpreterA2implementsA2aA2virtualA2machineA2whoseA2"machineA2language"A2isA2the
A2high-levelA2programmingA2language.A2TheA2interpreterA2readsA2statementsA2inA2that
languageA2moreA2orA2lessA2oneA2atA2aA2time,A2executingA2themA2asA2itA2goesA2along.A2-
A2Ans--