top of page

Project 6: Math “Add Numbers”

Updated: Nov 9, 2022

This is a quiz project. Math questions will display on the screen followed by answers. There will be one right answer and 3 wrong answers. These answers display in random positions. The user must select the answer. If the user clicks on the right answer, there will be a voice saying "correct answer" and if the user clicks on the wrong answer there will be a voice saying "wrong answer". After that second question will display.


You should be familiar with coding blocks, backdrops, and sprites

1. Add/change new backdrops

2. Add/change new sprites

3. Familiar with looks blocks, Events blocks, Control blocks, Motion blocks, and Text to speech.

Step 1: Imagine the project

This is only a sample. You can imagine different ways for the same project. The sky is the limit to ,your imagination.

Step 2: Design the project

For this quiz project we are going to use backdrops, sprites, and code blocks.

1. Decide the backdrops you want to have it. In our case, we have 1 backdrop.

2. Decide the sprites you want to have it. In our case 10 sprites (it depends on how many questions you are going to add).

3. Decide what are the main animations you want to do it. In our case changing sprites, displaying sprites in a random position, and sound effects for sprites

4. How you control the screen changes. In our case, we are using internal broadcast to control.

5. Decide what blocks you want to use. In our case Looks blocks, Events blocks, control blocks, Motion blocks, and Text to speech blocks

Step 3: Prepare coding cards

For this please refer to the scratch site - to get an idea.

Step 4: Start to develop the code

Step 4.1: Go to and sign in with your username and password.

Step 4.2: Click on create and go to the scratch editor

Step 4.3: Give the name of the project

Step 4.4: By default, the cat is the sprite. Select that and delete it.

Step 4.5: For the existing backdrop add the below code

Step 4.6: Add a sprite using paint This is a question. You can type any number you want.

Step 4.7 Add the below code to the above sprite