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