National 5 Computing Science
Question of the week
Every week, one real question of the kind your child will meet in the National 5 Computing Science exam. Have a go (no account needed), then see how it is marked and why.
This program works out the average of five numbers. It runs without any error message, but the answer is wrong. What kind of error is that?
This is what revision looks like on the course. Every topic in the National 5 course has a short note, a simulation to try, a practice quiz with feedback like this on every answer, and real coding lessons. You get a progress report for your child too, with a weekly email if you want one.
Earlier questions
- Your child finds a great photo of Edinburgh Castle online. Can they just use it on their website?
- "Wrong password, try again." What kind of loop makes that happen?
- A car park counter uses 8 bits. 250 cars are inside and 8 more arrive. Why can't it count them?
- You want your holiday photo on a website. Which file format would your child pick?
- A library sells its members' email addresses. Which data protection rule has it broken?
- A cinema ticket costs £9.50. Which data type should a program use to store it?
- Your phone number is full of digits. So is it a number? Your child's exam says no. Do you know why?
More free help: revision guides to the questions candidates find hardest.