wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Microbit Code

Total questions: 22

Worksheet time: 11mins

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.

Something that never changes is a...

a)

constant

b)

variable

c)

computer

5.

Something that changes is a:

a)

constant

b)

variable

c)

pizza

6.

On the microbit, what do the LEDs do?

a)

Make sound

b)

Display lights to make words and shapes

c)

Give input information to the microbit

7.

Shaking the microbit is an example of an...

a)

input

b)

output

c)

variable

8.

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

a)

input

b)

output

c)

variable

9.

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

a)

input

b)

output

c)

variable

10.

In the microbit, you can create only one variable.

a)

True

b)

False

11.

Which code, A or B, will correctly display the score variable?

a)

A

b)

B

12.

Why is the second block have a different color and pattern?

a)

It's a different type of block

b)

You can't use it because you can't have two Button A blocks

c)

The user changed the color settings

13.

This block is a ______________ block.

a)

input

b)

variable

c)

conditional

14.

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."

15.

What will happen on the microbit 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

16.

What will the block "show string" do?

a)

Display words

b)

Play music

c)

Display images

17.

Which is an example of a sensor in the microbit?

a)

memory

b)

variable

c)

temperature

18.

What will happen when you press the A button?

a)

score will go up by 1

b)

score will go down by 1

c)

Nothing will happen

19.

What score would you need to reach Level 2?

a)

1

b)

5

c)

5 or above

20.

What is the name of the variable in this code?

a)

randomNumber

b)

show string

c)

pick random

21.

What will be displayed if the random number is a 0?

a)

Truth

b)

Dare

c)

Next Person

22.

How often will the message "Hello Year 7" be displayed?

a)

All the time

b)

Once