| Section A |
| 1 | a | - Removing unnecessary details (1)
- Focusing on essential features (1)
- Example (1)
| 3 | Abstraction |
| b | - Breaks problem into parts (1)
- Easier to manage (1)
- Independent testing (1)
| 3 | Decomposition |
| c | - HLL: Human readable (1)
- LLL: Machine/Assembly (1)
- HLL: Portable (1)
- LLL: Hardware control (1)
| 4 | High-level |
| 2 | a | - Iter 1: 8,3
- Iter 2: 5,4
- End condition
| 4 | Pseudocode |
| b | | 6 | logic diagrams using |
| 3 | a | - DIV is quotient (1)
- MOD is remainder (1)
| 2 | variables, constants, operators |
| b | - Conversion between data types (1)
- Example (1)
| 2 | Casting |
| c | | 3 | variables, constants, operators |
| d | - Breakpoints (1)
- Watch windows (1)
- Error logs (1)
| 3 | Error diagnostics |
| 4 | a | - Step-by-step logic (3)
- Pre-condition: Sorted (1)
| 4 | Binary search |
| b | | 3 | Bubble sort |
| c | - Syntax: Rules broken (1.5)
- Logic: Wrong output (1.5)
| 3 | syntax and logic errors |
| Section B |
| 5 | a | | 4 | use of SQL |
| b | - Iteration (2)
- Comparison (2)
- Result (2)
| 6 | Pseudocode |
| 6 | a | | 8 | Pseudocode |
| b | | 2 | Pseudocode |
| 7 | a | | 8 | use of arrays |
| b | | 2 | Boolean |
| 8 | a | - Function logic + newFile (8)
| 8 | The use of basic file handling operations |
| b | | 2 | sub programs |