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