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