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