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