← Back to course
Code Crew G2 / Week 08 / Monday
1/6
Week 08 ยท Jobs That Use Boxes

Monday

A job can peek in a box
// A job can read and change a box
โฑ about 15 min
Rocket, Raven, and Nova the drone-bird together

Jobs meet memory boxes!

Last week the crew learned to name a job.

A job is a group of lines with a name.

Today Rocket has a new question.

Can a job use a memory box?

Raven thinks the auto-pilot jobs use boxes.

Nova is ready to test it.

WARM-UP: NAME A JOB
  • Read the job card and the program.
  • Tap the answer.
the takeoff job
?
the takeoff job
the flight program
?
the takeoff job
the flight program
?
The climb job with one line inside: fly up height

A job peeks in a box

The climb job has one line.

It says fly up height.

It peeks in the height box.

set height to 3
do climb
flash lights
land

Set height to 3 fills the box.

Do climb runs the job.

The job finds 3 and flies up 3!

Raven the explorer with her wrist computer

What do you notice?

The job never says a number.

It flies whatever the box holds.

HOW HIGH DOES THE JOB FLY?
  • Read the job card, then the program.
  • Tap how high Nova flies.
the climb job
the flight program
?
the climb job
the flight program
?
the climb job
the flight program
?

Now you build it.

The climb job must fly up 3.

Then flash the lights and land.

BUILD THE CLIMB FLIGHT
  • Fly up 3, flash, then land.
  • Fill the box before the job.
1line 1
2line 2
3line 3
4line 4
A memory box named height holding the number 5

Same job, new number

flight programflies up 3?
set height to 3, do climb?
set height to 5, do climb?
do climb, set height to 3?
set speed to 3, do climb?

Word Spot: sit, sleep

Here are new sight words.

Look at each word. Say it. Spell it.

Sit: S-I-T.

Sleep: S-L-E-E-P.

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 can peek!

A job can peek in a box.

Fill the box, then do the job.

Same job, new number, new flight!

Great work, Crew!