What's the difference between a compiler and an interpreter?

University of Ilorin COS101 2025C past question

  1. Compiler translates code all at once; interpreter does it line-by-line
  2. Compiler is slower than interpreter
  3. Interpreter generates executable files
  4. Compiler only works with high-level languages

Register free to see the answer and step-by-step explanation

More University of Ilorin COS101 2025C past questions

Related questions

SmartDriller logo

SmartDriller

Loading your past questions, mock exams, notes, and video tutorials...

Starting up…