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