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