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