Questions and CORRECT Answers
In the compilation process, the ______ separates the input source code text into tokens.
Lexical Analyzer (lexer)
Middle Stage
Assembler
Backend
Syntax Analyzer (parser)Linker - CORRECT ANSWER Lexical Analyzer (lexer)
The ________ translates assembly language code into machine code.
Lexical Analysis
Testing
Optimization
Debugging
Syntax Analysis
Machine Code Generation
Program Execution - CORRECT ANSWER Assembler
Debugging
Program Execution
Select which of the following are NOT part of the compilation process: - CORRECT
ANSWER Testing
In the compilation process, the ______ arranges the symbol table in memory and generates final
executable machine code.
Lexical Analyzer (lexer)
Middle Stage
Backend
,Linker
Syntax Analyzer (parser) - CORRECT ANSWER Backend
Select which of the following are part of the compilation process:
Syntax Analysis
Machine Code Generation
Program Execution
Optimization
Testing
Debugging
Lexical Analysis - CORRECT ANSWER Machine Code Generation
Optimization
Lexical Analysis
Syntax Analysis
Which of the follow best matches the function of the Middle Stage in the compilation process? -
CORRECT ANSWER Performs program analysis and optimization.
Which of the follow best matches the definition for an Assembler?
Translates assembly language code into machine code.
Performs program analysis and optimization.
Arranges the symbol table in memory and generates final executable machine code.
Combines partial programs and libraries into a single executable.
Separates the input source code text into tokens.
Performs syntax rules checking and constructs a symbol table and abstract syntax tree. -
CORRECT ANSWER Translates assembly language code into machine code.
, Which of the follow best matches the definition for Syntax Analysis?
Combines partial programs and libraries into a single executable.
Separates the input source code text into tokens.
Performs program analysis and optimization.
Arranges the symbol table in memory and generates final executable machine code.
Performs syntax rules checking and constructs a symbol table and abstract syntax tree.
Translates assembly language code into machine code. - CORRECT ANSWER Performs
syntax rules checking and constructs a symbol table and abstract syntax tree.
In the compilation process, the ______ performs program analysis and optimization. -
CORRECT ANSWER Middle Stage
Which of the follow best matches the definition for Lexical Analysis?
Combines partial programs and libraries into a single executable.
Separates the input source code text into tokens.
Performs program analysis and optimization.
Arranges the symbol table in memory and generates final executable machine code.
Performs syntax rules checking and constructs a symbol table and abstract syntax tree.
Translates assembly language code into machine code. - CORRECT ANSWER Separates the
input source code text into tokens
The ______ of the CPU contains the ALU and Registers, and the interconnection between them.
IO / Peripherals
ALU
Control Unit
Datapath
Bus