CSE 230 Exam 2025 Questions and
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 - ANSWER-Lexical Analyzer (lexer)
The ________ translates assembly language code into machine code.
Lexical Analysis
Testing
Optimization
Debugging
Syntax Analysis
COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 1
,Machine Code Generation
Program Execution - ANSWER-Assembler
Debugging
Program Execution
Select which of the following are NOT part of the compilation process: -
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) - ANSWER-Backend
Select which of the following are part of the compilation process:
Syntax Analysis
Machine Code Generation
Program Execution
Optimization
COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 2
, Testing
Debugging
Lexical Analysis - 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? - 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. - ANSWER-Translates assembly language code into machine code.
Which of the follow best matches the definition for Syntax Analysis?
COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 3
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 - ANSWER-Lexical Analyzer (lexer)
The ________ translates assembly language code into machine code.
Lexical Analysis
Testing
Optimization
Debugging
Syntax Analysis
COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 1
,Machine Code Generation
Program Execution - ANSWER-Assembler
Debugging
Program Execution
Select which of the following are NOT part of the compilation process: -
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) - ANSWER-Backend
Select which of the following are part of the compilation process:
Syntax Analysis
Machine Code Generation
Program Execution
Optimization
COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 2
, Testing
Debugging
Lexical Analysis - 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? - 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. - ANSWER-Translates assembly language code into machine code.
Which of the follow best matches the definition for Syntax Analysis?
COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 3