Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Micro:bit Conditionals Review

Total questions: 25

Worksheet time: 2hrs 1mins

Name
Class
Date
1.

Which of the following is the purpose of a MicroBit?

a)

Practice with different computing devices

b)

Developing problem solving skills

c)

Learning how to program

d)

Troubleshooting technical problems

2.

What would you use to store data? e.g. scores and character names

a)

A Variable

b)

An If Statement

c)

A Display Block

3.

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

a)

All the time

b)

Once

4.

When will this piece of code start?

a)

When you shake the MicroBit

b)

When you turn on the MicroBit

c)

When you press the A button on the MicroBit

5.

When will this piece of code start?

a)

When you shake the MicroBit

b)

When you turn on the MicroBit

c)

When you press the A and B buttons on the MicroBit

6.

What will this code do?

a)

Display the numbers 1 to 6

b)

Display a number between 1 and 6

7.

The Microbit needs to be connected to a battery pack when it is plugged in to the computer

a)

True

b)

False

8.

A has two possible values, true or false.


(a)  
a)

Boolean

b)

Statement

c)

Container

d)

Expression

9.

Which symbol means less than?

a)

>

b)

<

c)

=

10.

What will appear on the microbit when this program runs?

a)

3

b)

Heart

c)

Nothing

11.

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

a)

A

b)

B

12.

This block is a ______________ block.

a)

input

b)

variable

c)

conditional

13.

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

14.

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

15.

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

16.

What is the name of the variable in this code?

a)

randomNumber

b)

show string

c)

pick random

17.

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

a)

Truth

b)

Dare

c)

Next Person

18.

When coding, conditionals tell a computer to do which of the following?

a)

How to do it

b)

To do it faster

c)

When to do it

d)

Where to do it

19.

A conditional statement must have all of the following: if, then, else

a)

True

b)

False

20.

What will be the output of the micro:bit if only button A is pressed?

a)
b)
21.

What will be the output of the micro:bit if button A and pin0 are pressed?

a)
b)
22.

What will be the output on the micro:bit if Button A is pressed?

a)

Welcome!

b)

Press A or B to start

23.

What happens with Button A is pressed?

a)
b)
24.

What will happen when the micro:bit is shaken?

a)
b)
25.

What will be the output of the micro:bit if the micro:bit is tilted left?

a)
b)