Updated: Dec 3, 2021
This is a quiz project. Math questions will display in the screen followed by answers. There will be one right answer and 3 wrong answers. These answers display in random positions. User must select the answer. If user clicks on right answer, there will be a voice says correct answer and if the user clicks on wrong answer there will be a voice says wrong answer. After that second question will display.
You should be familiar with below 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, Text to speech.
Step 1: Imagine the project
This is only a sample. You can imagine different ways for the same project. Sky is the limit for your imagination.
Step 2: Design the project
For this quiz project we are going to use backdrops as well as sprites and code blocks.
1. Decide the backdrops you want to have it. In our case we have 1 back drop.
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, display sprites in a random position, sound effects for sprites
4. How you control the screen changes. In our case we are using internal broadcast to control.
5. Decide what are the blocks you want to use. In our case Looks blocks, Events blocks, control blocks, Motion blocks, Text to speech blocks
Step 3: Prepare coding cards
For this please refer the scratch site - https://scratch.mit.edu/ideas to get idea.
Step 4: Start to develop the code
Step 4.1: Go to https://scratch.mit.edu and sign in with your username and password.
Step 4.2: Click on create and go to scratch editor
Step 4.3: Give the name to the project
Step 4.4: By default, cat is the sprite. Select that and delete.
Step 4.5: For the existing backdrop add 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
Step 4.8: Add a new sprite using paint. This is a correct answer sprite.
Step 4.9 Add below code to the above sprite
Step 4.10: Add new sprite using paint. This is the first wrong answer.
Step 4.11: Add the below code to the above sprite
Step 4.12: Repeat the 4.10 and 4.11 to add more wrong answers
Step 4.13: Add a new sprite with paint for Second question do the steps from 4.6 to 4.12
You can remix this project and make your own.