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