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

Wednesday

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

Fill the box first!

Rocket wrote a program very fast.

He put the do line at the top.

Nova ran the climb job right away.

But the ship did not fly up at all!

Raven says, let us investigate.

Nova says, would you like a hint?

WARM-UP: THE JOB CHANGES
  • Track the box.
  • Tap what Nova says.
the grow job
the flight program
?
the grow job
the flight program
?
Rocket fast program: do climb runs before the set line

The job ran too early

Do climb runs before the set line.

The box is still empty.

Nova has nothing to fly with!

The hop job: fly up height, then land

Meet the hop job

set height to 1
do hop
set height to 4
do hop

The first hop flies up 1.

Then a set line swaps in 4.

The second hop flies up 4!

WHAT IS IN THE BOX?
  • Check the box when the job runs.
  • Tap the answer.
the climb job
the flight program
?
the climb job
the flight program
?
the hop job
the flight program
?

Time to build!

The report job makes Nova say height.

Make Nova say 2, then say 5.

SAY 2, THEN SAY 5
  • Set the box before each do line.
  • Nova says 2, then 5.
1line 1
2line 2
3line 3
4line 4
Two jobs: ready sets height to 4, climb flies up height

A job can fill a box

TRICKY ONES!
  • Which job runs first?
  • Tap how high Nova flies.
the ready job
the climb job
the flight program
?
the ready job
the climb job
the flight program
?

Word Spot: miles, night, walked

Here are new sight words.

Look at each word. Say it. Spell it.

Miles: M-I-L-E-S.

Night: N-I-G-H-T.

Walked: W-A-L-K-E-D.

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?
?

Set it, then do it!

A job peeks when it runs.

Set the box, then do the job.

A new set line changes the next run.

Great work, Crew!

← Tuesday