Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Micro:bit Code Review

Total questions: 11

Worksheet time: 6mins

Name
Class
Date
1.

This block is a type of...

a)

variable

b)

input

c)

output

2.

This block is a type of...

a)

output

b)

variable

c)

input

3.

This block is a type of...

a)

variable

b)

input

c)

output

4.

Shaking the microbit is an example of an...

a)

input

b)

output

c)

variable

5.

Showing your name on the LED screen is an example of an...

a)

input

b)

output

c)

variable

6.

Playing a sound from the microbit is an example of an...

a)

input

b)

output

c)

variable

7.

This block is a ______________ block.

a)

input

b)

variable

c)

conditional

8.

Which is an example of a conditional?

a)

Looping a sound

b)

Set the score to 10

c)

If the microbit is shaken, then display the word "Hi."

9.

What will happen on the micro:bit when this code is run?

a)

When button A is pressed it will display a sun

b)

When the light level is more than 100 it will display a sun

c)

When the light level is exactly 100 it will not show a sun

10.

What is the name of the variable in this code?

a)

randomNumber

b)

show string

c)

pick random

11.

What will happen on the micro:bit when this code is run?

a)

When the light level is below 30, an angry face will appear. Otherwise, the screen will be blank.

b)

When the light level is above 30, the screen will be blank. Otherwise, an angry face will appear.

c)

When the light level is above 30, an agry face will appear. Otherwise, the screen will be blank.

d)

When button A is pressed, an angry face will appear.