wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

External Inputs to Microbit

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

What sensor is this?

a)

External Switch

b)

Photocell

c)

Flex sensor

d)

Pressure sensor

2.

What sensor is this?

a)

External Switch

b)

Photocell

c)

Flex sensor

d)

Pressure sensor

3.

What sensor is this?

a)

External Switch

b)

Photocell

c)

Flex sensor

d)

Pressure sensor

4.

What Microbit pins do you wire for a pressure sensor?

a)

3V and P0, P1 or P2

b)

GND and P0, P1 or P2

c)

3V and GND

d)

3V and P0 only

5.

What Microbit pins do you wire to for an external switch?

a)

3V and P0, P1 or P2

b)

GND and P0, P1 or P2

c)

3V and GND

d)

3V and P0 only

6.

How do you insert the alligator-to-pin wires to the Flex sensor or Pressure sensor?

a)

First the black pin, then the red pin

b)

Pinch them & insert together

c)

First the red pin, then the black pin

d)

Trick question - you use alligator-to-alligator wires

7.

What block should I use to measure my pressure sensor?

a)

Digital Read

b)

Digital Write

c)

Analog Read

d)

Analog Write

8.

What block should I use to measure my photocell?

a)

Digital Read

b)

Digital Write

c)

Analog Read

d)

Analog Write

9.

What block should I use to see if my external switch circuit is closed or open?

a)

Digital Read

b)

Digital Write

c)

Analog Read

d)

Analog Write

10.

When should I create a variable for my program?

a)

When it will be repeating forever

b)

When it will measure a new value repeatedly

c)

When it needs to remember a value to use it more than once

d)

Whenever I do a digital read

11.

What number I should use here to see if there is a bend in the flex sensor?

a)

0

b)

1

c)

Use a DIGITAL read to test and see

d)

Use an ANALOG read to test and see

12.

The heart will show when the flex sensor reads...

a)

Equal to 950

b)

Greater than 950

c)

Less than 950

13.

The heart will show when the flex sensor reads...

a)

Equal to 960

b)

Greater than 960

c)

Less than 960

14.

When programming to check for an input value, what is the FIRST block I need to put in the TRUE boolean space?

a)
b)
c)
15.

When I create a variable to remember a sensor reading, what do I set it to?

a)
b)

0

c)

1

d)

1023