What is true about compilation? (Select two answers)
- It tends to be faster than interpretation
- It tends to be slower than interpretation
- Both you and the end user must have the compiler to run your code
- The code is converted directly into machine code executable by the processor
Explanation: The compiler translates (compiles) the source program (a set of high-level language instructions) into machine code (a lower-level representation of the source program). The sequence of 0s and 1s can be then executed by the processor. The execution of the compiled code is usually faster than interpretation.
More Questions: Python Essentials 1 – Module 1 Test
Please login or Register to submit your answer