WorksheetsMicro:bit Conditionals Review
Total questions: 25
Worksheet time: 2hrs 1mins
Which of the following is the purpose of a MicroBit?
Practice with different computing devices
Developing problem solving skills
Learning how to program
Troubleshooting technical problems
What would you use to store data? e.g. scores and character names
A Variable
An If Statement
A Display Block
How often will the message "Hello Year 7" be displayed?
All the time
Once
When will this piece of code start?
When you shake the MicroBit
When you turn on the MicroBit
When you press the A button on the MicroBit
When will this piece of code start?
When you shake the MicroBit
When you turn on the MicroBit
When you press the A and B buttons on the MicroBit
What will this code do?
Display the numbers 1 to 6
Display a number between 1 and 6
The Microbit needs to be connected to a battery pack when it is plugged in to the computer
True
False
A has two possible values, true or false.
(a)
Boolean
Statement
Container
Expression
Which symbol means less than?
>
<
=
What will appear on the microbit when this program runs?
3
Heart
Nothing
Which code, A or B, will correctly display the score variable?
A
B
This block is a ______________ block.
input
variable
conditional
Which is an example of a conditional?
Looping a sound
Set the score to 10
If the microbit is shaken, then display the word "Hi."
What will happen on the microbit when this code is run?
When button A is pressed it will display a sun
When the light level is more than 100 it will display a sun
When the light level is exactly 100 it will not show a sun
What will happen when you press the A button?
score will go up by 1
score will go down by 1
Nothing will happen
What is the name of the variable in this code?
randomNumber
show string
pick random
What will be displayed if the random number is a 0?
Truth
Dare
Next Person
When coding, conditionals tell a computer to do which of the following?
How to do it
To do it faster
When to do it
Where to do it
A conditional statement must have all of the following: if, then, else
True
False
What will be the output of the micro:bit if only button A is pressed?
What will be the output of the micro:bit if button A and pin0 are pressed?
What will be the output on the micro:bit if Button A is pressed?
Welcome!
Press A or B to start
What happens with Button A is pressed?
What will happen when the micro:bit is shaken?
What will be the output of the micro:bit if the micro:bit is tilted left?
