A compiler differs from an interpreter because a compiler:
- cannot detect errors
- runs one line at a time
- only works for Python
- translates the whole program before it runs
Answer
D) translates the whole program before it runs
Compilers translate the complete program into machine code first. SLO CS-11-C-01
Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise