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