Multiple choice What does a compiler do? Converts a program into machine code before it is run Converts a program into machine code when it is run Helps a programmer debug their code All of the above Reveal answer Fill a bubble to check yourself A Correct answer Explanation A compiler translates the entire source code into machine code (an executable file) before the program is run, unlike an interpreter which translates code line-by-line during execution.