noUnit 4 Lesson 1 Activity Guide

Complete this with your partner in class

Step 1: Explore the apps on Level 1-3 in Code Studio.

Write down two examples where the app seems to be keeping track of a piece of information or using it to make a decision:

The amount of clicks produced for the first one

For the second one it kept track of the words you chose to make your poem

Step 2: Operators

If absent, make a copy of the digital manipulatives to use for this lesson.

154 “TBH”

9

 

1

“treehouse”

“your”

“3D”

Step 3:  Variables

           

12

beep

be4

Step 4:  Variables in programs

Code

Value of Variables

00 var pizza

01 pizza ← 3

02 var tacos

03 pizza ← “yum”

04 tacos ← “the best”

No value-pizza

3- pizza

No value-tacos

pizza-yum

tacos- the best

Code

Value of Variables

00 var zow

01 var fly

02 fly ← “to” + “day”

03 zow ← 4 - 1

04 fly ← 3 * 3

05 zow ← 4 + “now”

Zow- No Value

Fly- no value

Fly- today

Zow- 3

Fly- 9

Zow- “4now”

Code

Value of Variables

00 var fuzz

01 var clip

02 fuzz ← 5

03 clip ← fuzz + 2

04 fuzz ← clip + 1

05 clip ← “gr” + fuzz

06 fuzz ← fuzz + 1

07 fuzz ← fuzz + 1

08 fuzz ← fuzz + 1

Fuzz-no value

Clip- no value

Fuzz- 5

Clip-7

Fuzz- 8

Clip- “gr8”

Fuzz-9

Fuzz-10

Fuzz-11