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