6. The Vocabulary
Program: An algorithm that has been coded
into something that can be run by a machine
A program in Scratch.
7. The Vocabulary
● Event: An action that causes something to
happen
(Raising your hand, clicking on a link on a
webpage, pushing a button on a video game)
8. The Vocabulary
● Main Function: The event that kicks off the
entire program
http://scratch.mit.edu/projects/1219
9099/
9. The Vocabulary
● Loop: The action of doing something over
and over again
Loops include the
‘forever’ and
‘repeat’ blocks.
10. The Vocabulary
● Condition: Statements that only run under
certain conditions and situations
Conditions include the
‘if...then’ and ‘repeat until’
blocks.
http://scratch.mit.edu/projects/12199100/
11. The Vocabulary
● Decompose: Break a problem down into
smaller pieces
http://scratch.mit.edu/projects/2016536/
12. Your Challenge
Create a program with:
● A main function
● An event that occurs when the spacebar is
pressed
● A condition