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