22 terms

SBC Scratch Programming

SBC Scratch vocabulary
The order of steps
Iteration (looping)
Forever and repeat can be used for iteration (repeating a series of instructions)
conditional statements
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.
Lists (arrays)
the list blocks allow for storing and accessing a list of numbers and strings.
Event Handling
'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
keyboard input
'ask and wait' prompts users to type. 'answer' stores the keyboard input.
random numbers
'pick random' selects random integers within a given range.
boolean logic
'and, or, not' are examples of boolean logic.
dynamic interaction
'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
blocks palette
area that contains the basic blocks for programming your sprites (left column)
scripts area
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
paint editor
to creat or edit costumes and backgrounds you use a