2.1 Inside the Compiler
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.
• Combines partial programs and libraries into a single executable.
In the compilation process, the ______ separates the input source code text into tokens. • Middle Stage • Backend • Assembler • Lexical Analyzer (lexer) • Linker • Syntax Analyzer (parser)
• Lexical Analyzer (lexer)
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.
• Performs syntax rules checking and constructs a symbol table and abstract syntax tree.
Select which of the following are NOT part of the compilation process: • Program Execution • Syntax Analysis • Debugging • Testing • Linking • Optimization • Lexical Analysis • Code Generation
• Program Execution • Debugging • Testing
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.
• Translates assembly language code into machine code.