Identify the correct definition of Code optimization.
- A. The compiler phase that improves intermediate or final code to make it run faster or use fewer resources. ✓
- B. A program that executes source code directly, translating and running it line by line without producing a separate executable.
- C. A program that translates an entire source program written in a high-level language into machine code before execution.
- D. The first phase of compilation that converts source code into a sequence of tokens.
Correct answer
A. The compiler phase that improves intermediate or final code to make it run faster or use fewer resources.
Explanation
Code optimization refers to the compiler phase that improves intermediate or final code to make it run faster or use fewer resources.