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