EEE 241 COMPREHENSIVE EXAM STUDY
GUIDE WITH COMPLETE SOLUTIONS
●● In the compilation process, the ______ performs syntax rules
checking and constructs a symbol table and abstract syntax tree.
Answer: Syntax Analyzer (parser)
●● In the compilation process, the ______ arranges the symbol table in
memory and generates final executable machine code.
Answer: Backend
●● In the compilation process, the ______ performs program analysis
and optimization.
Answer: Middle Stage
●● Which of the follow best matches the definition for Lexical
Analysis?
Answer: Separates the input source code text into tokens.
●● Which of the follow best matches the definition for an Assembler?
• Translates assembly language code into machine code.
• Arranges the symbol table in memory and generates final executable
machine code.
,• Separates the input source code text into tokens.
• Combines partial programs and libraries into a single executable.
• Performs syntax rules checking and constructs a symbol table and
abstract syntax tree.
• Performs program analysis and optimization.
Answer: Translates assembly language code into machine code.
●● Which of the follow best matches the definition for Syntax Analysis?
• Translates assembly language code into machine code.
• Arranges the symbol table in memory and generates final executable
machine code.
• Performs program analysis and optimization.
• Separates the input source code text into tokens.
• Combines partial programs and libraries into a single executable.
• Performs syntax rules checking and constructs a symbol table and
abstract syntax tree.
Answer: Performs syntax rules checking and constructs a symbol table
and abstract syntax tree.
●● Which of the follow best matches the function of the Linker in the
compilation process?
• Performs syntax rules checking and constructs a symbol table and
abstract syntax tree.
• Translates assembly language code into machine code.
, • Separates the input source code text into tokens.
• Performs program analysis and optimization.
• Combines partial programs and libraries into a single executable.
• Arranges the symbol table in memory and generates final executable
machine code.
Answer: Combines partial programs and libraries into a single
executable.
●● Select which of the following are NOT part of the compilation
process:
• Program Execution
• Syntax Analysis
• Debugging
• Testing
• Linking
• Optimization
• Lexical Analysis
• Code Generation
Answer: • Program Execution• Debugging• Testing
●● Program that translates a high-level programming language to
executable machine instructions
Answer: compiler
GUIDE WITH COMPLETE SOLUTIONS
●● In the compilation process, the ______ performs syntax rules
checking and constructs a symbol table and abstract syntax tree.
Answer: Syntax Analyzer (parser)
●● In the compilation process, the ______ arranges the symbol table in
memory and generates final executable machine code.
Answer: Backend
●● In the compilation process, the ______ performs program analysis
and optimization.
Answer: Middle Stage
●● Which of the follow best matches the definition for Lexical
Analysis?
Answer: Separates the input source code text into tokens.
●● Which of the follow best matches the definition for an Assembler?
• Translates assembly language code into machine code.
• Arranges the symbol table in memory and generates final executable
machine code.
,• Separates the input source code text into tokens.
• Combines partial programs and libraries into a single executable.
• Performs syntax rules checking and constructs a symbol table and
abstract syntax tree.
• Performs program analysis and optimization.
Answer: Translates assembly language code into machine code.
●● Which of the follow best matches the definition for Syntax Analysis?
• Translates assembly language code into machine code.
• Arranges the symbol table in memory and generates final executable
machine code.
• Performs program analysis and optimization.
• Separates the input source code text into tokens.
• Combines partial programs and libraries into a single executable.
• Performs syntax rules checking and constructs a symbol table and
abstract syntax tree.
Answer: Performs syntax rules checking and constructs a symbol table
and abstract syntax tree.
●● Which of the follow best matches the function of the Linker in the
compilation process?
• Performs syntax rules checking and constructs a symbol table and
abstract syntax tree.
• Translates assembly language code into machine code.
, • Separates the input source code text into tokens.
• Performs program analysis and optimization.
• Combines partial programs and libraries into a single executable.
• Arranges the symbol table in memory and generates final executable
machine code.
Answer: Combines partial programs and libraries into a single
executable.
●● Select which of the following are NOT part of the compilation
process:
• Program Execution
• Syntax Analysis
• Debugging
• Testing
• Linking
• Optimization
• Lexical Analysis
• Code Generation
Answer: • Program Execution• Debugging• Testing
●● Program that translates a high-level programming language to
executable machine instructions
Answer: compiler