Questions and CORRECT Answers
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