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

Tuesday

Test flight one
// Fix the bug, test it, graduate
⏱ about 15 min
Rocket the inventor holding his engineering tablet

Test flight one!

The fix is in, and Rocket is so excited.

He wants to fly the ship right now!

Raven smiles and holds up her logbook.

First we test it, she says.

A test flight shows if the fix really works.

Nova writes down both boxes, line by line.

WARM-UP: THE ONE-WORD FIX
  • Remember the fix.
  • Tap the answer.
if steps over 4
?
set height to 5
do check height
say height
?
Test flight one, a seven-line program

Flight one, line by line

Height starts at 3.

Steps starts at 3, just before the spot.

Steps counts to 4, then to 5.

set height to 3
set steps to 3
change steps by 1
do check height
change steps by 1
do check height
say height
A logbook: steps climbs to 5 and height stays 3 on every row

Nova keeps a two-box logbook

Each row shows both boxes.

After line 6, height still holds 3.

No drop at step 5!

TRACK FLIGHT ONE
  • Track both boxes, line by line.
  • Tap the answer.
set height to 3
set steps to 3
change steps by 1
?
set height to 3
set steps to 3
change steps by 1
do check height
?
set height to 3
set steps to 3
change steps by 1
do check height
change steps by 1
do check height
say height
?
Raven the explorer with her wrist computer

What do you notice?

The old job lowered the ship on line 6.

The fixed job does not.

One word made the difference!

Now build a short spot test.

Fill both boxes first, in either order.

BUILD THE SPOT TEST
  • Fill both boxes, count, check, then say.
1line 1
2line 2
3line 3
4line 4
5line 5
afterstepsheighttrue?
line 343?
line 453?
line 553?
line 651?
A test ship flying level all the way, with no drop

Flight one: no drop!

Word Spot: your, talk, list

Here are new sight words.

Look at each word. Say it. Spell it.

Your: Y-O-U-R.

Talk: T-A-L-K.

List: L-I-S-T.

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

Flight one passed!

A logbook can track two boxes.

Height stayed 3 the whole flight.

Tomorrow: flights two and three!

← Monday