Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

GPIO Pins Review

Total questions: 15

Worksheet time: 10mins

Name
Class
Date
1.

Select the pins that provide 5V of power (You may select multiple answers)

a)

Pin 1

b)

Pin 2

c)

Pin 3

d)

Pin 4

e)

Pin 6

2.

Select the pins that provide 3V of power (You may select multiple answers)

a)

Pin 1

b)

Pin 2

c)

Pin 4

d)

Pin 6

e)

Pin 17

3.

Which of the following pins can be used for your Negative Wire? (You may select multiple answers)

a)

Pin 2

b)

Pin 4

c)

Pin 6

d)

Pin 9

e)

Pin 14

4.

Which of the following pins can coded to send power with a GPIO.output() command? (You may select multiple answers)

a)

Pin 2

b)

Pin 6

c)

Pin 7

d)

Pin 13

e)

Pin 17

5.

If you wanted to wire 3 LEDs to 3 different GPIO pins that could be coded to blink, which 3 GPIO pins could you use? (You may select multiple answers)

a)

Pin 6

b)

Pin 7

c)

Pin 11

d)

Pin 13

e)

Pin 14

6.

Select the code that would light up an LED for 2 seconds.

a)

LED.output(7,True)

time(2)

LED.output(7,False)

b)

GPIO.output(2, True)

time.sleep(7)

GPIO.output(2, False)

c)

GPIO.output(7,True)

time.sleep(2)

GPIO.output(7,False)

d)

GPIO.output(7,On)

wait(2)

GPIO.output(7,Off)

7.

Study the breadboard.

What, if anything, is wrong with the circuit?

a)

The wires are not properly aligned (move them one spot over)

b)

There is too much power going to the LED (no resistance)

c)

There is no power source

d)

The wires do not complete the positive/negative circuit

8.

Study the breadboard.

What, if anything, is wrong with the circuit?

a)

The wires are not properly aligned (move them one spot over)

b)

There is too much power going to the LED (no resistance)

c)

There is no power source

d)

The wires do not complete the positive/negative circuit

9.

Study the breadboard.

What, if anything, is wrong with the circuit?

a)

The positive and negative leg of the LED are in the same row.

b)

The wires do not complete the positive/negative circuit

c)

The wires are not properly aligned (move them one spot over)

d)

Nothing is wrong with the circuit

10.

Study the breadboard.

What, if anything, is wrong with the circuit?

a)

The wires are not properly aligned (move them one spot over)

b)

There is too much power going to the LED (no resistance)

c)

There is no power source

d)

Nothing is wrong. The LED will light up.

11.

You will need to add two wires to complete the circuit. Select the answers that would complete the circuit. (You may select multiple choices)

a)

Connect row 14 to the negative rail

b)

Connect row 14 to the positive rail

c)

Connect row 23 to the negative rail

d)

Connect row 23 to the positive rail

12.

What if anything is wrong with the circuit in the attached image?

a)

The positive and negative wire need to be switched.

b)

The button cannot have positive AND negative going to it.

c)

The LED needs to be flipped.

d)

Nothing is wrong with the circuit

13.

What if anything is wrong with the circuit in the attached image?

a)

The positive and negative wire need to be switched.

b)

The resistor has a "dead end" path

c)

The LED needs to be flipped.

d)

Nothing is wrong with the circuit

14.

What is the purpose of using a resistor in a circuit with an LED and GPIO pins?

a)

To provide a path for ground.

b)

To increase the brightness of the LED.

c)

To switch the LED on and off automatically.

d)

To limit the current and protect the LED.

15.

The GPIO pins numbered 39 and 40 start at which end of the Raspberry Pi?

a)

The small silver raspberry pi symbol

b)

The USB ports