wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Micro:IT

Total questions: 90

Worksheet time: 1hrs 4mins

Name
Class
Date
1.
Which device on the back of the Microbit lets you detect movement?
a)
Compass
b)
Bluetooth
c)
RAM
d)
Accelerometer
2.
Which of these is the brain of the Microbit?
a)
RAM
b)
CPU
c)
Accelerometer
d)
Compass
3.
The LED lights on the Microbit are for
a)
Input
b)
Output
c)
Both input and output
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.

Which part of the MicroBit is the B Button?

a)

1

b)

2

c)

3

d)

4

8.

What is meant by the term String in programming?

a)

Letters, numbers and symbols

b)

Numbers Only

c)

Words Only

d)

Symbols Only

9.

What would be outputted here?

a)

Tick

b)

Cross

c)

Smiley face

10.

What would the output be?

a)

7

b)

14

c)

11

d)

10

11.

What's the answer?

(a)  

12.

Type in the 2 program outputs, leave a space between and use lower case.

(a)  

13.

The LED doesn't flash. What is the problem?

a)

It's not turned on

b)

It's turned on, but not turned off

c)

The pins are incorrect

d)

It won't work on start

14.

The LED comes on for a split second and goes off. Why doesn't it flash?

a)

The pins are incorrect

b)

Pin 1 doesn't come on

c)

There's no loop

d)

Both pins need to be set to 1

15.

On button B pressed, LED should go off. This isn't happening. Why?

a)

The pins aren't set to 0

b)

Button B isn't selected

c)

It's in a loop

d)

The wrong pin is set

16.

At the start of this program it says increase, immediately! How do I get it to say 'decrease'

a)

Increase the variable by 2

b)

Decrease the variable by 1

c)

Change the variable at the top

17.

My program never gets above 5? How do I change it so the variable increases each round?

a)

Add more to the variable

b)

Take the top variable out of the loop

c)

Increase random number

d)

Lower the variables value

18.

What's the lowest and highest score possible on 1 loop?

a)

2 and 4

b)

1 and 3

c)

4 and 5

d)

2 and 5

19.

I want to output the length of the list. There's a error?

a)

List has letters in it

b)

Button A shouldn't be pressed

c)

Variable is the wrong name

d)

The list isn't set on start

20.

What's going to be the output?

a)

1

b)

2

c)

3

d)

4

e)

5

21.

Lists start with a 0 index. What would be the output?

a)

a

b)

b

c)

c

d)

d

e)

e

22.

What's the output?

a)

A

b)

B

c)

C

23.

Where is the error in this code?

a)

shouldn't begin on 0 when it starts

b)

The variable

c)

It will not print to screen

d)

Program will not run

24.

What commands are in this code?

a)

Input/process/output

b)

Process/input

c)

Variable and a process

d)

Input and output

25.

What line is the loop in?

a)

Line 1

b)

Line 2

c)

Line 3

d)

Line 4

26.

How many times does a variable appear in this code?

a)

1 time

b)

2 times

c)

3 times

d)

4 times

27.

What happens here?

a)

If the number is > 2 it will output the points

b)

If the number is > 2 it will output 'Incorrect'

c)

If the number is < 2 it will output 'Incorrect'

d)

If the number is = 2 it will output the points

28.

If/else is?

a)

An input

b)

A selection

c)

A sequence

d)

An iteration

29.

How many times does an output appear here?

a)

once

b)

Twice

c)

Three times

d)

None

30.

Within this loop how many times does a process happen?

a)

One time

b)

Two times

c)

Three times

d)

Four times

31.

What will be the output if I ONLY press button b

a)

100

b)

0

c)

50

d)

400

32.

After button a is pressed, then button b. What is the output

a)

100

b)

0

c)

16

d)

400

33.

What's the answer?

a)

250

b)

500

c)

268

d)

125

34.

What's the answer?

a)

35

b)

2

c)

70

d)

75

35.

What's the answer?

a)

5

b)

15

c)

25

d)

10

36.

What will happen here?

a)

If a random number > 5 is picked 6 is outputted

b)

If a random number > 5 is picked 4 is outputted

c)

If a random number > 5 is picked 2 is outputted

d)

If a random number < 5 is picked 6 is outputted

37.

What number will be outputted?

a)

1

b)

2

c)

3

d)

4

e)

5

38.

What happens here?

a)

Orange is removed from the list and 5 is outputted

b)

Grapes is removed from the list and 5 is outputted

c)

Grapes is removed from the list and 4 is outputted

d)

Orange is removed from the list and 4 is outputted

39.

What happens here?

a)

Tangerine is inserted between banana and pear

b)

Tangerine is inserted between grapes and pear

c)

Tangerine is inserted between grapes and orange

d)

Tangerine is inserted between apple and banana

40.
a)

Removes apple and outputs 5

b)

Removes pear and outputs 4

c)

Removes orange and outputs 4

d)

Removes grape and outputs 5

41.

Which of the following are inputs on the micro:bit?

(hint: you need to select ALL of the relevant inputs to get this question correct)

a)

LEDs

b)

Buttons

c)

Light sensor

d)

GPIO pins

e)

Accelerometer

42.

Which of the following are outputs on the micro:bit?

