SBC Scratch Programming
SBC Scratch vocabulary
The order of steps
Forever and repeat can be used for iteration (repeating a series of instructions)
if and if-else check for a condition
the variable blocks allow you to create variables and use them in a program. the bariables can store numbers or strings.
the list blocks allow for storing and accessing a list of numbers and strings.
'When key pressed' and 'when sprite clicked' are examples of event handling - responding to events triggered by the user or another part of the program.
threads (parallel execution)
Launching two stacks at the same time creates two independent threads that execute in parallel.
Coordination and synchronization
'broadcast' and 'when I receive' can coordinate the actions of multiple sprites. Using 'broadcast and wait' allows synchronization
'ask and wait' prompts users to type. 'answer' stores the keyboard input.
'pick random' selects random integers within a given range.
'and, or, not' are examples of boolean logic.
'mouse_x, mouse_y, loudness' can be used as dynamic input for real time interaction
user interface design
you can design interactive user interfaces in Scratch, for example, using clickable sprites to create buttons.
a user defined object (character)
to change the look of a sprite you give the sprite a different . . ..
to tell a sprite what to do such as move, play music or react, you use these
a series of instructions run from top to bottom
area that contains the basic blocks for programming your sprites (left column)
you drag blocks in, snap them together in a sequence (center column)
where you see your stories, games, and animations come to life. (right column)
by changing this you can change the appearance of the stage
to creat or edit costumes and backgrounds you use a
Upgrade to remove ads