and Answers Updated
2026
InBtheBcompilationBprocess,BtheB______BseparatesBtheBinputBsourceBcodeBtextBintoBto
kens.
LexicalBAnalyzerB(lexer)
MiddleBStage
Assembler
Backend
SyntaxBAnalyzerB(parser)
LinkerB-BAnswerBLexicalBAnalyzerB(lexer)
SelectBwhichBofBtheBfollowingBareBpartBofBtheBcompilationBprocess:
Debugging
SyntaxBAnalysis
Optimization
LexicalBAnalysis
Testing
MachineBCodeBGeneration
ProgramBExecutionB-BAnswerBSyntaxBAnalysis
Optimization
LexicalBAnalysis
MachineBCodeBGeneration
WhichBofBtheBfollowBbestBmatchesBtheBdefinitionBforBanBAssembler?
,TranslatesBassemblyBlanguageBcodeBintoBmachineBcode.
PerformsBprogramBanalysisBandBoptimization.
ArrangesBtheBsymbolBtableBinBmemoryBandBgeneratesBfinalBexecutableBmachineBcode.
CombinesBpartialBprogramsBandBlibrariesBintoBaBsingleBexecutable.
SeparatesBtheBinputBsourceBcodeBtextBintoBtokens.
PerformsBsyntaxBrulesBcheckingBandBconstructsBaBsymbolBtableBandBabstractBsyntaxBtre
e.B-BAnswerBTranslatesBassemblyBlanguageBcodeBintoBmachineBcode.
WhichBofBtheBfollowBbestBmatchesBtheBdefinitionBforBSyntaxBAnalysis?
CombinesBpartialBprogramsBandBlibrariesBintoBaBsingleBexecutable.
SeparatesBtheBinputBsourceBcodeBtextBintoBtokens.
PerformsBprogramBanalysisBandBoptimization.
ArrangesBtheBsymbolBtableBinBmemoryBandBgeneratesBfinalBexecutableBmachineBcode.
PerformsBsyntaxBrulesBcheckingBandBconstructsBaBsymbolBtableBandBabstractBsyntaxBtre
e.
TranslatesBassemblyBlanguageBcodeBintoBmachineBcode.B-
BAnswerBPerformsBsyntaxBrulesBcheckingBandBconstructsBaBsymbolBtableBandBabstractBs
yntaxBtree.
InBtheBcompilationBprocess,BtheB______BperformsBprogramBanalysisBandBoptimization.B
-BAnswerBMiddleBStage
WhichBofBtheBfollowBbestBmatchesBtheBdefinitionBforBLexicalBAnalysis?
CombinesBpartialBprogramsBandBlibrariesBintoBaBsingleBexecutable.
SeparatesBtheBinputBsourceBcodeBtextBintoBtokens.
PerformsBprogramBanalysisBandBoptimization.
,ArrangesBtheBsymbolBtableBinBmemoryBandBgeneratesBfinalBexecutableBmachineBcode.
PerformsBsyntaxBrulesBcheckingBandBconstructsBaBsymbolBtableBandBabstractBsyntaxBtre
e.
TranslatesBassemblyBlanguageBcodeBintoBmachineBcode.B-
BAnswerBSeparatesBtheBinputBsourceBcodeBtextBintoBtokens.
TheB______BofBtheBCPUBactsBasBanBinterfaceBbetweenBtheBprocessorBandBtheBoutside
Bworld,BincludingBlong-termBstorageBandBuserBinterfaces.
Memory
ControlBUnit
Datapath
ALU
Registers
IOB/BPeripheralsB-BAnswerBIOB/BPeripherals
WhichBofBtheBfollowingBbestBmatchesBtheBdefinitionBofBtheBALU?
ContainsBtheBALUBandBRegisters,BandBtheBinterconnectionBbetweenBthem.
CoordinatesBtheBflowBofBinformationBaroundBtheBprocessor.
StoresBaBlargeBnumberBofBpiecesBofBinformation,BincludingBprogramBdataBandBinstructi
ons.
ActsBasBanBinterfaceBbetweenBtheBprocessorBandBtheBoutsideBworld,BincludingBlong-
termBstorageBandBuserBinterfaces.
OperatesBonBoneBorBmoreBnumericalBvaluesBtoBperformBcalculationsBandBoperationsBo
nBdata.
StoresBaBsmallBnumberBofBpiecesBofBinformation,BcommonlyBtheBtemporaryBresultsBofB
calculations.
CarriesBdataBbetweenBtheBALU,Bregisters,Bmemory,BandBperipherals.B-
BAnswerBOperatesBonBoneBorBmoreBnumericalBvaluesBtoBperformBcalculationsBandBope
rationsBonBdata.
, TheB______BofBtheBCPUBoperatesBonBoneBorBmoreBnumericalBvaluesBtoBperformBcalcu
lationsBandBoperationsBonBdata.
Registers
ControlBUnit
ALU
IOB/BPeripherals
Memory
BusB-BAnswerBALU
ABcomputerBconsistsBofBfiveBmajorBmodules.BWhatBmoduleBdoesBALUBbelongBto?
Memory
DataBPath
ControlBUnit
PeripheralB-BAnswerBDataBPath
WhichBofBtheBfollowingBbestBmatchesBtheBdefinitionBofBtheBBus?
CoordinatesBtheBflowBofBinformationBaroundBtheBprocessor.
StoresBaBsmallBnumberBofBpiecesBofBinformation,BcommonlyBtheBtemporaryBresultsBofB
calculations.
CarriesBdataBbetweenBtheBALU,Bregisters,Bmemory,BandBperipherals.
ActsBasBanBinterfaceBbetweenBtheBprocessorBandBtheBoutsideBworld,BincludingBlong-
termBstorageBandBuserBinterfaces.
ContainsBtheBALUBandBRegisters,BandBtheBinterconnectionBbetweenBthem.
StoresBaBlargeBnumberBofBpiecesBofBinformation,BincludingBprogramBdataBandBinstructi
ons.
OperatesBonBoneBorBmoreBnumericalBvaluesBtoBperformBcalculationsBandBoperationsBo
nBdata.B-BAnswerBCarriesBdataBbetweenBtheBALU,Bregisters,Bmemory,BandBperipherals.