ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
A code block
|
|
A motion
|
|
A different way a sprite looks
|
|
A sound
|
Detailed explanation-1: -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.
Detailed explanation-2: -The pane comprises a list of all the costumes currently used by the sprite. This can be useful for creating fun and exciting animations, or for adding character to your projects. The Costume Pane in Scratch is also known as the Backdrop Pane.
Detailed explanation-3: -In the Blocks Palette, there are two blocks you can use to switch between costumes: Switch to Costume: If you want to switch to a particular costume, choose its name from the menu in this block and then click the block. Next Costume: Each time you use this block, the sprite changes to its next costume.