A major difference between a compiler and an interpreter is?

University of Ilorin COS101 2026-exam past question

  1. A compiler translates the whole program before execution, while an interpreter translates it during runtime
  2. An interpreter is faster than a compiler at executing large programs
  3. A compiler does not generate an object code, but an interpreter does
  4. Interpreters are only used for low-level languages

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

More University of Ilorin COS101 2026-exam past questions

Related questions

SmartDriller logo

SmartDriller

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

Starting up…