2.1 Inside the Compiler

Ace your homework & exams now with Quizwiz!

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.


Related study sets

Material Requirements Planning (MRP)

View Set

Unit 15 Weather Chinese 112 CCM County College of Morris MoribundMurdoch [See: Moribund Institute] (Without Pinyin/With Pictures -- Default Quizlet Pictures)

View Set

The Real World SOC-210 Chapter 6 Quiz

View Set

LC27: LearningCurve - Ch. 27: Aggregate Demand and Aggregate Supply

View Set

Life Policy Riders, Provisions, Options, an Exclusions

View Set

Career Planning and Skill Development Unit 7 Lesson 1: Teamwork and Communication

View Set