Loading subject…
| Error type | When you notice it | Typical cause |
|---|---|---|
| Syntax | Before it runs | Missing colon, bracket or quote |
| Runtime | Partway through a run | Divide by zero, wrong data type |
| Logic | Only when you test it | Wrong operator or wrong order |
Trace table
A grid used to follow a program by hand, with one column per variable and one row per step, showing how the values change.