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