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

Thursday

Every big idea
// Fix the bug, test it, graduate
⏱ about 15 min
Rocket, Raven, and Nova the drone-bird together

Look back at every idea

The bug is fixed, and the ship flies level.

Tomorrow the crew flies it just for fun.

But first, Raven opens her big logbook.

It holds every idea from the whole course.

Boxes, loops, checks, jobs, and bug hunting.

Let us look back at how far you came!

WARM-UP: TEST THE EDGE
  • Think about the fixed job.
  • Tap the answer.
set height to 4
set steps to 5
if height over 4
?
set height to 6
do check height
say height
?
A board of seven big coding ideas from the course

Seven big ideas

Boxes hold numbers.

Loops repeat a line. Checks ask a question.

Jobs give lines a name.

BIG IDEA QUIZ
  • One round for each big idea.
  • Tap the answer.
set height to 5
lower height by 2
say height
?
set count to 0
repeat 3 times:
change count by 1
say count
?
set height to 2
if height over 3
then land
otherwise say safe
?
the takeoff job
set height to 2
do takeoff
?
Nova the drone-bird hovering with glowing eyes

The bug-hunt method

Keep a logbook.

Run part of the program.

Check each box.

Find the first wrong line.

ORDER THE BUG-HUNT METHOD
  • Put the four steps in order.
1step 1
2step 2
3step 3
4step 4
A nine-line program that uses every big idea

Read nine lines

set height to 2
set steps to 0
repeat 3 times:
change steps by 1
do check height
if steps is 3
then say steps
otherwise say safe
land
READ THE WHOLE PROGRAM
  • Track both boxes.
  • Tap the answer.
set height to 2
set steps to 0
repeat 3 times:
change steps by 1
?
set height to 2
set steps to 0
repeat 3 times:
change steps by 1
do check height
?
set height to 2
set steps to 0
repeat 3 times:
change steps by 1
do check height
if steps is 3
then say steps
otherwise say safe
land
?
coder ideatrue?
A box holds one number at a time.?
Otherwise runs when the check is true.?
A job runs when a line says do.?
The auto-pilot bug was in a say line.?
Raven the explorer with her wrist computer

What do you notice?

Every big idea helped fix the bug.

Nothing you learned was wasted!

Word Spot: leave, family, it's

Here are new sight words.

Look at each word. Say it. Spell it.

Leave: L-E-A-V-E.

Family: F-A-M-I-L-Y.

It's: I-T-S.

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

You remember it all!

Seven big ideas, all yours.

You read a nine-line program!

Tomorrow: fly the fixed ship!

← Wednesday