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