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