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