These resources will be removed by end of Summer Term 2025.
Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.
Lesson details
Key learning points
- In this lesson, we will make a micro:bit based step counter following a design. We will test and debug our code and look for ways to improve the sensitivity of our counter.
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.
What is an algorithm in a design?
A diagram of the flow of the program
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
Whilst the program is running
Q3.
The order in which commands are executed (run) in a program is the...
Algorithm
Appearance
Task
3 Questions
Q1.
Which is the correct order?
Code, test, design
Test, design, code
Q2.
Debugging is the process of finding and fixing errors.
False
Q3.
Debugging by isolating code is...
Replacing all the code
Swapping a piece of code for another