WorksheetsMicro:bit Advanced (Multiple Choice) — Worksheet Extraction
Total questions: 29
Worksheet time: 15mins
The function input.onGesture(Gesture.Shake, ...) is used to…
read temperature
detect vibrations
send radio data
read compass direction
To read the north direction from a compass, the block used is…
input.temperature()
input.lightLevel()
input.compassHeading()
input.rotation()
The command radio.setGroup(5) is used to…
delete all data
set the radio channel
reduce volume
increase sensor accuracy
If you want to store a value in a variable, the block used is…
display number
set item to
plot
while
The sensor used to detect the tilt of the micro:bit is…
compass
microphone
accelerometer
speaker
The block suitable for making a pedometer is…
when the logo is pressed
when shaken
when there is a loud sound
when the radio is received
To display a heart icon, the block used is…
basic.showString("heart")
basic.iconImage(heart)
basic.showIcon(IconNames.Heart)
basic.plot(heart)
For two micro:bits to communicate with each other, both must…
have the same name
use battery packs
use the same radio group
be in airplane mode
pins.analogWritePin(AnalogPin.P0, 1023) is used for…
reading analog sensors
writing PWM signals
sending radio messages
adjusting speaker volume
The input.soundLevel() block is only available in…
micro:bit V1
all versions
micro:bit V2
only the micro:bit simulator
To display an animation…
basic.clearScreen()
basic.pause()
basic.showAnimation()
radio.onReceived()
A program that runs repeatedly is…
at start
forever
function
when button A is pressed
The block for a loud sound alarm is…
input.onGesture
input.onSound
input.onLogoEvent
radio.onReceived
To display the temperature…
input.temperature()
input.runningTime()
Math.random()
control.reset()
Move the LED to the right…
plot brightness
plotBarGraph
led.plot(x+1, y)
display number
control.waitMicros(1000) means…
1 second
1 ms
1 µs
100 seconds
The accelerometer measures…
Lux
dB
g‑force
Celsius
Radio can send…
Only numbers
Only strings
Numbers and strings
Cannot send
Display LED pixels…
led.plot(2,0)
led.on(2,0)
pins.plot(2,0)
basic.show(2,0)
To read a compass, you must…
Turn on the speaker
Calibrate first
Turn off the accelerometer
Use an analog pin
Clear the screen…
led.unplot()
basic.fadeOut()
basic.clearScreen()
input.clear()
The built-in speaker is located in...
V1
V2
None
Simulator
Logo touch event…
input.onLogoPressed
input.onLogoEvent(Touched)
input.onTouchLogo
logo.onPress()
Servo on pin P1…
pins.servoWritePin(P1)
input.servo()
radio.sendServo()
servo.move()
basic.pause(500) means…
5 seconds
0.5 seconds
50 seconds
5 ms
Point catching game…
input.runningTime
led.plot
control.reset
math.sqrt
Play music…
music.playTone
radio.play
input.soundLevel
basic.beep
radio.sendNumber(9) mengirim…
'9'
number 9
binary bit
Error
what is the best way to add input based on light?
when the button is pressed
input.buttonIsDown
button.A()
pins.digitalReadPin
