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