Which of these statements is true regarding error detection in translators?

University of Ilorin COS101 2026-exam past question

  1. Neither can detect syntax errors
  2. A compiler stops at the first error and does not check the rest of the program
  3. Both compilers and interpreters report all errors only after the entire program is scanned
  4. An interpreter stops and reports an error as soon as it encounters one in a line

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…