What email address or phone number would you like to use to sign in to Docs.com?
If you already have an account that you use with Office or other Microsoft services, enter it here.
Or sign in with:
Signing in allows you to download and like content, and it provides the authors analytical data about your interactions with their content.
Embed code for: 9W2 Worksheet
Select a size
Blocks for First 3 Questions:
On Button A Pressed (Found under “Input”)
Use this block to control what happens when button “A” is pressed.
Anything placed inside this block will run when button “A” is pressed.
By clicking on the “A”, this block can be changed so that it controls what happens when button “B” is pressed.
On Shake (Found under “Input”)
Show LEDs (Found under “Basic”)
Use this block to display a shape or letter using the individual LEDs
Click the LEDs within the block to make them light up
Show String (Found under “Basic”)
Use this block to display a word or sentence
Once you have completed each question, you MUST show the teacher to demonstrate what you have done before continuing with the next question.
Tell the Micro:Bit to display the letter “A” when button “A” is pressed
Tell the Micro:Bit to display the letter “B” when button “B” is pressed
Tell the Micro:Bit to display “Shaking!” when the Micro:Bit is shaken
Extension (ask for additional explanation sheet before attempting):
If the temperature is above 25C, display “Too Hot!”
If the temperature is below 12C, display “Too Cold!”
If the temperature is above 25C, display “Too Hot”, ELSE display “Just Right!”
If the temperature is above 25C, display “Too Hot”, ELSE IF the temperature is below 12C, display “Too Cold”, ELSE display “Just Right”
Use the block editor to write your own program using at least 1 block that we haven’t used before
Blocks for Extension Questions:
Forever (Found under “Basic”)
Use this block to create code that is ready to run at any moment
If (Found under “Logic”)
Use this block to create an “If statement
You will need to replace the “True” with
Equals/Less Than/Greater Than
Use this block in combination with the “If” block to check whether something is equal to, less than or greater than something else
The 0s can be replaced with blocks such as “Temperature”
Temperature (Found under “Input”)
Use this block when you need to determine the current temperature reading
You can use this block inside the “Equals/Less Than/Greater Than” block shown above
Putting Them Together
Unlike the “On Shake” block we used in the first 3 questions, there is no “On Temperature” block.
We must therefore create our own.
Arranging the blocks as shown will mean that any code placed inside the “If block” will be run