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