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