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