All questions of Scratch Programming for Class 10 Exam
The Switch Costume to () block is a Looks block and a Stack block that changes its sprite's costume to a specified one. This block is used whenever a sprite must switch to a specific costume (instead of the next costume block, which only switches to the next costume in the costume list).
The When Green Flag Clicked block, commonly called the Start Block, is an Events block and a Hat block. Scripts that wear this block will activate once the Green Flag has been clicked — these scripts can activate other scripts and enable the entire program.
A script is defined within the Scratch program as one or a set of blocks that begins with a Hat Block. Even a single block can qualify. However, scripts are usually referred to as sets of blocks that consist of at least two blocks.
Scratch is a visual programming language created by the MIT Media Lab in 2007. Its drag-and-drop interface with colorful blocks makes it one of the most intuitive programming languages to learn.
A backdrop is an image that can be shown on the Stage. It is similar to a costume, except that it is shown on the stage instead. They are located in the backdrops library. The Stage can change its look to any of its backdrops using the Switch Backdrop to () block.
The move () steps block is a stack block and a Motion block. The block moves its sprite forward the specified amount of steps in the direction it is facing. A step is equal to a one-pixel length. The Default Value is 10 and can be replaced by any number.
Tempo is measured in BPM, or beats per minute. One beat every second is 60 BPM. Sometimes the tempo is written at the beginning of the music and is called a metronome marking. Tempo and stylistic feel are often indicated in classical music by Italian terminology.
A costume is one out of possibly many "frames" or alternate appearances of a sprite. Sprites can change their look to any of its costumes. They can be named, edited, created, and deleted, but every sprite must have at least one costume.
The Forever If () block was a Control block and a C block. The block would continuously check its Boolean condition. If the condition is true, the code held inside the block would run, and then the script continues, but if the condition is false, nothing would happen until it becomes true again.
Correct answer is B sprite
The Stage can change its look to any of its backdrops using the Switch Backdrop to () block.
A script is a collection or stack of blocks that all interlock with one another. The blocks and their order are very important, as they determine how sprites interact with each other and the backdrop.
Unlike Scratch 1.4 files, Scratch 2.0 files are ZIP archives containing project information encoded in a text-based format called JSON and project media in separate files. Projects conventionally have the extension . sb2 , and sprites the extension . sprite2 .
Motion blocks is one of the ten categories of Scratch blocks. They are color-coded medium-blue and are used to control a sprite's movement. They are available only for sprites. There are currently 18 Motion blocks: 15 stack blocks and 3 reporter blocks.
Control blocks is one of the nine categories of Scratch blocks. They are color-coded gold, and are used to control scripts. In Scratch 1.4 and earlier, this category also included the blocks that are now Events Blocks.