Programming Errors
8 errors
Common programming errors — syntax errors, type errors, name errors, and logic mistakes.
8 / 8
- 1
Syntax Error
Your code has a structural problem — a missing bracket, quote, or punctuation that makes it impossible to parse.
- 2
Type Error
You tried to use a value in a way that doesn't match its type — like calling `len()` on a number or adding a string to an integer.
- 3
Name Error
You referenced a name (variable, function, class) that doesn't exist in the current scope.
- 4
Undefined Variable
The variable exists but has no value — it is `undefined`, and using it as if it has one causes problems.
- 5
Null Value Problem
You operated on a value that is `null` — calling a method or reading a property on `null` causes an error.
- 6
Infinite Loop
Your loop never stops — the condition that should end it is always true or the loop variable never changes.
- 7
Wrong Condition
Your condition evaluates to the wrong true/false value, so your code takes the wrong path or loops the wrong number of times.
- 8
Index Out of Range
You tried to read or write a position in an array that is outside its valid range of indices.
No errors found.