← Back to course
Code Crew G1 / Week 07 / Thursday
4/6
Week 07 Β· If, Then

Thursday

The if goes inside
// Check first, then act
⏱ about 15 min
Rocket the inventor holding his engineering tablet

The if goes inside!

Today: a five line program.

The if sits in the middle.

Trace what runs. Trace what skips!

WARM-UP: QUICK MATCH
  • Look at the moment.
  • Tap the check that fits.
a wall
?
a friend
?
A five line program with the if-then pair in the middle

Read the whole program

Two moves come first.

Then the check, then maybe a turn.

Stop always ends it.

Raven the explorer with her wrist computer

What do you notice?

The moves always run.

The stop always runs.

Only the then-line changes!

Nova the drone-bird hovering with glowing eyes

Nova runs it both ways

Wall day: glide, glide, turn, stop.

Open day: glide, glide, stop.

Same lines, two trips!

move right
move right
if wall,
then turn around
stop
TRACE THE RUN
  • Pick a day: wall or open.
  • Tap what runs.
the hallway program
?
the hallway program
?
the hallway program
?

Now a six line build!

Climb first, check at the top.

You are ready.

THE ROOFTOP PROGRAM
  • Climb, check, turn.
  • Then glide to the end.
1line 1
2line 2
3line 3
4line 4
5line 5
6line 6
lineruns with no wall?
move right?
if wall,?
then turn around?
stop?

Word Spot: different, home

Here are new sight words.

Look at each word. Say it. Spell it.

Different: D-I-F-F-E-R-E-N-T.

Home: H-O-M-E.

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

Trace master!

The check always runs.

The then waits for true.

You traced both trips!

← Wednesday