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