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