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