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