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