Instructions
Welcome to your Scratch Coding Maths worksheet! Today, you'll use Scratch to solve some fun math problems. Follow the steps carefully.
Part 1: Create Your Sprite
- Open Scratch and create a new project.
- Create a new sprite. You can draw your own, choose one from the library, or upload an image.
- Name your sprite something fun related to math, like "Math Wizard" or "Calculator Cat".
Part 2: Set Up Your Project
- Add a background. Choose something that inspires you, like a classroom, outer space, or underwater.
- Click on your sprite and go to the code area.
Part 3: Coding Math Questions
We will create a simple quiz that asks two math questions. Follow these steps to code the quiz:
- Use the "when green flag clicked" block to start your project.
- Add a "say" block and type your first question:
- "What is 5 + 3?"
- After the question, use the "ask" block to ask for the answer:
- Write: "Type your answer:"
- Use an "if" block to check if the answer is correct:
- In the condition, use "answer = 8".
- If the answer is correct, make your sprite say "Correct! Awesome job!"
- If it's wrong, make your sprite say "Oops! Try again!"
Part 4: Add Another Question
- Repeat the steps for a second question:
- Ask: "What is 12 - 4?"
- Check if the answer is 8 again:
- Give positive feedback if they are correct and encouragement if they are wrong.
Part 5: Share Your Project
Once you've finished coding, test your project! If it works, share it with your friends or your teacher. You can even create more questions if you want!
Bonus Challenge:
Add a feature that counts how many answers your sprite got right and display that at the end of the quiz! How can you do this?