New Activity
Play Matching Game
1. Logic Error
2. Syntax Error
3. Run Time Error
4. Overflow Error

Ex. Neglecting to put a string in quotation marks (ex. "cat")

Ex. Missing semicolon (;)

Ex. A program failing when it references a nonexistent file

A typo that will result in the program not compiling/running

Ex. A program failing when the user enters unexpected data (ex. string instead of integer)

Ex. Trying to fit 12 cans of soup in a box designed to fit 10

Ex. Multiplying two numbers instead adding them

Program fails in the middle of running (program runs initially, but does not finish)

Ex. Flipping a logical operator (< or >)

Syntax Error

Run Time Error

Ex. A program failing when it tries to divide by 0

Ex. Trying to store 256 in an 8-bit binary number.

Ex. a 4 bit adder adding binary numbers 0111 and 1101

Programmer mistake in the algorithm, causing unexpected behavior (program still runs!)

Occurs when a program encounters a value that is too big to calculate or display

Overflow Error

Ex. Forgetting to declare a variable before using it

Logic Error

Ex. Using square brackets instead of curly brackets

Ex. Assigning a value to the wrong variable