Compiler - Quiz

  • A Generating intermediate code
  • B Identifying tokens in the source code
  • C Checking semantic errors
  • D Optimizing the program
  • A Translating source code to machine code
  • B Identifying syntax errors in the code
  • C Generating intermediate code
  • D Analyzing program semantics
  • A Loop Unrolling
  • B Common Subexpression Elimination
  • C Dead Code Elimination
  • D Register Allocation
  • A Minimizing code size
  • B Reducing program execution time
  • C Efficiently utilizing CPU registers
  • D Eliminating semantic errors
  • A Converts source code to machine code
  • B Resolves references to external functions and variables
  • C Optimizes the generated code for performance
  • D Performs syntax analysis on the code
  • A Code Generation
  • B Data Flow Analysis
  • C Register Allocation
  • D Semantic Analysis
  • A Generating intermediate code
  • B Translating machine code to assembly code
  • C Performing syntax analysis on the code
  • D Resolving external references