Page 129 - Computer Genius Class 05
P. 129
Information Literacy
Quest
Match the following blocks with their outputs:
1. a. Answer is: 3
7 4
2. b. Answer is: 5
7 4
3. c. Answer is: 2
10 2
4. d. Answer is: 11
11 3
Let's REFRESH
l Operators are the action elements of a computer program. They perform actions such as
adding two variables, dividing one variable by another variable, comparing one variable to
another variable, etc.
l ‘Round-up’ is a math feature majorly used in shopping bills to find the nearest upper value.
l Loops are command blocks in AI connect that can put sets of code in repetitive cycles in
order to reduce the steps of the program.
l ‘Loop’ command blocks can be used to print out many useful things that need repetition like
multiplication table, timers, data filling, etc.
Math Operators and Loops 127

