Page 77 - Dig_CodeAI_V2.1_Class_4
P. 77
In the previous class, we have learned about a block-based visual programming language
that is Scratch. It is used to create interactive stories, animations, games, etc. Let us recall
some previously done activities and learn more about them.
Code Area/Script Area Stage
Title Bar
Tabs
Code
Blocks
Sprite
Block Palette
X and Y Coordinates
Coding Blocks
Coding blocks in Scratch are puzzle-piece shapes that are used to create codes.
There are six types of block shapes in Scratch, and each of them helps the user define steps
of animation related to the selected blocks. It also provides an interface to input the value
of movement or look of a Sprite in a project.
Block Name Shape Function
Hat Block This block helps to begin a script. It is shaped in
Rounded top and such a way that we can place blocks below it.
bumped bottom
Stack Block This block helps to place the other blocks above
and below it.
Notch at the top
and bumped bottom
Boolean Block This block is the condition block which has either
of the two values, True or False, so it helps to take
Hexagonal shaped
a decision.
Reporter Block This block is the value block that can hold numbers
Rounded edges and strings.
C-Block This block loops the other blocks within it. It is
also called a wrap block. This block is also used to
C shaped repeat an action.
Blocks in Scratch 75

