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