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