Exploring Functions: Quest and Plan
Act 3: Unit 3.7
Functions Review
What is a function?
UNIT 3.7
Why do computer programmers use functions?
How do you decide on a name for a function?
What do you click on in Scratch to create a function?
a sequence of steps that can be used multiple times in a program
it makes code: more efficient, run faster, use less energy, better organized, can be use multiple times
use one or two words that describe what the function does
My Blocks, then Make a block
Function: Draw a shape
UNIT 3.7
WB Page
WB Page
59
Functions: Quest
UNIT 3.7
WB Page
60
Functions: Quest
UNIT 3.7
WB Page
60
UNIT 4.1 Variables
TURN AND TALK
UNIT 3.7
What challenges did you have with creating and using functions in the Quest?
Does anyone want to volunteer to display your fun designs if you were able to complete the “If you finish early” tasks?
Plan: Dancing Functions
UNIT 3.7
WB Page
WB Page
60
Dancing Functions Planning Guide
UNIT 3.7
Time to create a Dancing Sprite project! You will build scripts using functions and if, then, else conditions to make the sprite do different dance moves.
Dancing Functions Planning Guide
UNIT 3.7
WB Page
WB Page
60
Dancing Functions Planning Guide
UNIT 3.7
WB Page
WB Page
60