2.3-syntax and logic errors Flashcards Preview

cs > 2.3-syntax and logic errors > Flashcards

Flashcards in 2.3-syntax and logic errors Deck (2)
Loading flashcards...
1
Q

what is a syntax error?

A

this is when the programmer has forgotten simple programming rules. The computer reminds them. The program won’t run.

2
Q

What is a logic error?

A

This is an error that occurs when the programmer has made a mathematical mistake or muddled up numbers. This will allow the program to work but not as intended resulting in the wrong output.