← Back to course
Code Crew G2 / Week 08 / Tuesday
2/6
Week 08 · Jobs That Use Boxes

Tuesday

A job can change a box
// A job can read and change a box
⏱ about 15 min
Rocket the inventor holding his engineering tablet

A job can change a box!

Rocket wants the test ship to climb higher.

He adds a change line to the climb job.

Now the job changes the height box.

Then it flies up height.

Raven wonders what happens if the job runs twice.

Nova gets her logbook ready.

WARM-UP: THE JOB PEEKS
  • Read the job card and the program.
  • Tap how high Nova flies.
the climb job
the flight program
?
the climb job
the flight program
?
The climb job: change height by 1, then fly up height

The job changes the box

First the job adds 1 to height.

Then it flies up height.

set height to 1
do climb
do climb
land
A logbook: the height box holds 1, then 2, then 3

Nova keeps a logbook

The first climb flies up 2.

The second climb flies up 3.

The box grew each time!

TRACK THE BOX
  • Keep a logbook in your head.
  • Tap the answer.
the grow job
the flight program
?
the climb job
the flight program
?
the grow job
the flight program
?

Build a flight with the grow job.

The box starts at 2.

Nova must say 4.

GROW THE BOX TO 4
  • Start the box at 2.
  • Grow it, then Nova says 4.
1line 1
2line 2
3line 3
4line 4
Raven the explorer with her wrist computer

What do you notice?

The job lines stay the same.

But the box keeps changing.

A logbook shows every change.

The grow job with one line inside: change height by 2

Logbook check

set height to 1
do grow
do grow
say height
afterbox holdstrue?
set height to 11?
first do grow3?
second do grow4?
say height5?

Word Spot: tell, their, car

Here are new sight words.

Look at each word. Say it. Spell it.

Tell: T-E-L-L.

Their: T-H-E-I-R.

Car: C-A-R.

FIND THE WORD
  • Listen to the word.
  • Tap it.
Listen and find
?
Listen and find
?
Listen and find
?
Listen and find
?
FILL THE GAP
  • Listen to the sentence.
  • Tap the missing word.
Which word fits?
?
Which word fits?
?

Your jobs changed boxes!

A job can change a box.

The change stays for the next line.

A logbook tracks every change.

See you tomorrow, Crew!

← Monday