Starter Worksheet Solution
Starter Worksheet Solution
Lesson 1 Solution
micro:bit recap
Introduction
Program code What will the What is the How can you
program do? input and edit the
output? program?
Use the
Input = logo – dropdown arrow
When the logo is
touch sensor to select
pressed, an
different options
angry face will
Output = on both the
be displayed.
display input and the
output
Use the
Input = A
When the A dropdown arrow
Button
button is to select
pressed, a different options
smiley face will on both the
Output =
be displayed. input and the
Display
output
Use the
When the Input = dropdown arrow
micro:bit is Movement - to select
shaken, a shake different options
shocked face will Output = on both the
be displayed. Display input and the
output
Use the
When a loud Input = dropdown arrow
noise is Microphone – to select
detected, a sad sound sensor different options
face will be Output = on both the
displayed. Display input and the
output
Resources are updated regularly — the latest version is available at: ncce.io/tcc.
Attribution statement
This resource was created by STEM Learning for the National Centre for
Computing Education.
The contents of this resource are available for use under the Open Government
License (OGL v3) meaning you can copy, adapt, distribute and publish the
information. You must acknowledge the source of the Information in your product
or application, by attributing Raspberry Pi Foundation and STEM Learning as
stated here and are asked to provide a link to the OGL v3.
If the resource has been updated the original version can be made available on
request via [email protected].