← Back to course
Code Crew G2 / Week 11 / Thursday
4/6
Week 11 Β· Find the Auto-pilot Bug

Thursday

Find the fix
// The check reads the wrong box
⏱ about 15 min
Rocket the inventor holding his engineering tablet

Find the fix!

Yesterday Raven spotted something big.

The check height job reads the steps box.

Today the crew makes sure with the logbook.

Then they look for the fix.

Nova says the best fix is small and exact.

WARM-UP: WHICH BOX?
  • Read the lines.
  • Tap the answer.
job check height:
if steps over 4
then:
lower height by 2
?
set height to 3
if height over 4
?
A flight logbook where step 5 is the first wrong row

The first wrong step

Steps 1 to 4 match the plan.

Step 5 is the first wrong row.

So we zoom in on step 5.

Nova the drone-bird hovering with glowing eyes

Zoom in on step 5

Height is 3. Steps is 5.

The ship is not too high.

So the check should be false.

job check height:
if steps over 4
then:
lower height by 2
FIND THE FIRST WRONG LINE
  • Walk through the job at step 5.
  • Tap the answer.
job check height:
if steps over 4
then:
lower height by 2
?
job check height:
if steps over 4
then:
lower height by 2
?
job check height:
if steps over 4
then:
lower height by 2
?
The word steps is crossed out and height is written above it

One word makes the fix

Swap steps for height.

Now the check reads the right box.

It is only one word!

WRITE DOWN THE FIXED JOB
  • Build the fixed check height job.
  • The if line must read height.
1line 1
2line 2
3line 3
4line 4
Raven the explorer with her wrist computer

What do you notice?

Clue one fits. Steps 5 is the first over 4.

Clue two fits. The bug is inside check height.

heightstepslowers?
35?
61?
45?
52?

Word Spot: mountains, cut, young

Here are new sight words.

Look at each word. Say it. Spell it.

Mountains: M-O-U-N-T-A-I-N-S.

Cut: C-U-T.

Young: Y-O-U-N-G.

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?
?
Rocket, Raven, and Nova the drone-bird together

You found the bug!

The bug: if steps over 4.

The fix: if height over 4.

Nova saves the fix for next week.

← Wednesday