What is the difference between a compiler and an interpreter?
-
A
They are the same thing
-
B
A compiler translates the entire program at once, while an interpreter translates and executes line by line
-
C
A compiler is faster during execution than an interpreter in all cases
-
D
An interpreter can only work with Python