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