wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Micro:bit Advanced (Multiple Choice) — Worksheet Extraction

Total questions: 29

Worksheet time: 15mins

Name
Class
Date
1.

The function input.onGesture(Gesture.Shake, ...) is used to…

a)

read temperature

b)

detect vibrations

c)

send radio data

d)

read compass direction

2.

To read the north direction from a compass, the block used is…

a)

input.temperature()

b)

input.lightLevel()

c)

input.compassHeading()

d)

input.rotation()

3.

The command radio.setGroup(5) is used to…

a)

delete all data

b)

set the radio channel

c)

reduce volume

d)

increase sensor accuracy

4.

If you want to store a value in a variable, the block used is…

a)

display number

b)

set item to

c)

plot

d)

while

5.

The sensor used to detect the tilt of the micro:bit is…

a)

compass

b)

microphone

c)

accelerometer

d)

speaker

6.

The block suitable for making a pedometer is…

a)

when the logo is pressed

b)

when shaken

c)

when there is a loud sound

d)

when the radio is received

7.

To display a heart icon, the block used is…

a)

basic.showString("heart")

b)

basic.iconImage(heart)

c)

basic.showIcon(IconNames.Heart)

d)

basic.plot(heart)

8.

For two micro:bits to communicate with each other, both must…

a)

have the same name

b)

use battery packs

c)

use the same radio group

d)

be in airplane mode

9.

pins.analogWritePin(AnalogPin.P0, 1023) is used for…

a)

reading analog sensors

b)

writing PWM signals

c)

sending radio messages

d)

adjusting speaker volume

10.

The input.soundLevel() block is only available in…

a)

micro:bit V1

b)

all versions

c)

micro:bit V2

d)

only the micro:bit simulator

11.

To display an animation…

a)

basic.clearScreen()

b)

basic.pause()

c)

basic.showAnimation()

d)

radio.onReceived()

12.

A program that runs repeatedly is…

a)

at start

b)

forever

c)

function

d)

when button A is pressed

13.

The block for a loud sound alarm is…

a)

input.onGesture

b)

input.onSound

c)

input.onLogoEvent

d)

radio.onReceived

14.

To display the temperature…

a)

input.temperature()

b)

input.runningTime()

c)

Math.random()

d)

control.reset()

15.

Move the LED to the right…

a)

plot brightness

b)

plotBarGraph

c)

led.plot(x+1, y)

d)

display number

16.

control.waitMicros(1000) means…

a)

1 second

b)

1 ms

c)

1 µs

d)

100 seconds

17.

The accelerometer measures…

a)

Lux

b)

dB

c)

g‑force

d)

Celsius

18.

Radio can send…

a)

Only numbers

b)

Only strings

c)

Numbers and strings

d)

Cannot send

19.

Display LED pixels…

a)

led.plot(2,0)

b)

led.on(2,0)

c)

pins.plot(2,0)

d)

basic.show(2,0)

20.

To read a compass, you must…

a)

Turn on the speaker

b)

Calibrate first

c)

Turn off the accelerometer

d)

Use an analog pin

21.

Clear the screen…

a)

led.unplot()

b)

basic.fadeOut()

c)

basic.clearScreen()

d)

input.clear()

22.

The built-in speaker is located in...

a)

V1

b)

V2

c)

None

d)

Simulator

23.

Logo touch event…

a)

input.onLogoPressed

b)

input.onLogoEvent(Touched)

c)

input.onTouchLogo

d)

logo.onPress()

24.

Servo on pin P1…

a)

pins.servoWritePin(P1)

b)

input.servo()

c)

radio.sendServo()

d)

servo.move()

25.

basic.pause(500) means…

a)

5 seconds

b)

0.5 seconds

c)

50 seconds

d)

5 ms

26.

Point catching game…

a)

input.runningTime

b)

led.plot

c)

control.reset

d)

math.sqrt

27.

Play music…

a)

music.playTone

b)

radio.play

c)

input.soundLevel

d)

basic.beep

28.

radio.sendNumber(9) mengirim…

a)

'9'

b)

number 9

c)

binary bit

d)

Error

29.

what is the best way to add input based on light?

a)

when the button is pressed

b)

input.buttonIsDown

c)

button.A()

d)

pins.digitalReadPin