COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
To control the sprite, eg initialise a position on the stage.
|
|
To make the sprite interact with other sprites, colours or the edge of the stage.
|
|
To make the sprite move, eg 10 steps.
|
|
To make the sprite play a sound, eg meow.
|
Detailed explanation-1: -Allows your programs to detect changes in your Scratch project, for example, if a sprite is touching another sprite, or how long a timer has run for.
Detailed explanation-2: -Sensing blocks are one of the eight categories of Scratch blocks. They are color-coded light-blue, and are used to detect things. They can be used to determine the location of the mouse-pointer, its distance from other sprites, and whether a sprite is touching another sprite.
Detailed explanation-3: -Sprites can be made to move around, change their appearance, react when they touch things, and be controlled by the player. Sprites can also be programmed to talk in speech bubbles and play sounds and music. A project can have lots of sprites, and each sprite can have lots of scripts.
Detailed explanation-4: -Select the sprite you want to write code for in the bottom right of the screen, and then drag the blocks you want into the scripts area. To control the next Sprite, select the second sprite in the bottom right of the screen and write code for it.
Detailed explanation-5: -The stage is basically the background of your project. Like sprites, the stage can have different costumes that change as the story plays out. The stage window is the main area where the action of your program takes place.