Page 26 - Touchcode_C8_Flipbook
P. 26
Coding uiz 03 Critical Thinking
Give one-word answer to the following questions.
a. What is the loop known as when there is a loop inside another loop? ...........................
b. Name a criterion that must be met before completing
a specific task. ...........................
Coding fact
The first instance of a software loop was created by Ada Lovelace to calculate
Bernoulli numbers.
Coding Task 01
Divisibility of a number by 7 or 9 or by both 7 and 9
In this task, you will learn to create the program which checks if a number is divisible by
7 or 9 or by both 7 and 9.
To perform the task, follow these steps:
Step 1: Visit the link: https://arcade.makecode.com/. Create a project ‘Divisibility of a
number by 7 or 9 or by both 7 and 9’, and click on ‘Create’.
Step 2: Create a variable ‘number’.
24 Touchcode-VIII

