Page 107 - TP_Plus_v4_Class4
P. 107
Relational Operators
Scratch has three operators that allow you to compare the relationship between two values or
variables. It will compare two numbers and decide whether it is true or false.
The three relational operators are:
greater than
Similarly, you can use the other blocks to perform less than and equals to
.
Logical Operators
Using logical operators, you can combine two or more relational operators to produce a single
true/false result. These blocks allow you to further refine your comparison of values.
The result is true only if the two expressions are true
The result is true if either of the expressions is true
The result is true only if the expression is false
Experiential Learning
#Logical operators
Write the answer as True or False. Consider the AND and OR as logical operators:
1. (I am a girl) AND (I am 9 years old)
2. (I am a girl) OR (I am 9 years old)
3. (I am a boy) AND (I am 9 years old)
4. (I am a boy) OR (I am 9 years old)
5. (I am in Grade V) AND (I live in India)
#Activity
SENSING BLOCKS
Sensing blocks in Scratch sense the input from the keyboard or the mouse at the time of
execution of a script. They are cyan in color. Some of the sensing blocks and their functions
are given below:
#Conditional Blocks in Scratch 105

