Chapter 1: Problem 20
Describe what a compiler does with a program's source code.
Short Answer
Expert verified
Answer: The main purpose of a compiler is to translate source code written in a high-level programming language into a lower level-code, usually in the form of machine code, assembly language, or bytecode. This allows programmers to write code in a more accessible, human-readable language, which is then converted into a form that the computer can understand and execute.