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