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