Class 7 Chap 7 and 8
Class 7 Chap 7 and 8
4. a) It is a small graphic object that moves on the stage. In a new file, it is displayed as an
Orange cat. The sprite moves, plays music and executes other functions as per the coded blocks.
b) The block palette is where the different script blocks are located. The blocks are dragged from
the Block Palette to the script area in order to make a project.
e) There are ten categories of blocks: Motion, Looks, Sound, Event, Control, Sensing, Operators,
Variables, List, and My Blocks.
Motion blocks - Motion blocks are the blocks that control a Sprite's movement. There are 18
Motion blocks in Scratch 3.0.
Looks blocks - Looks blocks are the blocks that control how a sprite looks. There are 23 Looks
blocks in Scratch 3.0.
Sound blocks - Sound blocks are the blocks that control sound. There are 9 Sound blocks in
Scratch 3.0. The note blocks in 3.0 have been moved to the Music Extension.
Events blocks - Events blocks are blocks that control events and the triggering of scripts. There
are 8 Event blocks in Scratch 3.0.
Control blocks - Control blocks are the blocks that control scripts. There are 11 Control blocks in
Scratch 3.0.
Sensing blocks - Sensing blocks are the blocks that detect things. There are 18 Sensing blocks in
Scratch 3.0.
Operators blocks - Operators blocks are the blocks that perform math functions and string
handling. There are 18 Operators blocks in Scratch 3.0.
Variables blocks - Variables blocks are the blocks that hold variables and lists. There are 5
Variables blocks and 11 list blocks in Scratch 3.0.
List blocks - List blocks are the blocks that manage lists. They are located in the Variables
category and are not found in the bar to the left. There are 12 List blocks in Scratch 3.0.
My Blocks - My Blocks (also known as Custom Blocks), are user-made custom blocks. There are 4
different, unique kinds of My Blocks in Scratch 3.0.
CH – 8
d) A ‘logical operator’ can be a symbol or word that is used to connect two or more
expressions. It is used in programming to compare the expressions to find out whether
the expression is true or false.
Most commonly used logical operators,
1. AND
2. OR
3. NOT
e) In Scratch there are three logical operators, 'and', 'or', and 'not'.
i) AND: The ‘and’ operator is only true if both the statements in the ‘and’ block result as true. It
takes two expressions as parameters if both expressions are true then the block runs as true
otherwise, it returns as false.
ii)OR: Just like the operator ‘and’, ‘or’ operator uses two parameters as well but in this case,
both the statements need not be true. If either of the statement is true the ‘or’ operator runs
true. It results in false only if both the statements are false.
Iii) NOT: Unlike ‘and’ & ‘or’ operators, this operator takes only one statement as the input. The
result of the operator is true if the given expression is false and false if the given expression is
true.