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