01 - Code.org - KC Tweak

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

Cette leçon contient 25 diapositives, avec quiz interactifs, diapositives de texte et 1 vidéo.

time-iconLa durée de la leçon est: 50 min

Éléments de cette leçon

Slide 1 - Diapositive

Slide 2 - Carte mentale

Slide 3 - Diapositive

Slide 4 - Diapositive

Slide 5 - Diapositive

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

Slide 7 - Vidéo

Slide 8 - Diapositive

Slide 9 - Diapositive

JUST DO parts 1 to 3

Slide 10 - Diapositive


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 - Question ouverte

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


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 - Question ouverte

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

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

TASK
TRY LESSONS 7 and 8

Slide 20 - Diapositive


A
B
C
D

Slide 21 - Quiz

Slide 22 - Diapositive

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

Rewrite your definition for what sequence means

Slide 23 - Question ouverte


A
B
C
D

Slide 24 - Quiz

Slide 25 - Diapositive