Font size
WorksheetsMicro:bit Final Quiz
Total questions: 35
Worksheet time: 35mins
This diagram shows the basic flow that almost all computing devices follow. What do we call the missing middle step?
Sensing
Process
Software
Control
I want to display a pattern on the LED screen. Which block(s) can I use? (Check all that apply)
In which category can I find the blocks I need to check if a button is pressed?
Input
Radio
Variables
Advanced
I want to write a program that involves repeating the same code multiple times. In which category shown can I find the block I need to achieve this?
Input
Math
Loops
Logic
We can use Loops to make sure we don't unnecessarily write the same code over and over. We learned in class that good programmers want to keep their code ______ and ______.
DRY and CLEAN
LONG and BASIC
SHORT and COMPLEX
FUN and EASY
What is it called when we show multiple images or patterns in a sequence to give the illusion of motion? (Hint: we did this with LED patterns in a previous lesson)
Magic
Animation
Inputting
Packaging
The 'pause' block stops the program for the specified amount of time in milliseconds (1000 ms = 1 second). How long will the program shown here pause for?
3000 seconds
0.0003 seconds
30 seconds
3 seconds
When would we want to use a Function in code?
When we want to store a number value for later use
When we want to use the same lines of code in multiple places in our program
When we want to check if a certain condition is true or false
When we need to take an input from the user
If we run this program, how many times will "Hello" be printed?
4
None
Infinity
Once
What does this program do?
Prints 100, then 99, 98, 97...and so on until 0
Prints the number 100 one hundred times
Prints 1, 2, 3...and so on until 100
Decreases 'count' by 1, but doesn't print anything
What are the gold circles at the bottom of the micro:bit called?
Rings
Pins
Volts
Activators
Used to supply battery to the micro:bit and accessories when not connected to the computer through USB
Alligator Cable
Alligator to Pin
Battery
Conductive Thread
Which sensor on the micro:bit detects the brightness in the surrounding area?
Warp Drive
Thermometer
Logo
Light Sensor
Do not leave the micro:bit plugged in to a device unattended.
True
False
What will this code print if the micro:bit is shaken? (Hint: It's a trick question, read the code carefully!)
"You have activated the input: "
"You have activated the input: Shake"
"You have activated the input: A button"
"You have activated the input: Logo"
What will be on the LED grid 60 seconds after this program starts?
This is the final step to upload a program to the micro:bit. What steps do we need to take before this? (Check ALL that apply)
Plug in the micro:bit with the USB cable
Open File Explorer
Name/Download the Program
Restart the computer
Which is the file type for MicroBit files?
.jpg
.bit
.hex
Which number represents the LED display?
1
8
9
Based on the code shown, what will happen when the MicroBit starts?
It will show a heart, then an X on the LEDs
It will show a heart and and X, but only when the A button is pressed
Nothing will happen because the code has no way to start.
How many programs can the MicroBit hold?
none
one
two
more than two
Which program will finish with a clear LED grid?
Which of the following is an INPUT for the MicroBit?
The Keyboard
The A Button
The Speaker
The LED display
How many programmable buttons does the MicroBit have, including the touch logo ?
one
two
three
four
Which number represents Buttons A & B
1
8
9
What is <= ?
What is >= ?
What block would make this program display the score?
A conditional statement (checking whether a given condition is true or false) begins with the keyword _______.
Then
Else
If
OK
Which of the following is an OUTPUT on the MicroBit?
The LEDs
Button B
The accelerometer
The reset button
Which of these is what we call and "IF this THEN that" reaction?
Input
Output
Conditional
Variable
True or False: The number the accelerometer outputs is the degree of the angle that the micro:bit is tilted
True
False
What is == ?
Which of the following blocks will run a program and never end?
True or False: An Analog data source can only have two values: ON or OFF
True
False
