Write down three types of script blocks. e.g. Control blocks (mention three other).
Answers
Types of Blocks
All actions in scratch are made with scripts. Scripts are what bring your backgrounds and sprites to life. Scripts are made up of code blocks stacked together. Having a better understanding of these blocks will make it easier for you to build your programs.
3 Types of Code Blocks
In total, there are more than 100 different Scratch blocks. All of these code blocks can be put into 1 of 3 categories:
Stack BlocksHat BlocksReporter Blocks
Stack Blocks
Most of the code blocks provided by Scratch are stack blocks. Stack blocks are code blocks with a notch at the top and a bump at the bottom. The notches and bumps show you how the blocks can be snapped together, like Lego, to create a script.
Hat Blocks
A hat block is a code block with a rounded or curved top and a bump at the bottom, showing you that it can be snapped on top of other stack blocks. Hat blocks provide the ability to create event-driven scripts. An event-driven script is one that executes when a specified event occurs. For example, when the green flag is clicked do this action.
Reporter Blocks
A reporter block is a code block that has either rounded or angled sides and is designed to provide information for other code blocks to process. For example, the location of the sprite along the x-y axis. These kinds of blocks fit inside other blocks and have no notch and bump on the top and bottom.
8 Categories of Blocks
Scratch provides access to over 100 code blocks. These code blocks are organized into eight categories and are made available on the blocks palette. Each of these categories of code blocks is described in the following list:
Motion: Code blocks that control sprite placement, direction, rotation, and movement.Looks: Code blocks that affect sprite and background appearance and provide the ability to display text.Sound: Code blocks that control the playback and volume of musical notes and audio files.Pen: Code blocks that can be used to draw using different colors and pen sizes.Control: Code blocks that trigger script execution based on predefined events, repeatedly execute programming logic using loops, and perform conditional logic.Sensing: Code blocks that can be used to determine the location of the mouse-pointer, its distance from other sprites, and whether a sprite is touching another sprite.Numbers: Code blocks that perform logical comparisons, rounding, and other arithmetic operations.Variables: Code blocks that can be used to store data used by applications when they execute.
Answer:
Sound, Pen, Data
Explanation:
Sound- Play different sounds, stop, change volume and tempo.
Pen- Blocks for drawing ( lines etc.); Make pen up, down, clear, change color and size
Data- Blocks for storing and accessing data.