← Back to course
Code Crew G2 / Week 12 / Wednesday
3/6
Week 12 Β· Ship the Fix

Wednesday

Flights two and three
// Fix the bug, test it, graduate
⏱ about 15 min
Rocket the inventor holding his engineering tablet

Two more test flights!

Flight one passed, and Rocket cheers.

But Raven wants more proof.

One test is good. Three tests are better.

Flight two starts low, at height 2.

Flight three starts right at the edge, at 4.

Will the ship stay level every time?

WARM-UP: TWO BOXES
  • Track both boxes.
  • Tap the answer.
set height to 3
set steps to 4
change steps by 1
?
set height to 3
set steps to 5
do check height
say height
?
Raven the explorer with her wrist computer

Why test three flights?

Try a low number.

Try a middle number.

Try the number right at the edge.

set height to 2
set steps to 3
change steps by 1
do check height
change steps by 1
do check height
say height
FLIGHT TWO
  • Read flight two.
  • Tap the answer.
set height to 2
set steps to 3
change steps by 1
do check height
change steps by 1
do check height
say height
?
set height to 2
set steps to 5
if height over 4
?
A logbook: steps climbs to 5 and height stays 4 on every row

Flight three: right at the edge

Height starts at 4.

Is 4 over 4? No, it is the same.

So the ship stays at 4.

set height to 4
set steps to 3
change steps by 1
do check height
change steps by 1
do check height
say height
FLIGHT THREE AND A TRICKY ONE
  • Run the job each time it appears.
  • Tap what Nova says.
set height to 4
set steps to 3
change steps by 1
do check height
change steps by 1
do check height
say height
?
set height to 5
set steps to 3
change steps by 1
do check height
change steps by 1
do check height
say height
?

Now build a too-high test.

Start the ship at height 6.

BUILD THE TOO-HIGH TEST
  • Fill the box, check it, say it, land.
1line 1
2line 2
3line 3
4line 4
flightstarts atNova saystrue?
flight 1height 33?
flight 2height 20?
flight 3height 42?
too highheight 64?

Word Spot: song, being

Here are new sight words.

Look at each word. Say it. Spell it.

Song: S-O-N-G.

Being: B-E-I-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

Three flights, no drops!

Test low, middle, and the edge.

Every flight stayed level.

The fix works!

← Tuesday