01 - Code.org - KC Tweak

1 / 25
next
Slide 1: Slide
ComputingLower Secondary (Key Stage 3)

This lesson contains 25 slides, with interactive quizzes, text slides and 1 video.

time-iconLesson duration is: 50 min

Items in this lesson

Slide 1 - Slide

Slide 2 - Mind map

Slide 3 - Slide

Slide 4 - Slide

Slide 5 - Slide

Setting up - Code.org
login with Google and click "My Dash Board" near the code.org logo in the top left. Scroll to the bottom to the "Add a section" box and enter the following code - RJTZYP

Slide 6 - Slide

Slide 7 - Video

Slide 8 - Slide

Slide 9 - Slide

JUST DO parts 1 to 3

Slide 10 - Slide


A
Loop
B
Sequence
C
If Statement
D
Function

Slide 11 - Quiz

You have been coding in “sequence”
You have 1 min FIT time

Rewrite your definition for what sequence means

Slide 12 - Open question

Repeating
Sometimes you need to repeat (loop) code
It is more efficient (less code)
We call this "Iteration"

TRY THE REST OF STAGE 2 (Also STAGE 3 - Artist)

Slide 13 - Slide


A
B
C
D

Slide 14 - Quiz


A
B
C
D

Slide 15 - Quiz


A
B
C
D

Slide 16 - Quiz

You have been coding in “iteration”
You have 1 min FIT time

Rewrite your definition for what iteration means

Slide 17 - Open question

Selection (Branching)
Sometimes we only want to run code when a certain thing has happened
For example in a game your game is over if you die in it
In coding we call this "Selection"
We us IF / ELSE structures to handle this

Slide 18 - Slide

IF ELSE example
If its raining
    use an umbrella
Else
    don't use an umbrella

If the bee is on a flower
    take some pollen
Else
    move forward to next space


Slide 19 - Slide

TASK
TRY LESSONS 7 and 8

Slide 20 - Slide


A
B
C
D

Slide 21 - Quiz

Slide 22 - Slide

You have been coding in “selection”
You have 1 min FIT time

Rewrite your definition for what sequence means

Slide 23 - Open question


A
B
C
D

Slide 24 - Quiz

Slide 25 - Slide