1 of 9

Use, Create, and Set Variables with TIPP&SEE

Act 3: Unit 3.2

variable

2 of 9

UNIT 3.2 Variables

Variables are containers that hold only one value to at a time.

Who can explain what happens when this script is run?

  • What does the “set” block do?
  • Why is the “join” block necessary?

3 of 9

Variables can be used in many part of a program.

(optional)

To view the code:

bit.ly/variableuses

4 of 9

WB Page

62

VARIABLES TIPP&SEE

UNIT 3.2 Variables

WB Page

41

5 of 9

WB Page

62

WB Page

41

6 of 9

WB Page

62

WB Page

42

7 of 9

8

WB Page

42

8 of 9

Join Operator Blocks

Operator blocks are used to create sentences using variables in Scratch.

This is a “join” operator block that will join together text and variable values to create a sentence.

UNIT 3.2 Variables

If the value stored in the number variable block is 12, what sentence will the program display?

Multiple “join” blocks can be used to create longer sentences.

I ate 12 bananas

9 of 9

WB Page

62

WB Page

43

Complete the Explore task

  1. Click on the project link

  • Sign in to your Scratch account (if you are not already signed in)

  • Remix, Share and Add to the “Madlibs Practice” Studio