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