Scratch weather simulators maths mission
A practical mini-mission using weather simulators to practise chance through questions, examples and child-friendly challenges.
Quick answer
You can create a weather simulator in Scratch to explore chance and probability by using random number generators to decide what weather happens next, and then testing your predictions.
Learning outcome
By the end of this page, you will be able to use Scratch to create a weather simulator that shows how chance works in real life, and you will understand how to predict what weather might happen next based on what has happened before.
- You can make a Scratch program that picks a random weather type
- You can compare how often different weather types happen
- You can predict what weather might come next
- You can explain how chance helps us understand the world
Why this matters
Weather is something we all experience every day. When you look outside and see the sun, rain, or snow, you're seeing chance in action. In Scratch, you can build a weather simulator to help you understand how random events happen and how we can make predictions. This helps you learn about chance, data, and how to think ahead – skills you’ll use in games, science, and life!
How it works
Creating a weather simulator in Scratch uses a few key steps:
- Choose a list of weather types (like sunny, rainy, cloudy, windy)
- Use a random number generator to pick one of the weather types
- Display the weather on the screen
- Record how often each weather type appears
- Use your results to make predictions about what might happen next
Examples you can see
Imagine you're building a weather machine in Scratch. You have four weather types: sun, rain, cloud, and wind. Here's how you can make it work:
| Weather Type | Number |
|---|---|
| Sunny | 1 |
| Rainy | 2 |
| Cloudy | 3 |
| Windy | 4 |
When you run your program, Scratch picks a random number between 1 and 4. If it picks 2, it shows a rainy day. If it picks 4, it shows a windy day.
Ages 4-6
For younger children, you can start with just two weather types – sunny and rainy. Use a coin flip to decide what happens next, and draw pictures of each weather type.
Ages 7-9
For older children, try making a weather wheel with four sections. Spin the wheel to pick the weather. You can count how many times each weather type comes up and draw a chart.
Ages 10-12
For advanced learners, you can make a weather program that shows a graph of how often each weather type appears. You can even add a timer so it changes weather every few seconds!
Try it as a mini adventure
Adventure: The Weather Forecast Mission
You are a weather wizard! Your job is to create a weather machine that can predict what the weather will be like tomorrow. You must:
- Choose 4 weather types
- Use Scratch to make a random weather picker
- Run the program 10 times
- Record which weather happens most
- Guess what weather will come next
For example, if you ran your program and got 3 sunny days, 4 rainy days, 2 cloudy days, and 1 windy day, you might guess that it will rain tomorrow because it has happened most often.
Common mistakes
- Mistake: Forgetting to reset the counter for each weather type.
Why it happens: Children often forget to start counting from zero each time.
Fix: Make sure to reset your counter to 0 before starting a new round of weather picks. - Mistake: Thinking that the same weather will always come next.
Why it happens: Children may believe that because something happened before, it will happen again.
Fix: Explain that chance means anything can happen next, even if it hasn't before. - Mistake: Not using a large enough sample size.
Why it happens: Children might think that one or two weather types are enough to make a prediction.
Fix: Run your program more times to get better predictions.
Parent and carer guide
As a parent or carer, you can help your child by:
- Encouraging them to try different weather types in their Scratch project
- Helping them keep a record of how often each weather type appears
- Asking questions like, “What do you think will happen next?” or “Why do you think that weather came up so much?”
- Letting them experiment with making their own weather wheel or spinner
- Not worrying if their predictions are wrong – that’s part of learning!
It's okay if the weather predictions don’t come true. That’s how chance works – it’s unpredictable! The goal is to learn how to make smart guesses based on what we’ve seen.
Practice questions
- How many weather types can you include in your Scratch weather simulator?
- If you run your program 15 times, and it shows sunny weather 5 times, what fraction of the time was it sunny?
- Which weather type do you think will come up most often in your program? Why?
- What happens if you change your random number range from 1 to 4 to 1 to 6?
- How can you make your weather simulator more realistic?
Answers:
- You can include as many weather types as you want – just make sure to update your list and numbers in Scratch.
- It was sunny 5 out of 15 times, so the fraction is 5/15, which simplifies to 1/3.
- Answers will vary, but children might say "rain" or "sun" because they think it’s common.
- If you change the range, you can include more weather types, like snow, fog, or thunderstorm.
- You can add more weather types, use sound effects, or change the background to match the weather.
FAQ
What is chance in Scratch?
Chance in Scratch means that something can happen in more than one way, and you don’t know exactly what will happen next. It's like rolling a dice – you don't know if you'll get a 1 or a 6.
How do I make a random number in Scratch?
In Scratch, you can use the "pick random" block. It picks a number between two numbers you choose, like between 1 and 4 for your weather types.
Can I make a weather simulator with more than 4 weather types?
Yes! You can use any number of weather types. Just make sure to change the numbers in your random picker to match how many types you have.
Why is it important to record weather results?
Recording results helps you see patterns. If you know that it rains a lot, you can prepare for rain, like bringing an umbrella.
How can I use my weather simulator in real life?
You can use your weather simulator to help you decide what to wear or what to do outside. If it often rains, you might always carry a raincoat!