Page 87 - Touchcode_C6_Flipbook
P. 87
Step 16: Change the value of 1 to 10, in the 'Change a by 1' block.
Step 17: Change the value of a to 15 and click on the 'Start the simulator' button to see the
output.
Critical Thinking
Higher Order Thinking Skills (HOTS)
Create a program in MakeCode Arcade to find the square of a number.
Concept: The square of a number is the result of multiplying the number by itself. In other
words, when a number is multiplied by itself, the outcome is called the square of that number.
For example square of 5 is 25, (5x5=25).
Teacher’s Corner
1. Discuss the different types of loops with the students by using real-life examples.
2. Ask students to come up with real-life examples of Nested loop.
Loops Using Block Coding 85

