- A Converting source code to machine code
- B Executing program instructions
- C Debugging code in real-time
- D Managing database operations
A compiler translates high-level programming languages into machine code, allowing computers to execute the program instructions.
Syntax analysis, also known as parsing, is the phase where the compiler analyzes the structure of the source code and generates an intermediate representation.
Code optimization is the compiler phase dedicated to improving the efficiency and performance of the generated machine code.
Code generation is the phase where the compiler translates the high-level source code into machine code executable by the target computer.
Instruction scheduling is a compiler optimization technique that rearranges the order of instructions to reduce program execution time.
The Front End of a compiler is responsible for translating the high-level source code into an intermediate representation for further processing.
Loop Unrolling is a compiler optimization technique that aims to improve program performance by reducing the overhead of loop control instructions.
The Back End of a compiler is responsible for translating the intermediate code into machine code that can be executed by the target hardware.
Code Generation is the compiler phase that determines the lifetime of variables and allocates memory for them during program execution.
The Assembler is responsible for translating machine code into assembly code, making it more human-readable.