(hint: you need to select ALL the devices that can be used to output (some are both input and output devices...)

a)

LEDs

b)

Buttons

c)

Light sensor

d)

GPIO pins

e)

Accelerometer

43.

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

a)

All the time

b)

Once

44.

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

45.

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

46.

What will happen on the Microbit when this code is run?

a)

When button A is pressed it will display a sun on the LED display

b)

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

c)

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

47.

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

48.

On the Microbit what is the accelerometer used for?

a)

Input

b)

Output

c)

Both input and output

49.

On the Microbit what is the compass used for?

a)

Input

b)

Output

c)

Both input and output

50.

On the Microbit what is the temperature sensor used for?

a)

Input

b)

Output

c)

Both input and output

51.

On the Microbit what is the light sensor used for?

a)

Input

b)

Output

c)

Both input and output

52.

On the Microbit what is the LED display used for?

a)

Input

b)

Output

c)

Both input and output

53.

The Microbit has the ability to communicate with other devices

a)

True

b)

False

54.

What line is the loop in?

a)

Line 1

b)

Line 2

c)

Line 3

d)

Line 4

55.

What's happening here?

a)

The program will count to 10 and show an output

b)

The program will count to 9 and show an output

c)

The program will count to 11 and show an output

d)

The program will not run

56.

Which row is the selection command in?

a)

Row 2

b)

Row 3

c)

Row 5

d)

Row 6

57.

The 'while true' block acts as a?

a)

Repeat a number of times block

b)

Forever block while True/False

c)

For block

58.

What happens here?

a)

If number is smaller a cross is shown

b)

If number is smaller a heart is shown

c)

If number 1 is bigger a cross is shown

59.

What line is the operator on?

a)

Line 1

b)

Line 2

c)

Line 3

d)

Line 4

60.

How many times will a random number appear followed by a letter B?

a)

Once

b)

Twice

c)

Three times

d)

Four times

61.

How many lines hold the variable?

a)

1

b)

2

c)

3

d)

4

62.

What happens when button A is pressed?

a)

It returns 1

b)

It returns 2

c)

It returns 3

d)

It returns 4

63.

What happens when button B is pressed?

a)

It returns banana then shows number 3

b)

It returns carrot and shows number 2

c)

It returns apple and shows number 1

64.

What is 'list' in this program?

a)

A process

b)

A variable

c)

An input

d)

An output

65.

What would the output be?

a)

r

b)

q

c)

There would be an error

66.

What would be the output?

a)

q

b)

r

c)

There would be a data error

67.

What happens here?

a)

the random number is higher than 4 the output is 2

b)

If the random number is higher than 4 the output is 4

c)

the random number is higher than 4 the output is 6

68.

What happens when button A is pressed?

a)

Pin goes off and the cross clears

b)

Pin is on and the cross is active until button B is pressed

c)

Pin is on and the cross is active is on for 10 seconds

69.

What happens here?

a)

Pins come on and tone is played 10 times

b)

Pins go off and tone is played 10 times

c)

Pins come on and tone is played 11 times

70.

What will be the value of the 'number' when printed?

a)

96

b)

28

c)

32

d)

104

71.

What would the value of 'total' when printed?

a)

87

b)

27

c)

37

d)

25

72.

Which code will allow you to loop your program?

a)

On Start

b)

Forever

c)

On Button A

d)

On Shake

73.

Select an output?

a)
b)
c)
d)
74.

Select an input?

a)
b)
c)
d)
75.

What is a 'string'?

a)

Whole numbers

b)

Decimal numbers

c)

Text

d)

True or false

76.

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

d)

When you press the B button on the MicroBit

77.

When will this code stop?

a)

When the A button is pressed

b)

It won't!

c)

When B button is pressed

d)

When you shake it

78.

What is the name of the variable in this code?

a)

score

b)

button A

c)

Level 2

79.

These blocks are known as

a)

inputs

b)

event handlers

c)

variables

80.

In this program, the block "score" is a/an

a)

input

b)

event handler

c)

variable

81.

This program uses ____ variables.

a)

1

b)

2

c)

3

82.

These blocks are located in the ___ drawer.

a)

math

b)

logic

c)

variables

83.

You can find these blocks in the ___ drawer

a)

math

b)

logic

c)

basic

84.

These blocks are found in the ____ drawer.

a)

logic

b)

variables

c)

math

85.

What block would make this program display the score?

a)
b)
c)
86.
A student is making some code to show a  dice number when her Microbit is shaken. Which number will this section of code show when she has finished?
a)
6
b)
5
c)
0
d)
4
87.
What will be displayed if the random number 2 is chosen?
a)
Yes
b)
No
c)
I don't know
d)
Yes and the number 8
88.

Look at the diagram. Click on it to enlarge


What is the variable in the piece of code?

a)

shake

b)

Roll

c)

pick random

d)

else if

89.

Look at the diagram. Click on it to enlarge


"if then"


"else if"


These are examples of selection. True or False

a)

True

b)

False

90.

Look at the diagram. Click on it to enlarge


"pick random 1 to 6"


These are examples of selection. True or False

a)

Picks the number 1

b)

Picks any number between 1 and 6

c)

Pick the number 6