Lesson details

Key learning points

  1. In this lesson, we will design a project to make a micro:bit step counter. We will use a familiar design template to design the algorithm, appearance and to program flow of the project.

Licence

This content is made available by Oak National Academy Limited and its partners and licensed under Oak’s terms & conditions (Collection 1), except where otherwise stated.

Loading...

3 Questions

Q1.
If the compass heading is 310, what will be displayed on the micro:bit?
An image in a quiz
E
N
S
Correct answer: W
Q2.
The image below is an example of...
An image in a quiz
An algorithm
Code
Correct answer: Program flow
Task
Q3.
Which of these is a conditional statement in the code below?
An image in a quiz
forever
Correct answer: If compass heading (<45)
set heading to (>)
show string (heading)

3 Questions

Q1.
What is an algorithm in a design?
A diagram of the flow of the program
Correct answer: A set of clear and precise, ordered instructions
The appearance of the project
The task that needs to be completed
Q2.
If you're making a step counter, when should the variable 'step' be set?
When the program ends
Correct answer: When the program starts
Whilst the program is running
Q3.
The order in which commands are executed (run) in a program is the...
Algorithm
Appearance
Correct answer: Program flow
Task

Lesson appears in

UnitComputing / Sensing

Computing