Page 74 - Touchcode_C7_Flipbook
P. 74
Step 9: Click on the ‘Start the simulator’ button to run the program and view the output.
Well done, by now you have learnt to add an element in an array!
Critical Thinking
Higher Order Thinking Skills (HOTS)
Write an algorithm to find the cube of a number.
Teacher’s Corner
1. Discuss the concept of collection and arrays with students.
2. Ask students to give three real life examples of collections which work like arrays.
72 Touchcode-VII

