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.🔍 Which is the odd one out? (a) a speaker (b) a light sensor (c) a buzzer (d) a water pump
- 2.True or false: “HIGH or LOW only” is a digital signal. (a) False (b) True
- 3.📶 A pin that reads a push button is set as … (a) a resistor (b) a battery (c) an input (d) an output
- 4.Which of these is an input? (a) a servo motor (b) a push button (c) a water pump (d) a motor
- 5.Which of these is an input? (a) a sound sensor (b) a motor (c) a small display (d) a servo motor
-
6.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 8 HIGH
set pin 8 LOW
set pin 8 HIGH
set pin 8 LOW
set pin 7 HIGH
Is the LED ON or OFF at the end? (a) ON (b) OFF -
7.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 8 LOW
set pin 7 LOW
set pin 7 LOW
set pin 8 LOW
set pin 7 LOW
Is the LED ON or OFF at the end? (a) ON (b) OFF - 8.Which of these is an input? (a) a motion sensor (b) a motor (c) a servo motor (d) a water pump
-
9.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 8 HIGH
set pin 7 LOW
set pin 8 LOW
set pin 8 HIGH
Is the LED ON or OFF at the end? (a) ON (b) OFF - 10.📶 How many states can a digital pin have? (a) ten (b) a thousand (c) two (d) one
- 11.📶 Digital or analog: a tilt switch: on or off? (a) digital (b) analog
- 12.🔌 Is a water pump an input or an output for a microcontroller? (a) input (b) output
- 13.Which of these is an input? (a) a keypad (b) a servo motor (c) an LED (d) a buzzer
-
14.💡 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) ON (b) OFF -
15.💡 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
Is the LED ON or OFF at the end? (a) OFF (b) ON - 16.Which of these is an output? (a) a turning knob (b) a push button (c) a sound sensor (d) a water pump
-
17.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
set pin 7 LOW
set pin 7 HIGH
set pin 8 LOW
set pin 7 HIGH
Is the LED ON or OFF at the end? (a) ON (b) OFF - 18.True or false: “many values in a range” is a digital signal. (a) True (b) False
- 19.🔌 Is a keypad an input or an output for a microcontroller? (a) input (b) output
- 20.Which of these is an output? (a) a push button (b) a sound sensor (c) a motor (d) a light sensor
- 21.📶 Digital or analog: HIGH or LOW only? (a) digital (b) analog
-
22.💡 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
Is the LED ON or OFF at the end? (a) ON (b) OFF - 23.🔍 Which is the odd one out? (a) a motion sensor (b) a temperature sensor (c) an LED (d) a sound sensor
- 24.🔌 Is a small display an input or an output for a microcontroller? (a) output (b) input
- 25.🔌 Is a sound sensor an input or an output for a microcontroller? (a) input (b) output
- 26.🔌 Is a temperature sensor an input or an output for a microcontroller? (a) output (b) input
-
27.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 7 HIGH
set pin 7 LOW
Is the LED ON or OFF at the end? (a) OFF (b) ON -
28.💡 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) ON (b) OFF -
29.💡 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 HIGH
set pin 8 LOW
Is the LED ON or OFF at the end? (a) ON (b) OFF - 30.Which of these is an output? (a) a keypad (b) a sound sensor (c) a servo motor (d) a motion sensor
-
31.💡 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
Is the LED ON or OFF at the end? (a) OFF (b) ON -
32.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 8 LOW
set pin 7 HIGH
set pin 8 HIGH
Is the LED ON or OFF at the end? (a) ON (b) OFF - 33.True or false: “HIGH or LOW only” is an analog signal. (a) True (b) False
-
34.💡 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 LOW
Is the LED ON or OFF at the end? (a) ON (b) OFF - 35.📶 On a 5 V board, a pin set HIGH gives about … (a) 230 V (b) 5 V (c) 0 V (d) 50 V
- 36.📶 A pin set LOW gives about … (a) 1.5 V (b) 0 V (c) 9 V (d) 5 V
-
37.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
set pin 8 HIGH
set pin 7 LOW
set pin 7 LOW
set pin 8 HIGH
set pin 7 LOW
Is the LED ON or OFF at the end? (a) ON (b) OFF - 38.📶 Digital or analog: a button: pressed or not? (a) digital (b) analog
- 39.Which of these is an output? (a) a sound sensor (b) a motion sensor (c) a speaker (d) a light sensor
- 40.Which of these is an output? (a) a motion sensor (b) a small display (c) a turning knob (d) a light sensor
Answer key
- a light sensor
- True
- an input
- a push button
- a sound sensor
- ON
- OFF
- a motion sensor
- OFF
- two
- digital
- output
- a keypad
- OFF
- ON
- a water pump
- OFF
- False
- input
- a motor
- digital
- OFF
- an LED
- output
- input
- input
- OFF
- ON
- OFF
- a servo motor
- OFF
- ON
- False
- ON
- 5 V
- 0 V
- ON
- digital
- a speaker
- a small display
Free electronics lessons, practice and worksheets at talentjr.in/electronics-for-kids