Microbits - 7B4

Microbits
1 / 15
next
Slide 1: Slide

This lesson contains 15 slides, with interactive quizzes and text slides.

Items in this lesson

Microbits

Slide 1 - Slide

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

V
A
R
I
A
B
L
E

Slide 3 - Drag question

L
O
O
P
S

Slide 4 - Drag question

Microbit website

Slide 5 - Slide

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

Slide 6 - Slide

Programming on your own

Slide 7 - Slide

Task 2: Repeating 

Slide 8 - Slide

Task 2: Repeating / Solution

Slide 9 - Slide

Task 3: For Loop

Slide 10 - Slide

Task 3: For Loop / Solution

Slide 11 - Slide

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 - Open question

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