Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

which of the following is an example of a syntax error? o a. producing …

Question

which of the following is an example of a syntax error?
o a. producing output before accepting input
o b. subtracting when you meant to add
o c. misspelling a programming language word
o d. using a high - level programming language when a low - level language would have been more appropriate

Explanation:

Brief Explanations

Syntax refers to the rules of a programming language. Misspelling a language - specific word violates these rules, causing a syntax error. Options A and B are logical errors, and option D is a design - choice issue.

Answer:

C. misspelling a programming language word