wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Microbit (python)

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

How many pixels are there on the array?

a)

20

b)

25

c)

0 - 4

d)

There are no pixels, only bits

2.
Which device on the back of the Microbit lets you detect movement?
a)
Compass
b)
Bluetooth
c)
RAM
d)
Accelerometer
3.
Which of these is the brain of the Microbit?
a)
RAM
b)
CPU
c)
Accelerometer
d)
Compass
4.
What is the part within the red boxes called?
a)
Input buttons
b)
Ground
c)
CPU
d)
Micro-usb connector
5.
Which syntax would you use to display scrolling text that said "I love school"
a)
display.show("I love school")
b)
display.scroll(I love school)
c)
display.show(I love school)
d)
display.scroll("I love school")
6.

What syntax would you use to display an in-built image of a sword?

a)

display.show(image.sword)

b)

display.show(Image.SWORD)

c)

display.scroll(Image.SWORD)

d)

display.show(Image.sword)

7.
Define what is meant by a variable
a)
RAM.
b)
A sequence of instructions.
c)
A memory location which stores something.
d)
Repetition of code a certain number of times.
8.
What is the position of the top left LED?
a)
(1,1)
b)
(0,1)
c)
(0,0)
d)
(1,0)
9.
You can porgram the microbit so that when it is shaken something happens.  This relies on the...
a)
compass
b)
LEDs
c)
accelerometer
d)
the buttons
10.
How can strings and variables be told apart?
a)
The data in a string is stored inside quotes
b)
By its name
c)
By its size
11.
Why are variables so named?
a)
Variables are so named because we can choose whether or not to use them
b)
Variables are so named because the data we store in them can change
c)
Variables are so named because we can change their names
12.

What is radio function in Microbits?

a)

Send and receive massages between Microbits

b)

Pressing buttons

c)

Reset Microbits

d)

Radio broadcast

13.

What does x != 3 means?

a)

x is equal to 3

b)

x is not equal to 3

c)

x multiplies exclamation mark equal to 3

d)

x divide exclamation mark equal to 3

14.

To start sending signal through Microbits what is needed in codes?

a)

radio.off()

b)

radio.on()

c)

radio.send()

d)

radio.receive()

15.

What is the data type of x and how can I change the data type from this to Integer?

a)

Integer, int(x)

b)

String, str(x)

c)

String, int(str(x))

d)

String, int(x)