THE WESTMINSTER SCHOOL, DUBAI
Year-6 ICT
Date: ------------- Topic: Scratch Programing: Reusing the code(Lab)
Plan B-Worksheet
1. Open scratch program.
2. Make 2 variables as Total and Average .
3. Set the value of the variable total to 0.
4. Use repeat block to repeat 10 times to calculate the total.
5. Ask a question to enter a number by using the ask block.
6. Set variable total to add total and answer by the add operator block.
7. Use the say block along with the join operator and the total block.
8. Set variable average to get the average by dividing total by number 10
9. Output the average by using the say block along with the join operator
and the average block.
10. If the total is greater than 50 change the color effect.
11. If the average is equal to 10 play any sound.
12. Find the average of 20 numbers input by the user
[Link] your work on the Padlet