← Back to course
Code Crew G2 / Week 10 / Saturday
6/6
Week 10 Β· The Bug-Hunt Method

Saturday

Crew Quest: be the bug hunter
// Four steps to find a bug
⏱ about 15 min
Rocket, Raven, and Nova the drone-bird together

Crew Quest time!

It is the weekend, Code Crew.

Today you make two paper memory boxes.

Your grown-up helper will act out the lines.

One line in the quest program is a bug.

Can you find it with the four steps?

Two empty memory boxes named count and steps

Make two memory boxes

Find two cups or small boxes.

Make name tags: count and steps.

Write 0 to 5 on little papers.

The quest program with six lines

The quest program

set count to 2
clap count times
set steps to 0
change count by 2
change steps by 1
clap count times

The plan: 2 claps, then 3 claps.

Read one line. Update your cups.

Your grown-up claps when a line says clap.

The four steps of the bug-hunt method

Use the four steps

Stop after line 2. Were there 2 claps?

Keep going. Check both cups.

Find the first row that does not match.

Level up: fix it

Tell your grown-up the fix.

Run it again. Count the claps!

β—‡ CREW QUEST
Make two memory boxes with a grown-up.
Read the program one line at a time.
Use the four steps to find the bug.
See you Monday, Crew!

Word Spot: Word Hunt

Pick a book with a grown-up.

Hunt for these sight words.

Use: U-S-E.

Very: V-E-R-Y.

Wash: W-A-S-H.

Which: W-H-I-C-H.

Later: L-A-T-E-R.

Miss: M-I-S-S.

Idea: I-D-E-A.

Enough: E-N-O-U-G-H.

Face: F-A-C-E.

Watch: W-A-T-C-H.

Far: F-A-R.

Point to each word you find.

Read it out loud. Count your finds!

Quest started!

Keep the logbook. Count every clap.

Find the first wrong line.

Have fun this weekend!

← Friday