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