Microbits - 7B4

Microbits
1 / 15
suivant
Slide 1: Diapositive

Cette leçon contient 15 diapositives, avec quiz interactifs et diapositives de texte.

Éléments de cette leçon

Microbits

Slide 1 - Diapositive

KO: To be-able to understand what a loop is in programming
All
- To identify a loop in programming.

Most
- To explain what a loop is.

Some 
- To be-able to create a program using a loop.

Slide 2 - Diapositive

V
A
R
I
A
B
L
E

Slide 3 - Question de remorquage

L
O
O
P
S

Slide 4 - Question de remorquage

Microbit website

Slide 5 - Diapositive

Task 1: While Loop
Creating a line on the microbit!

Slide 6 - Diapositive

Programming on your own

Slide 7 - Diapositive

Task 2: Repeating 

Slide 8 - Diapositive

Task 2: Repeating / Solution

Slide 9 - Diapositive

Task 3: For Loop

Slide 10 - Diapositive

Task 3: For Loop / Solution

Slide 11 - Diapositive

What is a loop in programming?
A
A function that returns a value.
B
A single instruction that is executed once.
C
A variable that can change its value.
D
A sequence of instructions that is repeated.

Slide 12 - Quiz

What is a variable in programming?
A
A named value that stores data.
B
A programming language.
C
A type of loop in code.
D
A type of bug in code.

Slide 13 - Quiz

What are the two different loops we have looked at today?

Slide 14 - Question ouverte

What button A is pressed, what will happen?
A
Hello will show on the Microbit
B
A heart will show on the Microbit
C
Hello followed by a heart will show on the Microbit
D
Nothing will happen

Slide 15 - Quiz