Electronics Worksheet: Input and Output Pins
Remember (Read in, drive out): Inputs: buttons, knobs, sensors. Outputs: LEDs, buzzers, motors, displays. Digital: HIGH (≈ 5 V) or LOW (0 V) only. Analog: any value in a range. Trace the program: only the LED’s own pin matters, and its last command decides ON or OFF.
NameDateTime takenScore ___ / 40
- 1.📶 Digital or analog: a knob turned part way? (a) digital (b) analog
-
2.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 7 LOW
set pin 8 HIGH
set pin 8 HIGH
set pin 8 HIGH
Is the LED ON or OFF at the end? (a) ON (b) OFF - 3.🔌 Is a push button an input or an output for a microcontroller? (a) output (b) input
- 4.🔌 Is a water pump an input or an output for a microcontroller? (a) output (b) input
- 5.True or false: “the room temperature” is an analog signal. (a) False (b) True
- 6.True or false: “a tilt switch: on or off” is a digital signal. (a) True (b) False
- 7.📶 How many states can a digital pin have? (a) two (b) a thousand (c) ten (d) one
- 8.📶 On a 5 V board, a pin set HIGH gives about … (a) 50 V (b) 0 V (c) 5 V (d) 230 V
-
9.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 7 LOW
set pin 8 LOW
set pin 8 HIGH
set pin 7 LOW
set pin 8 LOW
Is the LED ON or OFF at the end? (a) ON (b) OFF - 10.🔌 Is a sound sensor an input or an output for a microcontroller? (a) input (b) output
-
11.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
set pin 7 LOW
set pin 7 LOW
set pin 7 HIGH
set pin 7 LOW
Is the LED ON or OFF at the end? (a) OFF (b) ON - 12.📶 A pin set LOW gives about … (a) 5 V (b) 0 V (c) 9 V (d) 1.5 V
- 13.True or false: “the room temperature” is a digital signal. (a) True (b) False
-
14.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 7 HIGH
set pin 8 LOW
Is the LED ON or OFF at the end? (a) OFF (b) ON -
15.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 7 LOW
set pin 7 HIGH
set pin 8 HIGH
set pin 8 HIGH
Is the LED ON or OFF at the end? (a) OFF (b) ON - 16.🔌 Is a speaker an input or an output for a microcontroller? (a) output (b) input
-
17.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
set pin 7 HIGH
set pin 8 HIGH
set pin 8 LOW
set pin 8 HIGH
set pin 7 LOW
Is the LED ON or OFF at the end? (a) OFF (b) ON - 18.Which of these is an output? (a) a turning knob (b) a motion sensor (c) a motor (d) a light sensor
-
19.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
set pin 7 HIGH
set pin 7 LOW
set pin 8 HIGH
set pin 8 HIGH
set pin 7 HIGH
Is the LED ON or OFF at the end? (a) OFF (b) ON -
20.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
set pin 8 LOW
set pin 7 HIGH
set pin 8 LOW
set pin 8 HIGH
set pin 8 LOW
Is the LED ON or OFF at the end? (a) OFF (b) ON - 21.Which of these is an output? (a) a temperature sensor (b) a push button (c) an LED (d) a sound sensor
- 22.True or false: “how loud a sound is” is a digital signal. (a) False (b) True
- 23.🔌 Is a motion sensor an input or an output for a microcontroller? (a) output (b) input
- 24.🔌 Is a buzzer an input or an output for a microcontroller? (a) input (b) output
- 25.🔍 Which is the odd one out? (a) a buzzer (b) a push button (c) a small display (d) a motor
- 26.🔍 Which is the odd one out? (a) an LED (b) a light sensor (c) a motion sensor (d) a push button
- 27.True or false: “HIGH or LOW only” is a digital signal. (a) True (b) False
-
28.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
set pin 7 HIGH
set pin 7 HIGH
Is the LED ON or OFF at the end? (a) OFF (b) ON -
29.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 7 LOW
set pin 7 LOW
set pin 7 LOW
Is the LED ON or OFF at the end? (a) OFF (b) ON - 30.📶 Digital or analog: the room temperature? (a) analog (b) digital
- 31.Which of these is an input? (a) a motor (b) a water pump (c) an LED (d) a light sensor
- 32.Which of these is an input? (a) a push button (b) a water pump (c) a motor (d) a buzzer
- 33.📶 Digital or analog: a tilt switch: on or off? (a) digital (b) analog
-
34.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 8 LOW
set pin 8 HIGH
set pin 7 LOW
set pin 7 HIGH
set pin 8 HIGH
Is the LED ON or OFF at the end? (a) OFF (b) ON - 35.🔌 Is a light sensor an input or an output for a microcontroller? (a) output (b) input
- 36.🔌 Is a temperature sensor an input or an output for a microcontroller? (a) output (b) input
- 37.📶 Digital or analog: HIGH or LOW only? (a) digital (b) analog
-
38.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 8 LOW
set pin 8 HIGH
Is the LED ON or OFF at the end? (a) OFF (b) ON - 39.📶 A pin that reads a push button is set as … (a) an input (b) a resistor (c) a battery (d) an output
- 40.📶 Digital or analog: many values in a range? (a) analog (b) digital
Answer key
- analog
- OFF
- input
- output
- True
- True
- two
- 5 V
- OFF
- input
- OFF
- 0 V
- False
- ON
- ON
- output
- ON
- a motor
- ON
- OFF
- an LED
- False
- input
- output
- a push button
- an LED
- True
- OFF
- OFF
- analog
- a light sensor
- a push button
- digital
- ON
- input
- input
- digital
- OFF
- an input
- analog
Free electronics lessons, practice and worksheets at talentjr.in/electronics-for-kids