Mirror Blocks
Key Stage 4 Β· Computing
Python projects
Test yourself Printable worksheet
Key words
- decomposition
- breaking a problem into smaller, more manageable parts
- casting
- converting a value from one data type to another
- iteration
- repeating a section of code
- selection
- choosing which code runs using a condition
- function
- a named block of code that can be reused and can return a value
- validation
- checking that input data is sensible before it is used
- boundary data
- test data at the very edge of the allowed range
For grown-ups
This GCSE computing topic builds the practical programming skills tested in exams: planning, writing and testing small programs. Regular practice on short projects is the best way to become confident.
Try at home
- Ask them to show you a small program they've written and explain each line.
- Suggest a mini project together, such as a shopping-list total calculator or a times-tables quiz.
- Make up test data for one of their programs: something normal, something on the edge and something silly.
- Ask them to write the steps of making a cup of tea as pseudocode.
Ask your child
- What's the difference between a for loop and a while loop?
- Why do you need int() around input()?
- What are boundary and erroneous test data?










