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