69.5k views
2 votes
Which of the following will generate a syntax error in a computer program?

a) Instructions that are not efficient
b) Instructions that do produce correct results
c) Instructions that are not understandable
d) None of these will generate syntax errors

User Mathieug
by
7.9k points

1 Answer

3 votes

Answer:

c) Instructions that are not understandable

Step-by-step explanation:

Computer languages, as regular languages, have rules of syntax. But with the difference that the slightest misspelling in a computer program would make it impossible for the computer to understand it.

If, in English, I say: 'Please compte tuo plus two' you might understand that I'm says '2+2'

But to a computer, this spelling error might as wells writing gibberish

User Vitaut
by
7.9k points