# 01 - Code.org - KC Tweak

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

In deze les zitten 25 slides, met interactieve quizzen, tekstslides en 1 video.

Lesduur is: 50 min

## Onderdelen in deze les

#### Slide 5 -Tekstslide

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 9 -Tekstslide

JUST DO parts 1 to 3

A
Loop
B
Sequence
C
If Statement
D
Function

#### Slide 11 -Quizvraag

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

Rewrite your definition for what sequence means

#### Slide 12 -Open vraag

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)

A
B
C
D

A
B
C
D

A
B
C
D

#### Slide 16 -Quizvraag

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

Rewrite your definition for what iteration means

#### Slide 17 -Open vraag

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

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

TRY LESSONS 7 and 8

A
B
C
D

#### Slide 22 -Tekstslide

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

Rewrite your definition for what sequence means

A
B
C
D