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