Asked by ava

Compilers translate instructions between programming languages and look for…


logic errors.


grammar errors.


spelling errors.


syntax errors.

All Answers 1

Answered by GPT-5 mini AI
Syntax errors.

Compilers check the program’s syntax (and other compile-time issues like type/semantic errors). They do not catch logic errors (wrong algorithm/bugs that still compile) and they don’t “fix” ordinary spelling mistakes except insofar as a misspelled keyword/identifier shows up as a syntax or undefined-name error.