Programs can contain different types of errors, including logic, syntax, and runtime errors.
A program has three distinct errors.
Complete the table by adding a tick (✓) for each error description to show whether it is a logic, syntax, or runtime error.
| Error description | Logic | Syntax | Runtime |
|---|---|---|---|
| Attempting to retrieve index 12 from an array containing only 5 elements | |||
Writing elsif instead of elif in a Python program | |||
Calculating average value using a + b + c / 3 instead of (a + b + c) / 3 |