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