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

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

Ex. Missing semicolon (;)

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

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

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

Ex. Assigning a value to the wrong variable

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

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

Run Time Error

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

Logic Error

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

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

Ex. Multiplying two numbers instead adding them

Overflow Error

Ex. A program failing when it references a nonexistent file

Syntax Error

Ex. Flipping a logical operator (< or >)

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

Ex. Using square brackets instead of curly brackets

Ex. Forgetting to declare a variable before using it