pass 2025/2026
In the compilation process, the ______ arranges the symbol table in memory and generates final
executable machine code. - correct answer Backend
Select which of the following are part of the compilation process: - correct answer Lexical Analysis
Syntax Analysis
Optimization
Linking
Code Generation
In the compilation process, the ______ performs program analysis and optimization. - correct answer
Middle Stage
Which of the follow best matches the definition for Syntax Analysis? - correct answer Performs syntax
rules checking and constructs a symbol table and abstract syntax tree.
Which of the follow best matches the definition for Lexical Analysis? - correct answer Separates the
input source code text into tokens.
Which of the follow best matches the function of the Middle Stage in the compilation process? - correct
answer Performs program analysis and optimization.
In the compilation process, the ______ separates the input source code text into tokens. - correct
answer Lexical Analyzer (lexer)
,A computer consists of five major modules. What module do registers belong to? - correct answer Data
Path
The ______ of the CPU stores a small number of pieces of information, commonly the temporary results
of calculations. - correct answer Registers
Which of the following best matches the definition of the Bus? - correct answer Carries data between
the ALU, registers, memory, and peripherals.
The ______ of the CPU acts as an interface between the processor and the outside world, including
long-term storage and user interfaces. - correct answer IO / Peripherals
A computer consists of five major modules. What module does ALU belong to? - correct answer Data
Path
If two computers made by different companies have the same machine language, that means they have
the same: - correct answer Architecture
Which of the following best matches the definition of the Datapath? - correct answer Contains the ALU
and Registers, and the interconnection between them.
The ______ of the CPU carries data between the ALU, registers, memory, and peripherals. - correct
answer Bus
The ______ of the CPU contains the ALU and Registers, and the interconnection between them. - correct
answer Datapath
Which of the following best matches the definition of the Control Unit? - correct answer Coordinates the
flow of information around the processor.
, The ______ of the CPU stores a small number of pieces of information, commonly the temporary results
of calculations. - correct answer Registers
Instruction cycle - correct answer fetch, decode, execute, store
Decode Hardware - correct answer Data Memory
Control Unit
Fetch Hardware - correct answer Instruction Memory
Program Counter
Execute Hardware - correct answer ALU
Store Hardware - correct answer Data Memory
Program Counter
System Clock - correct answer Coordinates Activity
Latches Memory
Select the hardware that is active during the Execute Stage of the instruction cycle: - correct answer ALU
Which of the following are stages in the instruction cycle? - correct answer Execute
Decode
Fetch
Store