Year 3, Term 4: CodingFocus: CodingScope and sequence: Coding |
|
Learning
intention: Students
engage in coding to interact with virtual and tangible
objects.
|
|
NSW Syllabus
|
Australian Curriculum (version
9.0)
|
"A student defines problems,
describes and follows algorithms to develop solutions."
(ST2-3DP-T)
|
"Students learn to implement
simple algorithms as visual programs involving control
structures and input." (AC9TDI4P04)
|
Introduction to the topic
This video (1:49) from NASA is an engaging look into the importance of coding.
Introduction to block-based coding
Introduction to block-based code using micro:bit (https://makecode.microbit.org/).
This video (2:09) is also a very good introduction to the
BBC micro:bit.
The following picture identifies some of the components and features of the Micro:bit.
Using buttons on the micro:bit
The following screenshot depicts an introductory activity using the two buttons on the micro:bit. The code file is here (right click, 'Save link as...') but it is recommended that you write this instead to model the coding process.
Making a thermometer
The micro:bit can detect the temperature so making a thermometer is as easy as using the following code. An alternative to this could be to use a blue 'Forever' block so that the temperature is continually displayed and updated rather than having to press a button.
Making dice
The micro:bit has an in-built accelerometer. This means that it can be used to detect motion, including being shaken. The following code is all that is required to make a dice.
This work is licensed under a Creative
Commons Attribution-NonCommercial-ShareAlike 4.0 International License.