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