Computer Science for IGCSE & O level - Software (Section 9 - No. 22)
What is the difference between a compiler and an interpreter?
Both translate source code at once.
A compiler translates code line by line and an interpreter translates all at once.
A compiler translates the entire program at once, while an interpreter translates and executes code line by line.
An interpreter converts machine code into source code, while a compiler converts source code into machine code.
Explanation
The key difference is how each translates the source code - the compiler at once and the interpreter line by line.
Comments (0)
