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