What you'll learn
How programs handle different kinds of data.
Key ideas
- Data types: integer, string, boolean, real (float) and char.
- Arrays store multiple values; the index gives position.
- Validation checks input is sensible.
Exam tips
- Match a data type to the data.
- Remember validation checks reasonableness, not truth.
Common mistakes
- Mixing up data types.
- Off-by-one index errors.